Mail Archives: djgpp/1997/11/19/11:47:30
On Mon, 17 Nov 1997 20:41:40 -0700, Dave Gileadi <cgileadi AT itsnet DOT com>
wrote:
---- snip ----
->Now the problem: when I try running through the list in my
->s-buffer's code (just a loop that will eventually draw it all to the
->screen but for now just looks at the structures in the list), it
->jumps out at me with yet another...yep, you guessed it: SIGSERV
->error. It hits the error when I try to access (by pointer) one of
->the structures in the list given me by the aforementioned generator.
->Interesting fact: every once in a while it will actually run the
->code without error. Go figure. I've added elaborate error checking
->for the malloc, the linked tree, etc, so I know they are doing their
->job right.
--- snip ---
Dave
Try running RHIDE from DOS so that you use the CWSDPMI. Your program
will crash at the point that the exception occours, look at your call
stack for the function that caused the error. In that function you
likly find an un-initilised/wrongly set pointer or that you writing
past the memory allocated to a pointer/array.
- Raw text -