Segfault in snmptrapd - 5.1.2 and 5.3.0.1

This is a discussion on Segfault in snmptrapd - 5.1.2 and 5.3.0.1 within the SNMP Coders forums, part of the Networking and Network Related category; Under 5.1.2 in RHEL4 (latest as of today using up2date), snmptrapd segfaults after running for a short time (...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-13-2006
Alex Burger
 
Posts: n/a
Default Segfault in snmptrapd - 5.1.2 and 5.3.0.1


Under 5.1.2 in RHEL4 (latest as of today using up2date), snmptrapd
segfaults after running for a short time (maybe around 10 minutes). I
removed the 5.1.2 RPMs and compiled 5.3.0.1 and I am still getting the
same problem. I have not tried 5.3.1.rc4 yet.

Here is the back trace after receiving a trap:

(gdb) bt
#0 0x0000003d4886fd00 in strlen () from /lib64/tls/libc.so.6
#1 0x0000003d488428cc in vfprintf () from /lib64/tls/libc.so.6
#2 0x0000003d48861d84 in vsnprintf () from /lib64/tls/libc.so.6
#3 0x0000002a95b30ab7 in snmp_vlog (priority=6, format=0x2a9555eecd
"%s%s", ap=0x7fbfffe5f0) at snmp_logging.c:1188
#4 0x0000002a95b30b98 in snmp_log (priority=Variable "priority" is not
available.
) at snmp_logging.c:1221
#5 0x0000002a9555abcd in print_handler (pdu=0x59c440,
transport=0x599260, handler=0x505b70) at snmptrapd_handlers.c:658
#6 0x0000002a9555bf1f in snmp_input (op=Variable "op" is not available.
) at snmptrapd_handlers.c:1093
#7 0x0000002a95b1a7f9 in _sess_process_packet (sessp=0x5991e0,
sp=0x59c7a0, isp=0x591830, transport=Variable "transport" is not available.
) at snmp_api.c:5334
#8 0x0000002a95b1b950 in _sess_read (sessp=0x5991e0, fdset=Variable
"fdset" is not available.
) at snmp_api.c:5747
#9 0x0000002a95b1c169 in snmp_sess_read (sessp=0x5991e0, fdset=Variable
"fdset" is not available.
) at snmp_api.c:5766
#10 0x0000002a95b1c1b0 in snmp_read (fdset=0x7fbffff1d0) at snmp_api.c:5386
#11 0x0000000000403cc0 in main (argc=Variable "argc" is not available.
) at snmptrapd.c:1255
(

It does not seem to be from a particular trap so I can not easily
reproduce it.

My snmp.conf only contains additional mib dirs, and snmptrapd.conf contains:

traphandle default /usr/sbin/snmptthandler
ignoreauthfailure 1

I will provide more info after I do some more testing.

Alex



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 08:05 PM.


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