SVN trunk: snmptrapd segfaults on shutdown

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-06-2008
Thomas Anders
 
Posts: n/a
Default SVN trunk: snmptrapd segfaults on shutdown

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0