From: Buchan M. <bg...@st...> - 2010-02-10 10:34:39
|
On Tuesday, 9 February 2010 19:41:19 mario andre wrote: > Hi Bunchan, > > I've got lot of core with rev 6222. > > -------------------- Core files with do_devmon.c from revision 6222 > > [root@isslu410 core_old]# gdb ../../bin/hobbitd_rrd core.6545 > GNU gdb Fedora (6.8-37.el5) > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i386-redhat-linux-gnu"... > Cannot access memory at address 0x524149 > (gdb) bt > #0 0x0086a402 in ?? () > #1 0x00513040 in ?? () > #2 0x0062eff4 in ?? () > #3 0xb7f636c0 in ?? () > #4 0xbf94c2c8 in ?? () > #5 0x00514a21 in ?? () > #6 0x00000006 in ?? () > #7 0xbf94c23c in ?? () > #8 0x00000000 in ?? () > This binary is stripped, so this backtrace is quite useless. It would help if you could try again with a non-stripped hobbitd_rrd with debugging enabled. > ----------------- COre files with original do_devmon.c from xymon 4.3.0 > beta2 > > (gdb) bt > #0 0x00fc7402 in __kernel_vsyscall () > #1 0x00513040 in raise () from /lib/i686/nosegneg/libc.so.6 > #2 0x00514a21 in abort () from /lib/i686/nosegneg/libc.so.6 > #3 0x08069eb3 in sigsegv_handler (signum=11) at sig.c:57 > #4 <signal handler called> > #5 0x0055a4c9 in strcat () from /lib/i686/nosegneg/libc.so.6 > #6 0x0804e704 in do_devmon_rrd (hostname=0xb7f0f6ab "Cisco_4507R_02", > testname=0xb7f0f6ba "if_load", > classname=0xb7f0f6ee "cosc/network/601_El_Camino_Real,cosc/temp", > pagepaths=0x80700be "", > msg=0xb7f0f718 "status Cisco_4507R_02.if_load green Wed Feb 3 20:12:57 > 2010", tstamp=1265256364) at rrd/do_devmon.c:83 > #7 0x080598e4 in update_rrd (hostname=0xb7f0f6ab "Cisco_4507R_02", > testname=0xb7f0f6ba "if_load", > msg=0xb7f0f718 "status Cisco_4507R_02.if_load green Wed Feb 3 20:12:57 > 2010", tstamp=1265256364, sender=0xb7f0f69b "172.29.186.131", > ldef=0x8f4cb08, classname=0xb7f0f6ee > "cosc/network/601_El_Camino_Real,cosc/temp", pagepaths=0x80700be "") at > do_rrd.c:649 > #8 0x0804a420 in main (argc=2, argv=0xbfc803a4) at hobbitd_rrd.c:349 > The first part (lines 93-96 according to the lines on the side) of hunk 4 (the "Line 79 Line 90" one) of this patch should have fixed this: http://hobbitmon.svn.sf.net/viewvc/hobbitmon/branches/4.3.0/hobbitd/rrd/do_devmon.c?r1=6171&r2=6222 This was forward-ported from the fixes for 4.2.x. I will try and test this myself the coming weekend. Regards, Buchan |