Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 1995 23:24:58 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        rich@freebsd.org
Cc:        hackers@freebsd.org, phk@freebsd.org
Subject:   xload dumps core with new phkmalloc
Message-ID:  <199510120624.XAA01000@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
Hello.  I found that xload dumps core with "floating point exception"
with the latest phkmalloc (supped yesterday).  "MALLOC_OPTIONS=Z" will
fix it, so it's definitely xload's problem.

I changed the only "malloc" in the xload source to "calloc" but that
didn't help, so I guess the bug is in a more fundamental level.  This
is what gdb has to say:

===
Program received signal SIGFPE, Arithmetic exception.
0x8034655 in repaint_window ()
(gdb) bt
#0  0x8034655 in repaint_window ()
#1  0x8034284 in Redisplay ()
#2  0x807992b in SendExposureEvent ()
#3  0x80796f1 in CompressExposures ()
#4  0x807939d in XtDispatchEventToWidget ()
#5  0x8079df2 in L404 ()
#6  0x807a128 in L458 ()
#7  0x807a4b9 in XtAppMainLoop ()
#8  0x1f75 in main (argc=1, argv=0xefbfcf10) at xload.c:264
===

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510120624.XAA01000>