Re: Net-SNMP 5.1.2 core dumping

This is a discussion on Re: Net-SNMP 5.1.2 core dumping within the SNMP Users forums, part of the Networking and Network Related category; Hey there, thanks for the response. I can't reproduce the fail right now to get the backtrace and send ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-13-2005
Fabio Margarido
 
Posts: n/a
Default Re: Net-SNMP 5.1.2 core dumping

Hey there, thanks for the response.

I can't reproduce the fail right now to get the backtrace and send ito
to you, cause there's only two machines available and they're
currenlty being used for testing, so maybe tomorrow I can do it. Then
I'll post it here.

About the other question, the traps are being sent with the
send_v2trap call. I was thinking maybe issues with memory allocation
or local/global variables with the parameters for
snmp_varlist_add_variable. Just a guess.

If there's some help you could provide with this information that
would be great. I'll post the backtrace as soon as I can get it
anyway.

Thanks in advance.

Fabio

On 4/13/05, Robert Story <rstory@freesnmp.com> wrote:
> On Tue, 12 Apr 2005 08:14:13 -0300 Fabio wrote:
> FM> We're currently using Net-SNMP 5.1.2 in an embedded system, and snmpd
> FM> is showing strange behaviour in the following situation: if the
> FM> sub-agent sends snmpd a trap to be handled while it's processing
> FM> another request, a "get" for instance, snmpd segfaults.
>=20
> If you are having problems with an application crashing, it is very helpf=

ul
> to have a backtrace (aka stack trace) at the point of the crash. If you c=

an
> run the application with GDB and reproduce the problem, the 'backtrace'
> command should print this information for you.
>=20
> FM> I'd like to know if someone has experienced the same difficulties wit=

h
> FM> this version, and if the newest release version fixes this. We
> FM> wouldn't like to go through all the trouble of cross-compiling and
> FM> replacing all systems with another version unless we know it's going
> FM> to solve our problem.
>=20
> You could always just try one system to see if it has been fixed for 5.2.=

1. But
> I'd guess it probably hasn't.
>=20
> How are you sending the traps? Using the high level APIs (eg send_easy_tr=

ap),
> or building PDUs yourself and sending them?
>=20
> If your snmpd configure to send traps or informs?
>=20
> --
> NOTE: messages sent directly to me, instead of the lists, will be deleted
> unless they are requests for paid consulting services.
>=20
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
> Archive: <http://sourceforge.net/mailarchive/f...=3Dnet-snmp-u=

sers>
>=20
> You are lost in a twisty maze of little standards, all different.
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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
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

vB 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:44 PM.


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