>     I am getting this segmentation fault error while trying to run
> snmpd under cygwin gdb. Any suggestions or ideas?

This *might* be a bug in the Windows library, as William suggests.
But it might also be a result of a failure in higher level code.

I'd suggest that before trying to point the finger as MS code,
it would be worth looking a little more closely at exactly *where*
the agent is failing, and hopefully *why*.



> (gdb) file /usr/local/sbin/snmpd
> Reading symbols from /usr/local/sbin/snmpd...done.
> (gdb) run -f -L
> Starting program: /usr/local/sbin/snmpd.exe -f -L
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x77e75a3d in KERNEL32!IsBadWritePtr ()
>    from /cygdrive/c/WINDOWS/system32/kernel32.dll
> (gdb)

Try
    (gdb)  bt

to display the stack trace of the agent at this point.
Then use "up" to go back up the stack, until you get to
Net-SNMP code.   What was the call that triggered the crash,
and what were the parameter values?

Dave




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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