[Xymon] Hobbitd crashing

Elizabeth Schwartz betsy.schwartz at gmail.com
Sun May 22 03:13:02 CEST 2011


Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `hobbitd_client'.
Program terminated with signal 6, Aborted.
#0  0x0000003833430265 in raise () from /lib64/libc.so.6
(gdb) fr 4
#4  0x00000000004179f6 in scan_log (hinfo=0x1679440,
    classname=0x2b9863ae507e "sunos", logname=0x2b9863aee44b
"/var/adm/messages",
    logdata=0x2b9863aee45e "May 21 00:57:25
redirect2-bo3.dl2.e-dialog.com last message repeated 36 times\nMay 21
00:57:35 redirect2-bo3.dl2.e-dialog.com monit[10418]: [ID 111343
daemon.error] 'gmond-sample.xml' timestamp test fa"...,
    section=<value optimized out>, summarybuf=0x1683a80) at client_config.c:2491
2491                    if (!patternmatch(logdata,
rule->rule.log.matchexp->pattern, rule->rule.log.matchexp->exp))
continue;
(gdb) p rule
$1 = (c_rule_t *) 0x168ad90
(gdb) p *rule
$2 = {hostexp = 0x168a7c0, exhostexp = 0x0, pageexp = 0x0, expageexp = 0x0,
  classexp = 0x0, exclassexp = 0x0, timespec = 0x0, statustext = 0x0,
  rrdidstr = 0x0, groups = 0x0, ruletype = C_LOG, cfid = 435, flags = 0,
  next = 0x168afa0, rule = {load = {warnlevel = 4.27369127e-38,
paniclevel = 0},
    uptime = {recentlimit = 23637648, ancientlimit = 0}, clock = {
      maxdiff = 23637648}, disk = {fsexp = 0x168ae90, warnlevel = 0,
paniclevel = 0,
      abswarn = 23637712, abspanic = 0, dmin = 4, dmax = 0, dcount =
0, color = 0,
      ignored = 0}, inode = {fsexp = 0x168ae90, warnlevel = 0, paniclevel = 0,
      abswarn = 23637712, abspanic = 0, imin = 4, imax = 0, icount =
0, color = 0,
      ignored = 0}, mem = {memtype = 23637648, warnlevel = 0, paniclevel = 0},
    zos_mem = {zos_memtype = 23637648, warnlevel = 0, paniclevel = 0},
zvse_vsize = {
      warnlevel = 23637648, paniclevel = 0}, zvse_getvis = {partid = 0x168ae90,
      warnlevel = 0, paniclevel = 0, anywarnlevel = 0, anypaniclevel =
0}, cics = {
      applid = 0x168ae90, dsawarnlevel = 0, dsapaniclevel = 0,
edsawarnlevel = 0,
      edsapaniclevel = 0}, asid = {asidtype = 23637648, warnlevel = 0,
      paniclevel = 0}, proc = {procexp = 0x168ae90, pmin = 0, pmax =
0, pcount = 0,
      color = 0}, log = {logfile = 0x168ae90, matchexp = 0x0, matchone = 0x0,
      ignoreexp = 0x168aed0, color = 4}, fcheck = {filename =
0x168ae90, color = 0,
      ftype = 0, minsize = 0, maxsize = 23637712, eqlsize = 4, minlinks = 0,
      maxlinks = 0, eqllinks = 0, fmode = 0, ownerid = 0, groupid = 0,
      ownerstr = 0x0, groupstr = 0x0, minctimedif = 0, maxctimedif = 0,
      ctimeeql = 0, minmtimedif = 0, maxmtimedif = 0, mtimeeql = 0,
minatimedif = 0,
      maxatimedif = 0, atimeeql = 0, md5hash = 0x0, sha1hash = 0x0,
      rmd160hash = 0x0}, dcheck = {filename = 0x168ae90, color = 0,
maxsize = 0,
---Type <return> to continue, or q <return> to quit---
      minsize = 23637712}, port = {localexp = 0x168ae90, exlocalexp = 0x0,
      remoteexp = 0x0, exremoteexp = 0x168aed0, stateexp = 0x4,
exstateexp = 0x0,
      pmin = 0, pmax = 0, pcount = 0, color = 0}, svc = {svcexp = 0x168ae90,
      stateexp = 0x0, startupexp = 0x0, svcname = 0x168aed0 "\360\256h\001",
      startup = 0x4 <Address 0x4 out of bounds>, state = 0x0, scount = 0,
      color = 0}, paging = {warnlevel = 23637648, paniclevel = 0}, mibval = {
      mibvalexp = 0x168ae90, keyexp = 0x0, color = 0, minval =
23637712, maxval = 4,
      matchexp = 0x0, havetree = 0, valdeftree = 0x0}, rrdds = {rrdkey
= 0x168ae90,
      rrdds = 0x0, column = 0x0, color = 23637712,
      limitval = 1.9762625833649862e-323, limitval2 = 0}, mqqueue = {
      qmgrname = 0x168ae90, qname = 0x0, warnlen = 0, critlen = 0,
      warnage = 23637712, critage = 0}, mqchannel = {qmgrname = 0x168ae90,
      chnname = 0x0, warnstates = 0x0, alertstates = 0x168aed0}}}
(gdb) p *(rule->rule.log.matchexp)
Cannot access memory at address 0x0
(gdb)



More information about the Xymon mailing list