core error intermitent....

sasensio

14-04-2005 10:35:34

Netmrg on solaris 5.8

This is the core debug

gdb /var/core/ core.netmrg-gatherer.namehost.0.0.1113417067

Core was generated by `/usr/local/bin/netmrg-gatherer'.
Program terminated with signal 10, Bus error.

Anyone can help me?

Thanks

silfreed

14-04-2005 10:48:24

Since you have a core file and seem somewhat familiar w/ gdb, can you run [b7574520631]bt[/b7574520631] to get a backtrace for us and post the results?
Any other information about your platform that you might think is helpful to us in debugging this, like architecture (sparc, 64-bit?) would be good, too.

-Doug

sasensio

14-04-2005 10:53:07

Copyright 2003 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 "sparc-sun-solaris2.8"...
Core was generated by `/usr/local/bin/netmrg-gatherer'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/local/lib/libnetsnmp.so.5...done.
Loaded symbols for /usr/local/lib/libnetsnmp.so.5
Reading symbols from /usr/local/lib/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/local/lib/libcrypto.so.0.9.7
Reading symbols from /usr/local/lib/libmysqlclient.so.12...done.
Loaded symbols for /usr/local/lib/libmysqlclient.so.12
Reading symbols from /usr/local/lib/libxml2.so.2...done.
Loaded symbols for /usr/local/lib/libxml2.so.2
Reading symbols from /usr/local/lib/libstdc++.so.5...done.
Loaded symbols for /usr/local/lib/libstdc++.so.5
Reading symbols from /usr/lib/libpthread.so.1...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/libz.so...done.
Loaded symbols for /usr/lib/libz.so
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libkstat.so.1...done.
Loaded symbols for /usr/lib/libkstat.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Loaded symbols for /usr/lib/libcrypt_i.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/local/lib/libz.so.1...done.
Loaded symbols for /usr/local/lib/libz.so.1
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
#0 0xfeab4420 in _destroy_tsd () from /usr/lib/libthread.so.1
(gdb) bt
#0 0xfeab4420 in _destroy_tsd () from /usr/lib/libthread.so.1
#1 0xfeab222c in _thrp_exit () from /usr/lib/libthread.so.1
#2 0xfeab6558 in _t_cancel () from /usr/lib/libthread.so.1

sasensio

14-04-2005 11:02:28

Sorry

This is a Sun-Fire-280R UltraSparc III

silfreed

14-04-2005 11:10:28

Well, I was going to guess buggy thread library, and it looks like this is the case from your backtrace.

Any way you can figure out what libstdc++ you have? We require version 3.2 or higher.
If you're not sure what libstdc++ you have, can you post your GCC version (libstdc++ is bundled w/ gcc).

-Doug

sasensio

14-04-2005 11:12:40

Versions

gcc version 3.3.2