www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/12:00:36

From: kochenbu AT no DOT spam DOT de (Andreas Kochenburger)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: CTRL-C runs an infinite loop
Date: Mon, 11 May 1998 14:58:36 GMT
Organization: Another Netscape News Server User
Lines: 60
Message-ID: <3557106c.11293653@news>
References: <3555B759 DOT ACA96D1 AT erols DOT com>
NNTP-Posting-Host: kh17046d.r30x.khe.scn.de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Possible cause:
Due to a queer design decision by MS the SIGINT interrupt is not
supported for signal() under Win32, nevertheless you can cause havoc
with Ctrl-C. Start your machine in DOS mode and check your program
again.

On Sun, 10 May 1998 10:19:05 -0400, Dan Chak <chakster AT erols DOT com>
wrote:

>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
>--------------------
>
>Thanks, 
>Dan                                                    /'^'\
>                                                      ( o o )
>--------------------------------------------------oOOO--(_)--OOOo--
>
>  Daniel Chak
>  chakster AT geocities DOT com
>  http://members.xoom.com/chakster                 .oooO
>                                                   (   )   Oooo.
>----------------------------------------------------\ (----(   )---
>                                                     \_)    ) /
>                                                           (_/

++ If you prefer to reply by email, please replace
++ in the address: khe <- no, scn <- spam

- Raw text -


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