This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb is coring on me, "bus error"
- From: "Grant Schoep" <gschoep at digitalglobe dot com>
- To: <gdb at sources dot redhat dot com>
- Date: Fri, 12 Mar 2004 16:56:59 -0700
- Subject: gdb is coring on me, "bus error"
My Setup...
-Solaris 9
-gdb version 6.0(was prebuilt version from http://www.sunfreeware.com/)
The "gdb -v" output.
GNU gdb 6.0
...snip...
This GDB was configured as "sparc-sun-solaris2.9".
Ok, gdb seems to debug a number of apps fine. I have one app that I am
just starting to develop and whenever I run the apps under gdb, gdb
itself core dumps with a bus error...
This particular app is rather funky with threads and socket use. Is
there any known issues?
Oh... I also believe that some of the libaries that I need to link to
were built by the Sun Pro compier. Are these "known problems?"
I've built my own version of gdb, so I could debug it a bit more(still
cores in same way). Stack trace from it is as follows.
(gdb) where
#0 0xff0428e4 in t_splay () from /usr/lib/libc.so.1
#1 0xff042750 in t_delete () from /usr/lib/libc.so.1
#2 0xff0423a0 in realfree () from /usr/lib/libc.so.1
#3 0xff042b8c in _free_unlocked () from /usr/lib/libc.so.1
Any ideas on what I could look into or what I am doing wrong?
-grant