Greetings,
The hobbitd_client module has been crashing on and off all day. Below is the gdb output. Any advice would be greatly appreciated.
This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries .. done #0 0x9004312c in kill () (gdb) bt #0 0x9004312c in kill () #1 0x9009fb9c in abort () #2 0x00016bdc in receive_samples () #3 <signal handler called> #4 0x90007260 in strlen () #5 0x0000ec68 in error_message () #6 0x00002dc8 in main (argc=1192252, argv=0xa0005290) at bb.c:138 (gdb) quit
Thanks,
Mike
Michael Dunne Network Support Specialist AccuWeather, Inc.
~HISTORY, n. An account mostly false, of events mostly unimportant, which are brought about by rulers mostly knaves, and soldiers mostly fools.
(Ambrose Bierce, "The Devil's Dictionary")~
On Thu, Sep 28, 2006 at 05:39:32PM -0400, Michael Dunne wrote:
The hobbitd_client module has been crashing on and off all day. Below is the gdb output. Any advice would be greatly appreciated.
This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries .. done #3 <signal handler called> #4 0x90007260 in strlen () #5 0x0000ec68 in error_message () #6 0x00002dc8 in main (argc=1192252, argv=0xa0005290) at bb.c:138
This trace doesn't make sense - the "bb.c" sourcefile is not part of the hobbitd_client binary.
Are you sure you fed gdb the right binary ? If it is hobbitd_client that is crashing, then the command should be
$ cd ~hobbit/server
$ gdb bin/hobbitd_client /path/to/corefile
gdb> bt
Regards, Henrik
Hi all,
I know I've asked this before and I'm sorry to repeat but could someone tell me the steps to add a hour and days input field to the ack alert form? (this is the first time I've altered anything on the hobbit webpage side of things), also would it be possible to not allow acks longer than 1 week?
Thanks, Jason.
On Fri, Sep 29, 2006 at 10:02:00AM +0100, Jones, Jason (Altrincham) wrote:
I know I've asked this before and I'm sorry to repeat but could someone tell me the steps to add a hour and days input field to the ack alert form? (this is the first time I've altered anything on the hobbit webpage side of things),
It's not quite what you want, but the attached patch lets you enter the time as "6h" (6 hours) or "2d8h" (2 days + 8 hours).
also would it be possible to not allow acks longer than 1 week?
That would need some more code in the bb-ack CGI to reject the too-long acks. Some sort of configuration mechanism would also be needed to set the maximum time - either globally, or per-host.
Regards, Henrik
This may sound like a really stupid and obvious question but how do I apply this patch? :$ the person who used to handle hobbit left about a month ago and I never was never told how to
Jason.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 29 September 2006 11:32 To: hobbit at hswn.dk Subject: Re: [hobbit] longer ack alerts
On Fri, Sep 29, 2006 at 10:02:00AM +0100, Jones, Jason (Altrincham) wrote:
I know I've asked this before and I'm sorry to repeat but could someone tell me the steps to add a hour and days input field to the ack alert form? (this is the first time I've altered anything on the hobbit webpage side of things),
It's not quite what you want, but the attached patch lets you enter the time as "6h" (6 hours) or "2d8h" (2 days + 8 hours).
also would it be possible to not allow acks longer than 1 week?
That would need some more code in the bb-ack CGI to reject the too-long acks. Some sort of configuration mechanism would also be needed to set the maximum time - either globally, or per-host.
Regards, Henrik
On Fri, Sep 29, 2006 at 12:33:59PM +0100, Jones, Jason (Altrincham) wrote:
This may sound like a really stupid and obvious question but how do I apply this patch? :$ the person who used to handle hobbit left about a month ago and I never was never told how to
OK:
- Save the patch to a file, e.g. /tmp/somefile.patch
- Go to the hobbit-4.2.0 source directory
- Run the command "patch -p0 < /tmp/somefile.patch"
- Recompile hobbit with "make; make install"
- Restart Hobbit (not needed for this patch, but just in case).
Regards, Henrik
Henrik,
Apologies, here is the correct output.
Reading symbols for shared libraries ... done #0 0x9004312c in kill () (gdb) bt #0 0x9004312c in kill () #1 0x9009fb9c in abort () #2 0x00016bdc in ucp_table () #3 <signal handler called> #4 0x90007290 in strlen () #5 0x0000ec68 in ucp_table () #6 0x00002dc8 in find_fixedlength (code=0x0, options=-1610591600) at pcre.c:1398 #7 0x000052b0 in handle_linux_client () at pcre.c:3391 #8 0x00008f90 in main () at pcre.c:6810 (gdb)
Mike
On 9/29/06 2:41 AM, "Henrik Stoerner" <henrik at hswn.dk> wrote:
On Thu, Sep 28, 2006 at 05:39:32PM -0400, Michael Dunne wrote:
The hobbitd_client module has been crashing on and off all day. Below is the gdb output. Any advice would be greatly appreciated.
This GDB was configured as "powerpc-apple-darwin". Reading symbols for shared libraries .. done #3 <signal handler called> #4 0x90007260 in strlen () #5 0x0000ec68 in error_message () #6 0x00002dc8 in main (argc=1192252, argv=0xa0005290) at bb.c:138
This trace doesn't make sense - the "bb.c" sourcefile is not part of the hobbitd_client binary.
Are you sure you fed gdb the right binary ? If it is hobbitd_client that is crashing, then the command should be
$ cd ~hobbit/server $ gdb bin/hobbitd_client /path/to/corefile gdb> btRegards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Michael Dunne Network Support Specialist AccuWeather, Inc. 814-237-0309 Ext. 7661
~HISTORY, n. An account mostly false, of events mostly unimportant, which are brought about by rulers mostly knaves, and soldiers mostly fools.
(Ambrose Bierce, "The Devil's Dictionary")~
participants (3)
-
dunne@accuweather.com
-
henrik@hswn.dk
-
JasonAS_Jones@mentor.com