snmptrapd (CVS): crash on "-H"

This is a discussion on snmptrapd (CVS): crash on "-H" within the SNMP Coders forums, part of the Networking and Network Related category; -Coders, snmptrapd from CVS MAIN crashes for me when called with "-H". FWIW, this works fine in 5....


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-20-2005
Thomas Anders
 
Posts: n/a
Default snmptrapd (CVS): crash on "-H"

-Coders,

snmptrapd from CVS MAIN crashes for me when called with "-H". FWIW, this works
fine in 5.2.x (CVS). Here are the details:

foo# /bc/net-snmp-5.3cvs/sbin/snmptrapd -H
Segmentation fault (core dumped)
foo# gdb /bc/net-snmp-5.3cvs/sbin/snmptrapd core
[...]
#0 0x4018b364 in netsnmp_container_get_factory (
type=0xbfffd438
"\200#\005\b\200#\005\b@\030@�\031@x�\t\030@\2 00#\005\b�\031@P#\005\b\220\030@\230�h�\217# \005\b�\031@P#\005\b�\002@\230�\030@_R\022@
�) at container.c:123
123 found = CONTAINER_FIND(containers, &ct);
(gdb) bt
#0 0x4018b364 in netsnmp_container_get_factory (
type=0xbfffd438
"\200#\005\b\200#\005\b@\030@�\031@x�\t\030@\2 00#\005\b�\031@P#\005\b\220\030@\230�h�\217# \005\b�\031@P#\005\b�\002@\230�\030@_R\022@
�) at container.c:123
#1 0x4018bc09 in netsnmp_container_find_factory (
type_list=0x4012525f "table_container") at container.c:141
#2 0x4018bcac in netsnmp_container_find (type=0x4012525f "table_container")
at container.c:168
#3 0x4011fe0e in netsnmp_create_table_data2 (
name=0x400223f3 "nlmLogVariableTable") at table_data2.c:307
#4 0x401218e3 in netsnmp_create_table_data2_set (
table_name=0x400223f3 "nlmLogVariableTable") at table_dataset2.c:73
#5 0x4001fe8a in initialize_table_nlmLogVariableTable ()
at notification_log.c:135
#6 0x40020f5c in init_notification_log () at notification_log.c:469
#7 0x0804b692 in main (argc=2, argv=0xbfffea54) at snmptrapd.c:716
(gdb) quit
foo# /bc/net-snmp-5.3cvs/bin/net-snmp-config --configure-options
--prefix=/bc/net-snmp-5.3cvs --with-openssl --with-mib-modules=host
disman/event-mib --with-sys-location=Berlin
--with-sys-contact=anders@blue-cable.net --with-default-snmp-version=3
--with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
--enable-shared --enable-embedded-perl --with-perl-modules
foo# gcc --version
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
[...]
foo# cat /etc/SuSE-release
SuSE Linux 9.3 (i586)
VERSION = 9.3


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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:04 PM.


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