Xymon Mailing List Archive search

hpux

5 messages in this thread

list Anatoli Bogajewski · Mon, 01 Aug 2005 14:53:10 +0200 ·
Hi,

i have still problems to get the newest version of hobbit server on HPUX 11.11 running. Since the server component is not running, i cant say something about the new client.. :(

So it would be interesting to hear whether someone got 4.1.1 or the latest snapshot running and i would be grateful if you could take a look on this problem.. some additional details are included within my last email on 26.07..

The error appears once a minute within bb-display.log:
"hobbitd status-board not available"

The "hobbitd" task dies with signal 6 once a minute as well, leaving a core file. 
GDB output as following:

t040m902:/opt/hobbit/server # gdb bin/hobbitd tmp/core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
Core was generated by `hobbitd'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file hobbitd referenced in dld_list.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0xc0209378 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc0209378 in kill () from /usr/lib/libc.2
#1  0xc01a46ac in raise () from /usr/lib/libc.2
#2  0xc01e4aa0 in abort_C () from /usr/lib/libc.2
#3  0xc01e4afc in abort () from /usr/lib/libc.2
#4  0x00012400 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0xc0195558 in mallinfo () from /usr/lib/libc.2
#7  0xc0196484 in _sigfillset () from /usr/lib/libc.2
#8  0xc019901c in free () from /usr/lib/libc.2
#9  0x0000bf9c in main (argc=0, argv=0x0) at hobbitd.c:3621
#10 0xc0143158 in _start () from /usr/lib/libc.2

Thanks a lot,

Anatoli Bogajewski
list Michael Nemeth · Mon, 01 Aug 2005 09:09:03 -0400 ·
What version of gcc?
quoted from Anatoli Bogajewski


user-4d3800b5a33a@xymon.invalid wrote:
Hi,

i have still problems to get the newest version of hobbit server on HPUX 11.11 running. Since the server component is not running, i cant say something about the new client.. :(

So it would be interesting to hear whether someone got 4.1.1 or the latest snapshot running and i would be grateful if you could take a look on this problem.. some additional details are included within my last email on 26.07..

The error appears once a minute within bb-display.log:
"hobbitd status-board not available"

The "hobbitd" task dies with signal 6 once a minute as well, leaving a core file. 
GDB output as following:

t040m902:/opt/hobbit/server # gdb bin/hobbitd tmp/core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
Core was generated by `hobbitd'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file hobbitd referenced in dld_list.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0xc0209378 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc0209378 in kill () from /usr/lib/libc.2
#1  0xc01a46ac in raise () from /usr/lib/libc.2
#2  0xc01e4aa0 in abort_C () from /usr/lib/libc.2
#3  0xc01e4afc in abort () from /usr/lib/libc.2
#4  0x00012400 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0xc0195558 in mallinfo () from /usr/lib/libc.2
#7  0xc0196484 in _sigfillset () from /usr/lib/libc.2
#8  0xc019901c in free () from /usr/lib/libc.2
#9  0x0000bf9c in main (argc=0, argv=0x0) at hobbitd.c:3621
#10 0xc0143158 in _start () from /usr/lib/libc.2

Thanks a lot,

Anatoli Bogajewski

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

|     _p_       Mike Nemeth
|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX          |><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Anatoli Bogajewski · Mon, 01 Aug 2005 15:39:18 +0200 ·
gcc (GCC) 3.3.2

but actually the server is running! 
the last core file is 14:59 so i realy nothing understand. hm..

Statistics for Hobbit daemon
Up since 01-Aug-2005 14:59:56 (0 days, 00:35:13)

i'll keep my eyes on the situation. 


user-609d3fab5b2d@xymon.invalid 01.08.2005 15:09
Bitte antworten an
user-ae9b8668bcde@xymon.invalid


An
user-ae9b8668bcde@xymon.invalid
Kopie

Thema
Re: [hobbit] hpux
quoted from Michael Nemeth


What version of gcc?


user-4d3800b5a33a@xymon.invalid wrote:
Hi,

i have still problems to get the newest version of hobbit server on HPUX 11.11 running. Since the server component is not running, i cant say something about the new client.. :(

So it would be interesting to hear whether someone got 4.1.1 or the 
latest 
snapshot running and i would be grateful if you could take a look on this 
problem.. some additional details are included within my last email on 26.07..

The error appears once a minute within bb-display.log:
"hobbitd status-board not available"

The "hobbitd" task dies with signal 6 once a minute as well, leaving a core file. 
GDB output as following:

t040m902:/opt/hobbit/server # gdb bin/hobbitd tmp/core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0w-hp-hpux11.11"...
Core was generated by `hobbitd'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file hobbitd referenced in dld_list.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0xc0209378 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc0209378 in kill () from /usr/lib/libc.2
#1  0xc01a46ac in raise () from /usr/lib/libc.2
#2  0xc01e4aa0 in abort_C () from /usr/lib/libc.2
#3  0xc01e4afc in abort () from /usr/lib/libc.2
#4  0x00012400 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0xc0195558 in mallinfo () from /usr/lib/libc.2
#7  0xc0196484 in _sigfillset () from /usr/lib/libc.2
#8  0xc019901c in free () from /usr/lib/libc.2
#9  0x0000bf9c in main (argc=0, argv=0x0) at hobbitd.c:3621
#10 0xc0143158 in _start () from /usr/lib/libc.2

Thanks a lot,

Anatoli Bogajewski

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth

|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX  |><___________)          |               Home Page:
http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner · Mon, 1 Aug 2005 15:52:48 +0200 ·
quoted from Anatoli Bogajewski
On Mon, Aug 01, 2005 at 02:53:10PM +0200, user-4d3800b5a33a@xymon.invalid wrote:
i have still problems to get the newest version of hobbit server on HPUX 11.11 running. Since the server component is not running, i cant say something about the new client.. :(

So it would be interesting to hear whether someone got 4.1.1 or the latest snapshot running and i would be grateful if you could take a look on this problem.. some additional details are included within my last email on 26.07..

The error appears once a minute within bb-display.log:
"hobbitd status-board not available"

The "hobbitd" task dies with signal 6 once a minute as well, leaving a core file. 
Those two are related: When hobbitd crashes, it cannot provide the data
that the display task needs to build the webpages.
GDB output as following:
quoted from Anatoli Bogajewski
#8  0xc019901c in free () from /usr/lib/libc.2
#9  0x0000bf9c in main (argc=0, argv=0x0) at hobbitd.c:3621
This one is interesting, because it looks like a regular problem with releasing a buffer used to store a request that has been handled by
hobbitd. 
I've done some reviewing of the hobbitd code today, and would like you
to try out the current version. You can pick up the single file from
http://www.hswn.dk/beta/snapshot/hobbitd/hobbitd.c - just save this to the snapshot/hobbitd/ directory and run "make" to rebuild Hobbit.
Shutdown Hobbit (you probably already have), run "make install" and
start Hobbit. Any better ?


If not, I'd like you to edit the file snapshot/lib/memory.h and change the line near the top that reads
   #undef MEMORY_DEBUG
to
   #define MEMORY_DEBUG 1

Then run "make clean; make lib-build hobbitd-build". Then instead of
"make install", do a "cp hobbitd/hobbitd /usr/local/hobbit/server/bin/" (adjust if your Hobbit server is not in /usr/local/hobbit/server/).

This will still crash, but hopefully it will generate some more output
in the logfile before crashing.


Regards,
Henrik
list Anatoli Bogajewski · Mon, 01 Aug 2005 16:00:26 +0200 ·
Thanks a lot Henrik, 
i'll test new code...

Greetings,
 Anatoli Bogajewski


user-ce4a2c883f75@xymon.invalid 01.08.2005 15:52
quoted from Henrik Størner
Bitte antworten an
user-ae9b8668bcde@xymon.invalid


An
user-ae9b8668bcde@xymon.invalid
Kopie

Thema
Re: [hobbit] hpux


On Mon, Aug 01, 2005 at 02:53:10PM +0200, user-4d3800b5a33a@xymon.invalid wrote:
i have still problems to get the newest version of hobbit server on HPUX 
11.11 running. Since the server component is not running, i cant say something about the new client.. :(

So it would be interesting to hear whether someone got 4.1.1 or the 
latest 
snapshot running and i would be grateful if you could take a look on 
this 
problem.. some additional details are included within my last email on 26.07..

The error appears once a minute within bb-display.log:
"hobbitd status-board not available"

The "hobbitd" task dies with signal 6 once a minute as well, leaving a core file. 
Those two are related: When hobbitd crashes, it cannot provide the data
that the display task needs to build the webpages.
GDB output as following:
#8  0xc019901c in free () from /usr/lib/libc.2
#9  0x0000bf9c in main (argc=0, argv=0x0) at hobbitd.c:3621
This one is interesting, because it looks like a regular problem with releasing a buffer used to store a request that has been handled by
hobbitd. 
I've done some reviewing of the hobbitd code today, and would like you
to try out the current version. You can pick up the single file from
http://www.hswn.dk/beta/snapshot/hobbitd/hobbitd.c - just save this to the snapshot/hobbitd/ directory and run "make" to rebuild Hobbit.
Shutdown Hobbit (you probably already have), run "make install" and
start Hobbit. Any better ?


If not, I'd like you to edit the file snapshot/lib/memory.h and change the line near the top that reads
   #undef MEMORY_DEBUG
to
   #define MEMORY_DEBUG 1

Then run "make clean; make lib-build hobbitd-build". Then instead of
"make install", do a "cp hobbitd/hobbitd /usr/local/hobbit/server/bin/" (adjust if your Hobbit server is not in /usr/local/hobbit/server/).

This will still crash, but hopefully it will generate some more output
in the logfile before crashing.


Regards,
Henrik