Problem debugging multi threaded core on different host
807578Mar 14 2006 — edited Mar 15 2006Hi,
I'm trying to debug a multi threaded core produced on Solaris 9.
My debug host is Solaris 5.10 Generic_118822-19 sun4u sparc SUNW,Ultra-250. The debugger is 7.4. The application is built with 4.2 compiler.
I have the following libraries from the core host
/usr/lib
ld.so*
ld.so.1*
libc.so.1*
libld.so.2*
libld.so.3*
libm.so.1*
libnls.so.1*
libnsl.so.1*
librtld_db.so.1*
libsocket.so.1*
libthread.so.1*
libthread_db.so.1*
libw.so.1 -> ../../lib/libw.so.1*
lwp/
sparcv9/
and /usr/platform
I also have /lib/libw.so.1 from the core host. I've set up the relevant pathmaps, and enabled the core mismatch settings, however, when I debug the core, it all seems to load OK, but I get the error
WARNING!!
A loadobject was found with an unexpected checksum value.
See `help core mismatch' for details, and run `proc -map'
to see what checksum values were expected and found.
dbx: warning: Some symbolic information might be incorrect.
t@null (l@1) terminated by signal SEGV (no mapping at the fault address)
proc -map shows most libs OK, but the following mismatches occur and "threads" says MT support is disabled , so I can only see the main thread.
0xff3a0000 /usr/lib/libdl.so.1
is being filtered by: /usr/lib/ld.so.1
0xfe880000 /usr/lib/libc.so.1
is being filtered by: /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
0xfe460000 /usr/lib/libmp.so.2
Warning: checksum in file(ad11) doesn't match image(5b71)
0xff050000 /usr/lib/libw.so.1
is being filtered by: libc.so.1
ld lib is loading OK, (0xff3b0000 /usr/lib/ld.so.1 [LM_ID_LDSO]).
Any idea why I can't see other threads? Although I can see lwps.
Antony