Hi Thomas,

I gave the path to the executable module is still has the same
information.


 /home/snmp/netsnmp/net-snmp-5.2.1/apps
$ cd /home/snmp/snmpcol/bin
$ gdb /home/snmp/netsnmp/net-snmp-5.2.1/apps/snmptrapd core
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
"sparc-sun-solaris2.8"..."/home/snmp/netsnmp/net-snmp-5.2.1/apps/snmptra
pd": not in executable format: File format not recognized

Core was generated by `snmptrapd -f -F
%N|%w%q|%#y%#02m%#02l_%#02.2h%#02.2j%#02.2k|%A|%B|%-v\n -OTausQ'.
Program terminated with signal 11, Segmentation fault.
#0  0xff196054 in ?? ()
(gdb) bt
#0  0xff196054 in ?? ()
#1  0xff19a57c in ?? ()
#2  0xff375d6c in ?? ()
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) q
$ pwd
/home/snmp/snmpcol/bin
$ 

Any other suggestion ?

Thanks.

Lan

-----Original Message-----
From: Thomas Anders [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 17, 2005 5:40 PM
To: Wu, Lan, ALABS
Subject: Re: snmptrapd memory leak ??

Wu, Lan, ALABS wrote:
>  
> Hi Thomas,
> 
> See results:
> 
> /home/snmp/snmpcol/bin
> $ gdb /home/snmp/snmpcol/bin core

You need to give the path to the executable, *including* the executable!
Probably:

gdb /home/snmp/snmpcol/sbin/snmptrapd core

or something such as that.

Then repost to the list.


+Thomas

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




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to