[Linux-ha-dev] Re: Re: [RFC] heartbeat-2.1.4
HIDEO YAMAUCHI
renayama19661014 at ybb.ne.jp
Wed Apr 16 19:19:52 MDT 2008
Hi,
>Can you try the following patch please?
>
>diff -r be12cb83cd2d crmd/lrm.c
>--- a/crmd/lrm.c Wed Apr 16 10:46:59 2008 +0200
>+++ b/crmd/lrm.c Wed Apr 16 15:02:16 2008 +0200
>@@ -1451,7 +1451,7 @@ stop_recurring_action_by_rsc(gpointer ke
>{
>lrm_rsc_t *rsc = user_data;
>struct recurring_op_s *op = (struct recurring_op_s*)value;
>-
>+ crm_info("op->rsc=%s (%p), rsc=%s (%p)", crm_str(op->rsc_id),
>op->rsc_id, crm_str(rsc->id), rsc->id);
>if(op->interval != 0 && safe_str_eq(op->rsc_id, rsc->id)) {
>cancel_op(rsc, key, op->call_id, FALSE);
>}
I attached the log of the result that I tried.
>Can you please insert one 'set -x' at the top and a 'set +x' at
>the bottom of getbt function in utillib.sh and post the output.
As a result of having tried it, I am as follows.
[root at dl380g5c ~]# hb_report -u root -f 9:00 /root/mast_slave_emg3
+ which gdb
+ for corefile in '"$@"'
++ findbinary /var/lib/heartbeat/cores/hacluster/core.22630
+++ which cat
++ random_binary=/bin/cat
+++ gdb /bin/cat /var/lib/heartbeat/cores/hacluster/core.22630
+++ grep 'Core was generated'
+++ awk '{print $5}'
+++ sed 's/^.//;s/[.'\'':]*$//'
++ binary=/usr/lib64/heartbeat/crmd
++ '[' x = x/usr/lib64/heartbeat/crmd ']'
+++ which /usr/lib64/heartbeat/crmd
++ fullpath=/usr/lib64/heartbeat/crmd
++ '[' x = x/usr/lib64/heartbeat/crmd ']'
++ echo /usr/lib64/heartbeat/crmd
+ absbinpath=/usr/lib64/heartbeat/crmd
+ '[' x = x/usr/lib64/heartbeat/crmd ']'
+ echo '====================== start backtrace ======================'
+ ls -l /var/lib/heartbeat/cores/hacluster/core.22630
+ gdb -batch -n -quiet -ex 'thread apply all bt full' -ex quit /usr/lib64/heartbeat/crmd
/var/lib/heartbeat/cores/hacluster/core.22630
+ echo '======================= end backtrace ======================='
+ set +x
prelink: /usr/lib64/heartbeat/hbagent: at least one of file's dependencies has changed since
prelinking
prelink: /usr/lib64/heartbeat/hbagent: at least one of file's dependencies has changed since
prelinking
Regards,
Hideo Yamauchi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mast_slave_emg3.tar.gz
Type: application/x-gzip-compressed
Size: 81132 bytes
Desc: 2532894406-mast_slave_emg3.tar.gz
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20080417/885e9522/mast_slave_emg3.tar-0001.bin
More information about the Linux-HA-Dev
mailing list