From: richard AT NOSPAMstardate DOT bc DOT ca (Richard Sanders) Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help--too many SIGSERV errors! Date: Wed, 19 Nov 1997 08:02:42 GMT Organization: Rapidnet Technologies Internet Lines: 26 Message-ID: <34729c1d.15287098@news.rapidnet.net> References: <34710E73 DOT 256EF09 AT itsnet DOT com> NNTP-Posting-Host: wlp18.rapidnet.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Mon, 17 Nov 1997 20:41:40 -0700, Dave Gileadi 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.