Subject: ldd dumps core
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 10/06/2007 13:04:37
Hi,

with -current build from sources this morning (~9:00 MESZ)
ldd dumps core /w floating exception, for example:

1002: ldd /bin/ls
Floating exception(core dumped)
 
gdb reveals imalloc as the culprit:

1003: gdb `which ldd` ldd.core 
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...(no debugging symbols found)

Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `ldd'.
Program terminated with signal 8, Arithmetic exception.
#0  0x08049e04 in imalloc ()
(gdb) 

Could this be "fallout" from jemalloc-integration?

Kurt