5.4 snmptrapd Crashed After Forwarding

This is a discussion on 5.4 snmptrapd Crashed After Forwarding within the SNMP Users forums, part of the Networking and Network Related category; I'm running netSNMP version 5.4 on an i686 machine with Linux 2.6.16.16 kernel; in my ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-25-2007
Chau T Trinh
 
Posts: n/a
Default 5.4 snmptrapd Crashed After Forwarding

I'm running netSNMP version 5.4 on an i686 machine with Linux 2.6.16.16
kernel; in my snmptrapd.conf I used "forward" to send a specific trap to
another machine.
The trap was forwarded OK but snmptrapd seg fault right afterward. This is
a v3 trap, if I were to use a v2 trap, everything worked fine.
Here is the backtrace from the debugger:

NET-SNMP version 5.4
2007-01-24 15:37:20 <UNKNOWN> [UDP: [192.168.22.2]:32968]:
DISMAN-EVENT-MIB::sysUpTimeInstance =3D Timeticks: (42) 0:00:00.42
SNMPv2-MIB::snmpTrapOID.0 =3D OID: SNMPv2-SMI::enterprises.1569.223.1.1.6.0=
..4
SNMPv2-SMI::enterprises.1569.223.1.1.5.2.0 =3D INTEGER: 2

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215118432 (LWP 21163)]
0xb79d6e84 in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb79d6e84 in mallopt () from /lib/tls/libc.so.6
#1 0xb79d5dcb in free () from /lib/tls/libc.so.6
#2 0xb7d5c66c in usm_free_usmStateReference (old=3D0x80759d8) at
snmpusm.c:189
#3 0xb7d2c2b9 in _sess_process_packet (sessp=3D0x80aaba8, sp=3D0x8065068,
isp=3D0x8077a78, transport=3D0x809bd98, opaque=3D0x80a7bd8, olength=3D20,
packetptr=3D0x80b1778 "0\201=C2=A6\002\001\0030\021\002\004<*=C2=B1@\002 \00=
3",
length=3D169) at snmp_api.c:5376
#4 0xb7d2d4fb in _sess_read (sessp=3D0x80aaba8, fdset=3D0x8077a78) at
snmp_api.c:5779
#5 0xb7d2dcc9 in snmp_sess_read (sessp=3D0x80aaba8, fdset=3D0x1011f170) at
snmp_api.c:5798
#6 0xb7d2c94c in snmp_read (fdset=3D0xbfc4e4b0) at snmp_api.c:5412
#7 0x0804cee9 in main (argc=3D5, argv=3D0xbfc4e654) at snmptrapd.c:1418

Is this a bug?

Thanks,
Chau Trinh


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...orge&CID=3DDE=
VDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
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 02:10 AM.


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