This is a discussion on SVN trunk: snmptrapd segfaults on shutdown within the SNMP Coders forums, part of the Networking and Network Related category; In SVN trunk, snmptrapd seems to segfault on shutdown consistently, at least if embedded Perl support has been enabled at ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In SVN trunk, snmptrapd seems to segfault on shutdown consistently, at least if embedded Perl support has been enabled at compile time. To reproduce, just start snmptrapd and send it a SIGTERM.
Here's the backtrace: (gdb) bt #0 0xb79d95da in perl_destruct () from /usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE/libperl.so #1 0xb7b287d5 in shutdown_perl () from /bc/net-snmp-5.5svn/lib/libnetsnmpagent.so.20 #2 0x0804af79 in term_handler () #3 <signal handler called> #4 0xffffe410 in __kernel_vsyscall () #5 0xb78a855d in select () from /lib/libc.so.6 #6 0x0804ce9f in main () (gdb) This really looks like being related to this commit: r16851 | hardaker | 2008-03-21 17:24:07 +0100 (Fr, 21 Mar 2008) | 1 line NEWS: snmptrapd: PATCH: 1908288: from anedel: If snmptrapd -f interrupted with ctrl-C run perl END block Anyone else seeing this? Suggestions for fixing it other than backing out the change? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|