From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Some error messages when using dialog... Organization: Pin Eight Software Message-ID: References: <7vuud6$7jg$1 AT baker DOT cc DOT tut DOT fi> X-Newsreader: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 44 X-Trace: +rnM+lBoO/f6F+9ODsAiqLDn7IzKn0JgMtu+OVyebFLc0tDnR9i+8VceO5OCmyJ7TaJ6MoyNAIHN!+Q9yoQxOOvvZooRASeitn3ojzL6XQY4Az/aB0xWkPKITNiUArz32theoUmsRnQcJ X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 05 Nov 1999 18:10:52 GMT Distribution: world Date: Fri, 05 Nov 1999 18:10:52 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 5 Nov 1999 15:51:02 GMT, Forsberg Sakari wrote: > Could following error information be a sign that > my program uses char-arrays or some other > arrrays over their boundaries? > > I use GUI (DEGUI) and this happens > when I quit my program (it returns > to text mode normally because it prints > credits to it but then it freezes. > > when I press CTRL-C it print this: > > General Protection Fault at eip=00078c93 > eax=002350c0 ebx=00164758 ecx=00164870 edx=003079dc esi=00164870 edi=0008d430 > ebp=001527c0 esp=001527b4 program=C:\OPINNOT\LAAJAOHJ\DI\ILMARI.EXE > cs: sel=00af base=80ab2000 limit=001affff > ds: sel=00b7 base=80ab2000 limit=001affff > es: sel=00b7 base=80ab2000 limit=001affff > fs: sel=00c7 base=00000000 limit=0010ffff > gs: sel=00c7 base=00000000 limit=0010ffff > ss: sel=00b7 base=80ab2000 limit=001affff > App stack: [00152a0c..000d2a0c] Exceptn stack: [000d28ec..000d09ac] > > Call frame traceback EIPs: > 0x00078c93 _free+247 > 0x00074254 ___builtin_delete+16, line 0 of libgcc2.c > 0x0001461d __$_13dialog_object+25 > 0x00077f75 _exit+69 > 0x0007a20d _int86+2669 > 0x0007a6e9 ___djgpp_traceback_exit+145 > 0x0007a76a _raise+94 > 0x0002d331 __set_vga_virtual_width+309 > 0x0007a7b6 ___djgpp_exception_processor+26 > 0x001829d0 0x1829d0 > 0x00074254 ___builtin_delete+16, line 0 of libgcc2.c Top of stack is _free? Almost certainly you are writing past the end of a malloc'ed array. -- Damian Yerrick Visit my web site: http://yerricde.spedia.net/