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