Valgrind errors up the yin-yang in CloseServiceHandle

Dan Kegel dank at kegel.com
Mon Mar 31 19:26:51 CDT 2008


I don't have the full results yet, but here's a clue as to today's
warn+heap regression referred to in http://bugs.winehq.org/show_bug.cgi?id=12246
that affects every program:

==12026== Invalid read of size 4
==12026==    at 0x4BDAECD: RPCRT4_CloseBinding (rpc_binding.c:301)
==12026==    by 0x4BE0DB3: I_RpcFreeBuffer (rpc_message.c:1116)
==12026==    by 0x4BC0BB2: NdrFreeBuffer (ndr_clientserver.c:173)
==12026==    by 0x49375E6: svcctl_CloseServiceHandle (svcctl_c.c:119)
==12026==    by 0x492F024: CloseServiceHandle (service.c:1008)
...
==12026==  Address 0x7f000ec0 is not stack'd, malloc'd or (recently) free'd

==12019== Invalid read of size 4
==12019==    at 0x46E7F47: RtlEnterCriticalSection (critsection.c:482)
==12019==    by 0x4986763: RpcAssoc_ReleaseIdleConnection (rpc_assoc.c:408)
==12019==    by 0x4987F32: RPCRT4_CloseBinding (rpc_binding.c:308)
==12019==    by 0x498DDB3: I_RpcFreeBuffer (rpc_message.c:1116)
==12019==    by 0x496DBB2: NdrFreeBuffer (ndr_clientserver.c:173)
==12019==    by 0x493E5E6: svcctl_CloseServiceHandle (svcctl_c.c:119)
==12019==    by 0x4936024: CloseServiceHandle (service.c:1008)
==12019==    by 0x48F4206: main (wineboot.c:586)
==12019==  Address 0x7f000da4 is not stack'd, malloc'd or (recently) free'd

==12019== Invalid read of size 4
==12019==    at 0x4986764: RpcAssoc_ReleaseIdleConnection (rpc_assoc.c:409)
==12019==    by 0x4987F32: RPCRT4_CloseBinding (rpc_binding.c:308)
==12019==    by 0x498DDB3: I_RpcFreeBuffer (rpc_message.c:1116)
==12019==    by 0x496DBB2: NdrFreeBuffer (ndr_clientserver.c:173)
==12019==    by 0x493E5E6: svcctl_CloseServiceHandle (svcctl_c.c:119)
==12019==    by 0x4936024: CloseServiceHandle (service.c:1008)
==12019==    by 0x48F4206: main (wineboot.c:586)
==12019==  Address 0x7f000d8c is not stack'd, malloc'd or (recently) free'd



More information about the wine-devel mailing list