*BSD News Article 26801


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.clark.edu!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!not-for-mail
From: swanton@puffin.usmcs.maine.edu (George P. Swanton)
Newsgroups: comp.os.386bsd.questions
Subject: Exceptional Floating Point Exception
Date: 1 Feb 1994 13:08:31 -0600
Organization: UTexas Mail-to-News Gateway
Lines: 33
Sender: daemon@cs.utexas.edu
Message-ID: <9402011908.AA06857@puffin.usmcs.maine.edu>
NNTP-Posting-Host: cs.utexas.edu

Check this out!

:: gdb testme
Reading symbol data from /usr/swanton/x/testme...done.
(gdb) r
Starting program: /usr/swanton/x/testme 

Program received signal 8, Floating point exception
		           ^^^^^^^^^^^^^^^^^^^^^^^^
0x1e45a in sbrk ()
           ^^^^<----------- In sbrk!
(gdb) bt
#0  0x1e45a in sbrk ()
#1  0x1e279 in malloc ()
#2  0x1e20f in malloc ()
#3  0x1192 in scanline:get_edge_table_entry (...)
#4  0x1080 in add_polygon_to_edge_table (...)
#5  0x38e in xform_and_project_object (...)
#6  0x237b in main (...)

Now upstream from this is some floating point code, but it all runs fine 
on Decstations running either Ultrix or OSF/1 so I'm a *little perplexed*
about what's going on.

Could someone offer a suggestion as to what's up/where to look/etc?

Thanks a million
gps
swanton@moose.usmcs.maine.edu

BTW: this happens on both my NetBSD-0.8 and FreeBSD-1.0R systems (486dx33's)