From: Vic Newsgroups: comp.os.msdos.djgpp Subject: Re: Possible bug? Date: Sat, 07 Jun 1997 10:20:04 -0400 Organization: Communications Accesibles Montreal Lines: 54 Message-ID: <33996E14.6A45@cam.org> References: Reply-To: tudor AT cam DOT org NNTP-Posting-Host: dynppp-235.hip.cam.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7EC386B62B" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk This is a multi-part message in MIME format. --------------7EC386B62B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Philip Ibis wrote: > It might be due to the fact that I'm using v2.00, if so, then, oops. I'm using 2.01 . > Anyways... The following program gives my system a wedgie. On mine it crashes. Tracebacks attached to the mail. > ---- snip snip --- > #include > #include > int main(void) > { > double n; > memset(&n,0xFF,sizeof(double)); /* contrived, sure */ > printf("%f\n",n); > } -- http://www.cam.org/~tudor "I INSERTED THE DISK INTO THE COMPUTER, AND TURNED IT ON. LET THERE BE DOS,I SAID! AND THERE WAS DOS." -- Bill Gates, 1977 --------------7EC386B62B Content-Type: text/plain; charset=us-ascii; name="Err" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Err" Exiting due to signal SIGFPE Floating Point exception at eip=00007316 eax=00000000 ebx=00000021 ecx=00000000 edx=00000009 esi=00056030 edi=000534f0 ebp=0005338c esp=00053380 program=D:\DJGPP\BIN\REDIR.EXE cs: sel=00a7 base=825c2000 limit=0005ffff ds: sel=00af base=825c2000 limit=0005ffff es: sel=00b7 base=825c2000 limit=0005ffff fs: sel=0087 base=0002a3b0 limit=0000ffff gs: sel=00bf base=00000000 limit=ffffffff ss: sel=00af base=825c2000 limit=0005ffff Call frame traceback EIPs: 0x00007316 0x00009d32 0x0000a760 0x0000b192 0x00007176 0x00002dcb 0x00002048 0x00002a32 --------------7EC386B62B--