[snmp] deadlock when destroying a context

Tim Panton thp at westhawk.co.uk
Fri Jan 26 11:27:39 GMT 2007


On 23 Jan 2007, at 18:48, Josh Bers wrote:

> When using a context to send a trap pdu my code runs into a thread  
> deadlock
> in the stack. One thread is destroying the context while the other is
> transmitting.  The stack should protect against this kind of deadlock

Ugh, thanks for spotting this!

Do you have a small bit of test code that reproduces it ?
(and any environment factors - dual core? etc)

I'll take a look next week and see if we can come up with a patch...

Tim.






More information about the snmp mailing list