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 <[EMAIL PROTECTED]> 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.
> 
> If you are having problems with an application crashing, it is very helpful
> to have a backtrace (aka stack trace) at the point of the crash. If you can
> run the application with GDB and reproduce the problem, the 'backtrace'
> command should print this information for you.
> 
> FM> I'd like to know if someone has experienced the same difficulties with
> 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.
> 
> 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.
> 
> How are you sending the traps? Using the high level APIs (eg send_easy_trap),
> or building PDUs yourself and sending them?
> 
> If your snmpd configure to send traps or informs?
> 
> --
> NOTE: messages sent directly to me, instead of the lists, will be deleted
>       unless they are requests for paid consulting services.
> 
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
> 
> 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_ide95&alloc_id396&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/listinfo/net-snmp-users

Reply via email to