Xymon Mailing List Archive search

hobbitd_channel still crashing everyday

list Josh Luthman
Wed, 24 Oct 2007 11:11:35 -0400
Message-Id: <user-4c5419c016fc@xymon.invalid>

As you're on Solaris, could you do a dtrace on it?

On 10/24/07, Sean R. Clark <user-94e09d797e16@xymon.invalid> wrote:

running snapshot 4.3

crashes twice a day, every day, @line 112 in loadhosts file

( sprintf(newp->pagepath, "%s/%s", curtoppage->pagepath, name);  )  is the
line in question


this is running on Solaris 10 x86, compiled with

./configure.server --rrdinclude /sw/include --rrdlib /sw/lib --pcreinclude
/sw/include --pcrelib /sw/lib --sslinclude /sw/include/openssl --ssllib
/sw/ssl/lib

don't see why it's crashing at all, any ideas?


Reading hobbitd_channel
core file header read successfully
Reading ld.so.1
Reading libresolv.so.2
Reading libsocket.so.1
Reading libnsl.so.1
Reading libc.so.1
program terminated by signal ABRT (Abort)
0xfee60717: __lwp_kill+0x0007:  jae      __lwp_kill+0x15        [
0xfee60725, .+0xe ]
Current function is bbh_item
  466                     p = strrchr(host->page->pagetitle, '/');
(dbx)
where
  [1] __lwp_kill(0x1, 0x6), at 0xfee60717
  [2] _thr_kill(0x1, 0x6), at 0xfee5ded4
  [3] raise(0x6), at 0xfee0ced3
  [4] abort(0x8071c20, 0x0, 0x8046758, 0xfee4dd4f, 0x8046758, 0xfee4dd4f),
at 0xfedf0969
  [5] 0x80581fe(0xb, 0x0, 0x80467f0), at 0x80581fe
  [6] __sighndlr(0xb, 0x0, 0x80467f0, 0x80581d0), at 0xfee5fadf
  [7] call_user_handler(0xb, 0x0, 0x80467f0), at 0xfee560d3
  [8] sigacthandler(0xb, 0x0, 0x80467f0, 0xf, 0x0, 0x0), at 0xfee56253
  ---- called from signal handler with signal 11 (SIGSEGV) ------
=>[9] bbh_item(hostin = 0x80739a8, item = BBH_NET), line 466 in "
loadhosts.c"
  [10] load_hostnames(bbhostsfn = (nil), extrainclude = 0x8046ddc
"hobbitd_channel", fqdn = 134508012), line 112 in "loadhosts_file.c"
-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer