home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!Elrador
- From: Elrador@cup.portal.com (Charles E Massey)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Bug in cback? (SAS C 6.1)
- Message-ID: <72801@cup.portal.com>
- Date: Sat, 2 Jan 93 18:05:33 PST
- Organization: The Portal System (TM)
- Distribution: world
- Lines: 22
-
- Hello,
-
- I have a strange problem:
-
- I wrote a new program and decided I wanted it to run as a background
- process, so I compiled it under SAS C 6.1 as
- >sc myprog startup=cback nostandardio opt link
-
- It works just fine under AmigaDOS 2.04, but it crashes all the time
- under 1.3 with a guru number of 00000004 (illegal instruction). To see
- if perhaps this code was only supposed to work under 2.0, I
- compiled it regularly with a standard startup and it WORKED JUST FINE
- under 1.3.
-
- So I've concluded that the problem must be the cback startup code that
- crashes the program under ados 1.3.
-
- Has anyone else ever had these problems? If so and you know what the
- problem is, can you share it with me.
-
- Thanks,
- charles (elrador@cup.portal.com)
-