On 11/20/08 2:13 PM, "Andrew Beekhof" <[EMAIL PROTECTED]> wrote:
> I got similar results irregardless if I used the normal heartbeat/pacemaker,
> or if I have heartbeat-debug and pacemaker-debug installed as well.
> Here's info with both debug packages installed: (cib.xml is the same as
> before, with the same cib.xml.sig)
> Thanks!
>
Sorry, I'm an idiot and got the command line wrong.
> [EMAIL PROTECTED] log]# gdb /usr/lib/heartbeat/crmd
> /var/lib/heartbeat/cores/hacluster/core.8320
I should have said:
gdb /usr/lib/heartbeat/cib /var/lib/heartbeat/cores/hacluster/core.8320
Can you rerun please?
Sure: and this time, lo and behold ;)
[EMAIL PROTECTED] ~]# gdb /usr/lib/heartbeat/cib
/var/lib/heartbeat/cores/hacluster/core.8320
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
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-redhat-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".
warning: Can't read pathname for load map: Input/output error.
warning: .dynamic section for "/usr/lib/libcrmcommon.so.2" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libcib.so.1" is not at the expected
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libcrmcluster.so.1" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libhbclient.so.1" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libccmclient.so.1" is not at the
expected address
warning: difference appears to be caused by prelink, adjusting expectations
Reading symbols from /usr/lib/libcrmcommon.so.2...Reading symbols from
/usr/lib/debug/usr/lib/libcrmcommon.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libcrmcommon.so.2
Reading symbols from /usr/lib/libcib.so.1...Reading symbols from
/usr/lib/debug/usr/lib/libcib.so.1.0.1.debug...done.
done.
Loaded symbols for /usr/lib/libcib.so.1
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libcrmcluster.so.1...Reading symbols from
/usr/lib/debug/usr/lib/libcrmcluster.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libcrmcluster.so.1
Reading symbols from /usr/lib/libhbclient.so.1...Reading symbols from
/usr/lib/debug/usr/lib/libhbclient.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libhbclient.so.1
Reading symbols from /usr/lib/libccmclient.so.1...Reading symbols from
/usr/lib/debug/usr/lib/libccmclient.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libccmclient.so.1
Reading symbols from /usr/lib/openais/libSaMsg.so.2...done.
Loaded symbols for /usr/lib/openais/libSaMsg.so.2
Reading symbols from /usr/lib/libgnutls.so.13...done.
Loaded symbols for /usr/lib/libgnutls.so.13
Reading symbols from /usr/lib/libbz2.so.1...done.
Loaded symbols for /usr/lib/libbz2.so.1
Reading symbols from /usr/lib/libplumb.so.2...Reading symbols from
/usr/lib/debug/usr/lib/libplumb.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libplumb.so.2
Reading symbols from /usr/lib/libpils.so.2...Reading symbols from
/usr/lib/debug/usr/lib/libpils.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib/libpils.so.2
Reading symbols from /lib/libuuid.so.1...done.
Loaded symbols for /lib/libuuid.so.1
Reading symbols from /usr/lib/libxslt.so.1...done.
Loaded symbols for /usr/lib/libxslt.so.1
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libglib-2.0.so.0...done.
Loaded symbols for /lib/libglib-2.0.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libaudit.so.0...done.
Loaded symbols for /lib/libaudit.so.0
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Core was generated by `/usr/lib/heartbeat/cib'.
Program terminated with signal 11, Segmentation fault.
#0 cl_get_value (msg=0x848e818, name=0xf83527 "__name__", vallen=0x0,
type=0xbfd57be4) at cl_msg.c:1076
1076 const char *local_name = msg->names[j];
(gdb) where
#0 cl_get_value (msg=0x848e818, name=0xf83527 "__name__", vallen=0x0,
type=0xbfd57be4) at cl_msg.c:1076
#1 0x00c18c49 in cl_get_string (msg=0x848e818, name=0xf83527 "__name__") at
cl_msg.c:1180
#2 0x00f78df4 in convert_ha_message (parent=0x8482cc0, msg=0x848e818,
field=0x8482aa0 "cib_calldata") at xml.c:1006
#3 0x00f79094 in convert_ha_message (parent=0x8482cc0, msg=0x8483068,
field=0x805808b "cib_ha_peer_callback") at xml.c:919
#4 0x08051c35 in cib_ha_peer_callback (msg=0x8483068, private_data=0x848a1c0)
at callbacks.c:1061
#5 0x00890c7c in read_msg_w_callbacks (llc=0x848a1c0, blocking=0) at
client_lib.c:2415
#6 0x00890ed4 in rcvmsg (llc=0x848a1c0, blocking=0) at client_lib.c:2458
#7 0x0014feae in ha_msg_dispatch (cluster_conn=0x848a1c0, user_data=0x848a1c0)
at heartbeat.c:126
#8 0x0088d819 in G_llc_dispatch_int (source=0x849cdd8, callback=0,
user_data=0x0) at client_lib.c:3393
#9 0x006a7272 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#10 0x006aa24f in g_main_context_check () from /lib/libglib-2.0.so.0
#11 0x006aa5f9 in g_main_loop_run () from /lib/libglib-2.0.so.0
#12 0x08053391 in cib_init () at main.c:515
#13 0x08053ad1 in main (argc=1, argv=0xbfd57fc4) at main.c:218
#14 0x004e4dec in __libc_start_main () from /lib/libc.so.6
#15 0x0804acb1 in _start ()
(gdb)
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems