home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5966 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: nic.wi.leidenuniv.nl!jvermeul
  2. From: jvermeul@wi.leidenuniv.nl (J.T.Vermeulen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: SAS/C 6.56 bug?
  5. Date: 22 Mar 1996 17:19:55 GMT
  6. Organization: Mathematics & Computer Science, Leiden University, Leiden, the Netherlands
  7. Message-ID: <4iunfr$laf@nic.wi.leidenuniv.nl>
  8. References: <DA0E86A1@infoservice.it>
  9. NNTP-Posting-Host: ind302gc.wi.leidenuniv.nl
  10.  
  11. In article <DA0E86A1@infoservice.it>,
  12. Paolo Menichetti <ik34p2m@infoservice.it> wrote:
  13. >Hi,
  14. >
  15. >I  think that SAS/C compiler have a bug in the SC command.  I've installed
  16. >VMM  and  when  I try to compile with ERRORCONSOLE active (I use KingCon),
  17. >the SC program run in stack overflow (StackMon show 1.6MB of stack used!).
  18. >When  I  compile  with  NOERRORCONSOLE, it works fine.  I run the compiler
  19. >with the Build icon from Workbench.
  20. >
  21. >Solutions?
  22.  
  23. No solution because there is no problem.
  24.  
  25. SAS/C probably uses stack extension internally; if there is not enough
  26. stack it does a StackSwap() and StackMon cannot track this.  It just
  27. compares the stack pointer to the process stack bottom, not to the current
  28. stack.  Of course the difference between the original location of the
  29. process stack and the newly allocated stack can be just about anything,
  30. so StackMon reports garbage.
  31.  
  32. Doug, am I right?
  33.  
  34.  
  35. >Serialmente BY(T)E!  Paolo.Menichetti@infoservice.it  2:332/118.13@fidonet
  36. >Paolo Menichetti     menichetti@nikita.nervous.com    39:102/201.13@amiganet
  37.  
  38. Jeroen
  39.  
  40. --
  41. ============================================================================
  42. #  Jeroen T. Vermeulen   \"How are we doing kid?"/   Yes, we use Amigas.   #
  43. #---  jtv@xs4all.nl    ---\"Oh, same as always."/--         ...          --#
  44. #jvermeul@wi.leidenuniv.nl \ "That bad, huh?"  /  Got a problem with that? #
  45.