Re: valgrind reporting invalid read error in table_helper_handler()

2010-05-22 Thread Bart Van Assche
On Fri, May 21, 2010 at 2:42 PM, Nick Chalk wrote: > Afternoon all. > > Whilst using valgrind to track down a memory leak in the LVS SNMP > module, we noticed an unrelated error report in snmpd 5.5 itself. > > ==26885== Invalid read of size 4 > ==26885==at 0x4E6A8A3: table_helper_handler (tab

Re: stop trapd serivce on windows timeout?

2010-05-22 Thread Bart Van Assche
Hello Huy, The Win32 snmptrapd calls closesocket() on the UDP socket(s) owned by snmptrapd to make select() stop. While this seems to work with some Windows versions (e.g. Windows XP), this is undocumented Winsock behavior. So whether or not this works may depend on the Windows version. On which W