http://bugs.winehq.org/show_bug.cgi?id=26110
Summary: ole32/marshal test shows several valgrind warnings Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=33290) --> (http://bugs.winehq.org/attachment.cgi?id=33290) valgrind log
Syscall param write(buf) points to uninitialised byte(s) at ??? (in /lib/libpthread-2.11.2.so) by WriteFile (file.c:547) by rpcrt4_conn_np_write (rpc_transport.c:441) by rpcrt4_conn_write (rpc_binding.h:183) by RPCRT4_SendWithAuth (rpc_message.c:849) by RPCRT4_Send (rpc_message.c:1245) by process_request_packet (rpc_server.c:463) by RPCRT4_process_packet (rpc_server.c:518) by RPCRT4_worker_thread (rpc_server.c:540) by worker_thread_proc (threadpool.c:114) by ??? (signal_i386.c:2473) by call_thread_entry_point (signal_i386.c:2499) by start_thread (thread.c:404) by start_thread (in /lib/libpthread-2.11.2.so) by clone (in /lib/libc-2.11.2.so) Address 0x7f030894 is 44 bytes inside a block of size 92 alloc'd at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by RPCRT4_SendWithAuth (rpc_message.c:808) by RPCRT4_Send (rpc_message.c:1245) by process_request_packet (rpc_server.c:463) by RPCRT4_process_packet (rpc_server.c:518) by RPCRT4_worker_thread (rpc_server.c:540) by worker_thread_proc (threadpool.c:114) by ??? (signal_i386.c:2473) by call_thread_entry_point (signal_i386.c:2499) by start_thread (thread.c:404) by start_thread (in /lib/libpthread-2.11.2.so) by clone (in /lib/libc-2.11.2.so) Uninitialised value was created by a client request at mark_block_uninitialized (heap.c:208) by initialize_block (heap.c:239) by RtlAllocateHeap (heap.c:1702) by IMalloc_fnAlloc (ifs.c:186) by CoTaskMemAlloc (ifs.c:395) by RemUnknown_RemQueryInterface (stubmanager.c:664) by IRemUnknown_RemQueryInterface_Stub (dcom_p.c:370) by CStdStubBuffer_Invoke (cstub.c:477) by RPC_ExecuteCall (rpc.c:1414) by apartment_wndproc (compobj.c:897) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by WINPROC_CallProcAtoW (winproc.c:601) by WINPROC_call_window (winproc.c:910) by DispatchMessageA (message.c:3639) by test_register_local_server (marshal.c:2625) by func_marshal (marshal.c:3067) by run_test (test.h:556) by main (test.h:624)
...
24 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by IDefClF_fnConstructor (shellole.c:386) by DllGetClassObject (shellole.c:219) by apartment_getclassobject (compobj.c:806) by apartment_hostobject (compobj.c:879) by apartment_wndproc (compobj.c:900) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by WINPROC_call_window (winproc.c:899) by call_window_proc (message.c:2201) by peek_message (message.c:2775) by GetMessageW (message.c:3511) by apartment_hostobject_thread (compobj.c:942) by ??? (signal_i386.c:2473) by call_thread_entry_point (signal_i386.c:2499) by start_thread (thread.c:404) by start_thread (in /lib/libpthread-2.11.2.so) by clone (in /lib/libc-2.11.2.so)
...
68 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by ClientRpcChannelBuffer_GetBuffer (rpc.c:634) by NdrProxyGetBuffer (cproxy.c:395) by IRemUnknown_RemRelease_Proxy (dcom_p.c:631) by ifproxy_release_public_refs (marshal.c:673) by ifproxy_destroy (marshal.c:708) by proxy_manager_destroy (marshal.c:1109) by ClientIdentity_Release (marshal.c:268) by IUnknown_Release_Proxy (cproxy.c:361) by test_no_couninitialize_server (marshal.c:894) by func_marshal (marshal.c:3095) by run_test (test.h:556) by main (test.h:624)
...
72 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by I_RpcAllocate (rpcrt4_main.c:705) by I_RpcGetBuffer (rpc_message.c:1647) by ClientRpcChannelBuffer_GetBuffer (rpc.c:721) by NdrProxyGetBuffer (cproxy.c:395) by IRemUnknown_RemRelease_Proxy (dcom_p.c:631) by ifproxy_release_public_refs (marshal.c:673) by ifproxy_destroy (marshal.c:708) by proxy_manager_destroy (marshal.c:1109) by ClientIdentity_Release (marshal.c:268) by IUnknown_Release_Proxy (cproxy.c:361) by test_marshal_stub_apartment_shutdown (marshal.c:744) by func_marshal (marshal.c:3092) by run_test (test.h:556) by main (test.h:624)
...
116 bytes in 1 blocks are definitely lost at notify_alloc (heap.c:254) by RtlAllocateHeap (heap.c:1701) by ClientRpcChannelBuffer_GetBuffer (rpc.c:638) by NdrProxyGetBuffer (cproxy.c:395) by IRemUnknown_RemRelease_Proxy (dcom_p.c:631) by ifproxy_release_public_refs (marshal.c:673) by ifproxy_destroy (marshal.c:708) by proxy_manager_destroy (marshal.c:1109) by ClientIdentity_Release (marshal.c:268) by IUnknown_Release_Proxy (cproxy.c:361) by test_no_couninitialize_server (marshal.c:894) by func_marshal (marshal.c:3095) by run_test (test.h:556) by main (test.h:624)
and several possibly losts as well. Full log attached.
http://bugs.winehq.org/show_bug.cgi?id=26110
--- Comment #1 from Austin English austinenglish@gmail.com 2012-09-26 14:40:48 CDT --- Down to 1: Thread 5: Syscall param write(buf) points to uninitialised byte(s) at 0x41982BB: ??? (syscall-template.S:82) by 0x7B83D62A: WriteFile (file.c:551) by 0x4E81D99: rpcrt4_conn_np_write (rpc_transport.c:442) by 0x4E79503: RPCRT4_SendWithAuth (rpc_binding.h:185) by 0x4E7A431: RPCRT4_Send (rpc_message.c:1245) by 0x4E7D903: process_request_packet (rpc_server.c:464) by 0x4E7DBD8: RPCRT4_worker_thread (rpc_server.c:519) by 0x7BC82864: worker_thread_proc (threadpool.c:114) by 0x7BC772DF: ??? (in /home/austin/wine-git/dlls/ntdll/ntdll.dll.so) by 0x7BC79FFC: call_thread_func (signal_i386.c:2522) by 0x7BC772BD: ??? (in /home/austin/wine-git/dlls/ntdll/ntdll.dll.so) by 0x7BC7FD2C: start_thread (thread.c:408) by 0x4190C38: start_thread (pthread_create.c:304) by 0x427423D: clone (clone.S:130) Address 0x7f02e5d4 is 44 bytes inside a block of size 92 alloc'd at 0x7BC4AF30: RtlAllocateHeap (heap.c:254) by 0x4E7943C: RPCRT4_SendWithAuth (rpc_message.c:808) by 0x4E7A431: RPCRT4_Send (rpc_message.c:1245) by 0x4E7D903: process_request_packet (rpc_server.c:464) by 0x4E7DBD8: RPCRT4_worker_thread (rpc_server.c:519) by 0x7BC82864: worker_thread_proc (threadpool.c:114) by 0x7BC772DF: ??? (in /home/austin/wine-git/dlls/ntdll/ntdll.dll.so) by 0x7BC79FFC: call_thread_func (signal_i386.c:2522) by 0x7BC772BD: ??? (in /home/austin/wine-git/dlls/ntdll/ntdll.dll.so) by 0x7BC7FD2C: start_thread (thread.c:408) by 0x4190C38: start_thread (pthread_create.c:304) by 0x427423D: clone (clone.S:130) Uninitialised value was created by a client request at 0x7BC4AFB9: RtlAllocateHeap (heap.c:208) by 0x4ACADA8: IMalloc_fnAlloc (ifs.c:186) by 0x4ACB2BA: CoTaskMemAlloc (objidl.h:1231) by 0x4AFCA49: RemUnknown_RemQueryInterface (stubmanager.c:664) by 0x4B07377: IRemUnknown_RemQueryInterface_Stub (dcom_p.c:369) by 0x4E51CCA: CStdStubBuffer_Invoke (cstub.c:477) by 0x4AE5517: RPC_ExecuteCall (objidl.h:9081) by 0x4AAE34F: apartment_wndproc (compobj.c:1047) by 0x4CBCDB9: ??? (in /home/austin/wine-git/dlls/user32/user32.dll.so) by 0x4CBD51B: call_window_proc (winproc.c:242) by 0x4CBEBAF: WINPROC_CallProcAtoW (winproc.c:502) by 0x4CBFD3A: WINPROC_call_window (winproc.c:910) by 0x4C81882: DispatchMessageA (message.c:3870) by 0x48FDA40: test_register_local_server (marshal.c:2640) by 0x4908784: func_marshal (marshal.c:3157) by 0x48EC456: main (test.h:557)
wine-1.5.13-346-g0445393
https://bugs.winehq.org/show_bug.cgi?id=26110
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33290|0 |1 is obsolete| |
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 48233 --> https://bugs.winehq.org/attachment.cgi?id=48233 valgrind log in wine-1.7.17-42-g24c5728
https://bugs.winehq.org/show_bug.cgi?id=26110
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind