Hi All,
Please help me to solve this problem.Y_Y
#cd /usr/local/sbin
:/usr/local/sbin#gdb snmpd
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
(gdb) run -f -Le
Starting program: /usr/local/sbin/snmpd -f -Le
NET-SNMP version 5.4.2.1
Program received signal SIGSEGV, Segmentation fault.
0x0000d410 in ?? ()
(gdb) print HRFS_entry
$1 = 538191076
(gdb) print *HRFS_entry
$2 = 538188396
(gdb) print storage_type_id
$3 = {1, 3, 6, 1, 2, 1, 25, 2, 1, 1}
(gdb) print storage_type_len
$4 = 10
(gdb) print storage_type_id[ storage_type_len-1 ]
$5 = 1
(gdb) print var_len
No symbol "var_len" in current context.
Best Regards,
________________________________
From: Dave Shield <d.t.shi...@liverpool.ac.uk>
To: down Load <engl...@yahoo.com>
Cc: net-snmp-coders@lists.sourceforge.net
Sent: Thursday, April 9, 2009 4:50:21 AM
Subject: Re: Segmentation fault(coredump)
2009/4/8 down Load <engl...@yahoo.com>:
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000d410 in ?? ()
Hmmm.... that's not really very informative.
I'd hoped to get something a little more meaningful as to exactly which
line was triggering the problem.
> 4) (gdb) print HRFS_entry
> $1 = 538197124
> (gdb) print *HRFS_entry
> $2 = 538194444
That's not much better.
It seems to indicate that it isn't a simple NULL-deferencing
(which was my first thought), but not much more.
I'm afraid that's probably the limit of the assistance I can offer.
Maybe someone with more experience of AIX can take over....
Dave
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders