Xymon Mailing List Archive search

xymond crashing ~23 hours or so in do_message

3 messages in this thread

list Sean Clark · Mon, 12 May 2014 13:53:43 -0400 ·
I am running the latest RH5 32-bit version of JC Cleaver’s excellent packages – however, it is crashing with a sig abrt every day or so, and core dumping.

I put on version of xymond that had debugging symbols to make it easier to read, and analyzed the core files

It looks to crash on  compiling “trends-test” for a host,  when a remote host sends “xymondboard”

The sigabort comes from —>           response = newstrbuffer(lastboardsize);   in the code

One example:

#6  0x08055f4f in do_message (msg=0x7a7cabc0, origin=0x8073d54 "", can_respond=1) at xymond.c:4006
        hosthandle = <value optimized out>
        lwalk = <value optimized out>
        firstlog = <value optimized out>
        trendstest = {name = 0x22988 <Address 0x22988 out of bounds>, clientsave = 123}
        infotest = {name = 0xbff5b336 "info", clientsave = 0}
        logfields = 0x2dbb1e80
        havehostfilter = 0
        fields = 0x6a5568f “hostname,testname"

Another:

#6  0x08055f4f in do_message (msg=0x8bddbad0, origin=0x8073d54 "", can_respond=1) at xymond.c:4006
        hosthandle = <value optimized out>
        lwalk = <value optimized out>
        firstlog = <value optimized out>
        trendstest = {name = 0x208b8 <Address 0x208b8 out of bounds>, clientsave = 123}
        infotest = {name = 0xbfefb336 "info", clientsave = 0}
        logfields = 0x13fb0008
        havehostfilter = 0
        fields = 0x5889672 “hostname,testname,color,acktime,disabletime,cookie,ackmsg,dismsg,lastchange,line1"

And a third:

#6  0x08055f4f in do_message (msg=0x8001c4c0, origin=0x8073d54 "", can_respond=1) at xymond.c:4006
        hosthandle = <value optimized out>
        lwalk = <value optimized out>
        firstlog = <value optimized out>
        trendstest = {name = 0x20d40 <Address 0x20d40 out of bounds>, clientsave = 123}
        infotest = {name = 0xbfd4d336 "info", clientsave = 0}
        logfields = 0x7debb8f8
        havehostfilter = 0
        fields = 0x8630217 "hostname,testname"


I guess what I am asking is, what are my next steps? Henrik, or JC (or anyone who knows C well) have any ideas?

I’ve attached the full core file analysis log files to this message, if that helps, but I don’t know exactly how to proceed.

If the origin was just one host, I would think it’s some bad thing happening from the one host, but these three crashes all came from communications from three different hosts, with different field requests to xymondboard


Let me know


-Sean


This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.
Attachments (1)
list Japheth Cleaver · Mon, 12 May 2014 12:44:10 -0700 ·
quoted from Sean Clark
On Mon, May 12, 2014 10:53 am, Clark, Sean wrote:
I am running the latest RH5 32-bit version of JC Cleaver’s excellent
packages – however, it is crashing with a sig abrt every day or so, and
core dumping.

I put on version of xymond that had debugging symbols to make it easier to
read, and analyzed the core files

It looks to crash on  compiling “trends-test” for a host,  when a remote
host sends “xymondboard”
I *believe* this was fixed in a later version of the 4.3.17 RPM before I
actually moved into branch.

Can you test with
http://terabithia.org/rpms/xymon/testing/el5/i386/xymon-4.3.18-0.0.7463.1.el5.centos.i386.rpm
and see if the issue recurs?


HTH,

-jc
list Sean Clark · Tue, 13 May 2014 09:40:50 -0400 ·
I¹ll try it out

I had to rebuild it from source rpm, only because I have rrdtool-1.4.7 on
the box for other reasons

Made no other changes to the spec, just ran

  rpmbuild ‹with branch -bb /usr/src/redhat/SPECS/xymon.spec


And then installed it. So far so good, but it¹s only been 4 hours :-D


On 5/12/14, 3:44 PM, "J.C. Cleaver" <user-87556346d4af@xymon.invalid> wrote:
On Mon, May 12, 2014 10:53 am, Clark, Sean wrote:
I am running the latest RH5 32-bit version of JC Cleaver¹s excellent
quoted from Japheth Cleaver
packages ­ however, it is crashing with a sig abrt every day or so, and
core dumping.

I put on version of xymond that had debugging symbols to make it easier
to
read, and analyzed the core files

It looks to crash on  compiling ³trends-test² for a host,  when a remote
host sends ³xymondboard²
quoted from Japheth Cleaver
I *believe* this was fixed in a later version of the 4.3.17 RPM before I
actually moved into branch.

Can you test with

http://terabithia.org/rpms/xymon/testing/el5/i386/xymon-4.3.18-0.0.7463.1.
el5.centos.i386.rpm
quoted from Sean Clark
and see if the issue recurs?


HTH,

-jc
This E-mail and any of its attachments may contain Time Warner Cable proprietary information, which is privileged, confidential, or subject to copyright belonging to Time Warner Cable. This E-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this E-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this E-mail is strictly prohibited and may be unlawful. If you have received this E-mail in error, please notify the sender immediately and permanently delete the original and any copy of this E-mail and any printout.