home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 18061 < prev    next >
Encoding:
Internet Message Format  |  1993-01-02  |  1.0 KB

  1. Path: sparky!uunet!portal!cup.portal.com!Elrador
  2. From: Elrador@cup.portal.com (Charles E Massey)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Bug in cback?  (SAS C 6.1)
  5. Message-ID: <72801@cup.portal.com>
  6. Date: Sat,  2 Jan 93 18:05:33 PST
  7. Organization: The Portal System (TM)
  8. Distribution: world
  9. Lines: 22
  10.  
  11. Hello,
  12.  
  13.   I have a strange problem:
  14.  
  15. I wrote a new program and decided I wanted it to run as a background
  16. process, so I compiled it under SAS C 6.1 as
  17. >sc myprog startup=cback nostandardio opt link
  18.  
  19. It works just fine under AmigaDOS 2.04, but it crashes all the time
  20. under 1.3 with a guru number of 00000004 (illegal instruction).  To see
  21. if perhaps this code was only supposed to work under 2.0, I
  22. compiled it regularly with a standard startup and it WORKED JUST FINE
  23. under 1.3.
  24.  
  25. So I've concluded that the problem must be the cback startup code that
  26. crashes the program under ados 1.3.
  27.  
  28. Has anyone else ever had these problems?  If so and you know what the
  29. problem is, can you share it with me.
  30.  
  31. Thanks,
  32. charles  (elrador@cup.portal.com)
  33.