www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/04:16:40

From: qballlives AT aol DOT com (QBallLives)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: CTRL-C runs an infinite loop
Lines: 49
Message-ID: <1998051108072700.EAA24078@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Date: 11 May 1998 08:07:27 GMT
Organization: AOL http://www.aol.com
References: <3555B759 DOT ACA96D1 AT erols DOT com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>I'm having some strange behavior with DJGPP where when I hit Control-C
>to break out of my program, I get an infinite loop of the following,
>instead of being returned to the dos prompt.  Then I have to close the
>dos box thru Win95.  What would be causing this?  I wasn't having this
>problem before..
>
>---------
>fs: sel=00c7  base=00000000  limit=ffffffff
>gs: sel=00c7  base=00000000  limit=ffffffff
>ss: sel=00b7  base=83091000  limit=ffe43fff
>
>Call frame traceback EIPs:
>  0x0003ba43
>  0x0001240b
>Exiting due to signal SIGSEGV
>General Protection Fault at eip=0003ba43, error=00e4
>eax=0003ba38 ebx=0005e940 ecx=000b3004 edx=000b3004 esi=006ee004
>edi=00000008
>ebp=ffe0b842 esp=ffe0b834 program=E:\CPP\CARDS\BJ\BJ.EXE
>cs: sel=00af  base=83091000  limit=ffe43fff
>ds: sel=00b7  base=83091000  limit=ffe43fff
>es: sel=00b7  base=83091000  limit=ffe43fff
>fs: sel=00c7  base=00000000  limit=ffffffff
>gs: sel=00c7  base=00000000  limit=ffffffff
>ss: sel=00b7  base=83091000  limit=ffe43fff
>
>Call frame traceback EIPs:
>  0x0003ba43
>  0x0001240b
>Exiting due to signal SIGSEGV
>General Protection Fault at eip=0003ba43, error=00e4
>eax=0003ba38 ebx=0005e940 ecx=000b3004 edx=000b3004 esi=006ee004
>edi=00000008
>ebp=ffe0b6e8 esp=ffe0b6da program
>-

Though I'm still not a good "dump reader", well.. maybe newspapers.... I'm
making a couple of assumptions...

#1 you enable nearptrs... which is disabling memory protection...

#2 your program is writing to memory it isn't really supposed to... causing
your system to flake out....


Jim the loiterer
aloiterer AT juno DOT com
http://members.xoom.com/JimMcCue/index.htm
(Jim the loiterer's PC games, programming, & stuff...)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019