https://bugs.winehq.org/show_bug.cgi?id=46692
Bug ID: 46692 Summary: valgrind shows several invalid frees in rpcrt4/tests/server.c Product: Wine Version: 4.2 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: rpc Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
For example: ==3664== 1 errors in context 1 of 15: ==3664== Thread 6: ==3664== Invalid free() / delete / delete[] / realloc() ==3664== at 0x7BC48AEE: notify_free (heap.c:268) ==3664== by 0x7BC4B68D: RtlFreeHeap (heap.c:1772) ==3664== by 0x4A95E0E: MIDL_user_free (server.c:287) ==3664== by 0x541F5C2: NdrFree (ndr_marshall.c:463) ==3664== by 0x54246C3: PointerFree (ndr_marshall.c:1171) ==3664== by 0x5424761: NdrPointerFree (ndr_marshall.c:1649) ==3664== by 0x542EF28: call_freer (ndr_stubless.c:148) ==3664== by 0x5430110: stub_do_args (ndr_stubless.c:1214) ==3664== by 0x5431C9B: NdrStubCall2 (ndr_stubless.c:1502) ==3664== by 0x5431DB5: NdrServerCall2 (ndr_stubless.c:1539) ==3664== by 0x5440612: process_request_packet (rpc_server.c:439) ==3664== by 0x5441615: RPCRT4_process_packet (rpc_server.c:517) ==3664== by 0x54416A6: RPCRT4_worker_thread (rpc_server.c:539) ==3664== by 0x7BC858C7: process_rtl_work_item (threadpool.c:349) ==3664== by 0x7BC86E2B: threadpool_worker_proc (threadpool.c:2126) ==3664== by 0x7BC785A3: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==3664== by 0x7BC7BA7E: call_thread_func (signal_i386.c:2701) ==3664== by 0x7BC78595: ??? (in /home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so) ==3664== Address 0x4ac14dc is in a r-x mapped file /home/austin/wine-valgrind/dlls/rpcrt4/tests/rpcrt4_test.exe.so segment ==3664==