From owner-freebsd-hackers Wed Oct 11 23:25:07 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA10637 for hackers-outgoing; Wed, 11 Oct 1995 23:25:07 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA10632 ; Wed, 11 Oct 1995 23:25:04 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id XAA01000; Wed, 11 Oct 1995 23:24:58 -0700 Date: Wed, 11 Oct 1995 23:24:58 -0700 Message-Id: <199510120624.XAA01000@silvia.HIP.Berkeley.EDU> To: rich@freebsd.org CC: hackers@freebsd.org, phk@freebsd.org Subject: xload dumps core with new phkmalloc From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-hackers@freebsd.org Precedence: bulk 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