2008/6/3 Largo <[EMAIL PROTECTED]>:
> I have a program which makes use of the net-snmp 5.4.1 API. This program
> worked fine until recently. I've updated some libraries (including net-snmp)
> and now my program crashes because of a segmentation fault.


> The parameter values used in snmp_send seem to be ok. If I comment out the
> snmp_send line, my program does not crash.
>
> Anybody an idea what the problem could be or what I can do to find the
> source of the problem?

Run the program under a debugger, and trigger the crash.
Then look at the code in snmp_sess_async_send()
and see if you can spot anything suspicious in the
parameters to the sendmsg() call.

It might also be worth re-compiling the 'poller' application,
to make sure it's linking with the Net-SNMP libraries correctly.

You say that you've upgraded the Net-SNMP libraries recently?
>From what version?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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