Date: Sun, 15 Dec 2002 00:06:06 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <4098-Sun15Dec2002000605+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3DFB46EA.6D583E8E@yahoo.com> (message from CBFalconer on Sat, 14 Dec 2002 15:09:24 GMT) Subject: Re: problem with malloc and free References: <3DFB46EA DOT 6D583E8E AT yahoo DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: CBFalconer > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 14 Dec 2002 15:09:24 GMT > > > > C:\Programme\djgpp\projects>a > ^^^^^^^^^ > > Exiting due to signal SIGSEGV > > General Protection Fault at eip=00003180 > > eax=00000000 ebx=000084f9 ecx=00000000 edx=76202000 esi=00000054 edi=000656c4 > > ebp=000e5668 esp=000e5630 program=C:\PROGRA~1\DJGPP\PROJECTS\A.EXE > ^^^^^^^^ > What is this? Indication of some filename setup mixup, or > installation under the ridiculous Windoze "\Program files\" > directory, etc. When a DOS program is invoked on Windows, Windows replaces the long name of every directory in its path with the short 8+3 alias, and that's what the program gets in its argv[0]. The DJGPP crash message uses argv[0] to print the program's name, thus the horribly ugly file name above. (We could convert that to the original long name, but the code to do that is non-trivial, and thus it was deemed unwise to run it when the program has crashed and its core data structures might be corrupted.)