[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-2798510 ] snmpwalk core dumps
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2009-05-31 19:14:44
Message-ID: E1MAqUW-00084y-Er () g45xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #2798510, was opened at 2009-05-29 20:10
Message generated for change (Comment added) made by tanders
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2798510&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: apps
Group: aix
> Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Mike Weiss (weissmx)
Assigned to: Nobody/Anonymous (nobody)
Summary: snmpwalk core dumps

Initial Comment:
When running snmpwalk the app coredumps

snmpwalk -Os -c public -v 1 127.0.0.1
Memory fault(coredump)

Intalled net-snmp-5.3.2.3

net-snmp-config --configure-options
'--enable-as-needed' '--with-openssl=/usr/local/libs/ssl/bin/' \
'--prefix=/usr/local/libs/netsnmp' 'CC=gcc' \
'CPPFLAGS=-I/usr/local/libs/common/include' 'LDFLAGS=-L/usr/local/libs/common/lib \
-Wl,-brtl,-lm'


uname -a
AIX slkqpos01-f 3 5 0001517BD600

oslevel -s
5300-08-05-0846


This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
(gdb) run  -Os -c public -v 1 127.0.0.1
Starting program: /usr/local/libs/netsnmp/bin/snmpwalk -Os -c public -v 1 127.0.0.1

Program received signal SIGSEGV, Segmentation fault.
0xd3061a30 in RAND_bytes () from /usr/local/libs/common/lib/libnetsnmp.so
(gdb) where
#0  0xd3061a30 in RAND_bytes () from /usr/local/libs/common/lib/libnetsnmp.so
#1  0xd3046268 in sc_random (buf=0xf0c5fa1c "", buflen=0x2ff22288) at scapi.c:208
#2  0xd3049818 in init_usm_post_config (majorid=-255460836, minorid=4, serverarg=0x0, \
clientarg=0x0) at snmpusm.c:2778 #3  0xd3055300 in snmp_call_callbacks (major=0, \
minor=3, caller_arg=0x0) at callback.c:329 #4  0xd3022f74 in read_premib_configs () \
at read_config.c:902 #5  0xd3015a00 in init_snmp (type=0xd308b21c "snmpapp") at \
snmp_api.c:834 #6  0xd30752e4 in snmp_parse_args (argc=7, argv=0x2ff22c70, \
session=0x2ff226c0, localOpts=0x2ff22d26 "1", proc=@0x20000a10: 0x10000488 <optProc>) \
at snmp_parse_args.c:621 #7  0x10000884 in main (argc=7, argv=0x2ff22c70) at \
snmpwalk.c:206 (gdb) list
174         oid             root[MAX_OID_LEN];
175         size_t          rootlen;
176         int             count;
177         int             running;
178         int             status;
179         int             check;
180         int             exitval = 0;
181         struct timeval  tv1, tv2;
182
183         netsnmp_ds_register_config(ASN_BOOLEAN, "snmpwalk", "includeRequested",
(gdb)


----------------------------------------------------------------------

> Comment By: Thomas Anders (tanders)
Date: 2009-05-31 21:14

Message:
Is everything else working as expected? E.g. snmpget or using snmpwalk
against a remote agent or snmptranslate or ...?

Also, could you please test with latest SVN (5.4.x or trunk) and report
back?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2798510&group_id=12694

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic