home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15496 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.4 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!igor.rutgers.edu!remus.rutgers.edu!jjwright
  2. From: jjwright@remus.rutgers.edu (   Jay)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: HELP: THINK C: linked list
  5. Message-ID: <Sep.15.10.45.40.1992.23357@remus.rutgers.edu>
  6. Date: 15 Sep 92 14:45:41 GMT
  7. Organization: Rutgers Univ., New Brunswick, N.J.
  8. Lines: 25
  9.  
  10.  
  11. i am using think c 5.0 and have a slight problem.  I get a crash when
  12. i call a certain subroutine.  Even when i run the debugger i simply
  13. get a crash, a system freeze, no dialog box, no bomb.  every once in a
  14. while i get a "stack collision with heap" dialog box.  im looking for
  15. possible reasons for this.
  16.  
  17. i know this is very vague, but is this most likely a problem with what
  18. i am passing in, with the size of the variables (which arent many,
  19. mostly just structs and pointers to structs), with my #include
  20. statement which is a header file with eight #define's and several
  21. structs?  could it be a macintosh memory problem?  
  22.  
  23. it does seem to crash just when it is called, so i suspect it has
  24. something to do with either the immediate declarations in the
  25. subroutine, or its a memory problem with the main routine??  i am
  26. completely at a loss now.
  27.  
  28. i welcome ANY comments, no matter how irrelevant you may think they
  29. are.  or if you think you want more information about it, feel free to
  30. ask :)  i dont mind.  AND I THINK IM LOSING MY MIND THIS TIME.
  31.  
  32. jay
  33.  
  34. jjwright@remus.rutgers.edu
  35.