From: serpent2 AT ix DOT netcom DOT com (Kevin S.) Newsgroups: comp.os.msdos.djgpp Subject: Need help with a program. Date: Sun, 29 Mar 1998 07:27:01 GMT Organization: Netcom Lines: 22 Message-ID: <351df020.4727187@nntp.ix.netcom.com> NNTP-Posting-Host: prv-ri1-19.ix.netcom.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I was wondering if someone could help me with the following problem: I'm writing a program that reads a text file and builds a series of linked lists from the data within. So far I've used 4 different text files as test examples and 3 out of the 4 work fine. However, the 4th file, for reasons yet unknown, crashes the program. The main function calls three phase functions, each of which read the whole text file and do various things. Using RHIDE's internal debugger, I've discovered that the program stops dead at the end of the first phase, right at the return call to the main function. The error being reported is a SIGSEGV one, which I really don't understand anything about. The program isn't doing anything with the data, or the memory, or anything....all it's doing is returning to the main function, and it gives me a SIGSEGV error. Strangley, the program only works under QEMM 8.0's DPMI Server, and Windows 95's Dos prompt. When I try to use CWSDPMI, it doesn't work at all. (Which I find strange since I'm not using any DPMI related functions as far as I can tell.) "The AGT/AGATE Guy" Kevin Soucy (Serpent2 AT ix DOT netcom DOT com)