Fun new valgrind warnings in rpc code?

Rob Shearman robertshearman at gmail.com
Wed Nov 11 17:06:21 CST 2009


2009/11/11 Dan Kegel <dank at kegel.com>:
> As of today, six tests:
>
> http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/diff-rpcrt4_server.txt
> http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/diff-ole32_marshal.txt
> http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/diff-ole32_moniker.txt
> http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/diff-rpcrt4_ndr_marshall.txt
> http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/diff-ole32_moniker.txt
> http://kegel.com/wine/valgrind/logs/2009-11-11-07.36/diff-rpcrt4_server.txt
>
> all report the new valgrind warning
>
>  Syscall param socketcall.send(msg) points to uninitialised byte(s)
>    at  send (socket.S:100)
>    by  rpcrt4_conn_write (rpc_binding.h:170)
>    by  RPCRT4_SendWithAuth (rpc_message.c:841)
>    by  RPCRT4_Send (rpc_message.c:983)
>    by  process_bind_packet (rpc_server.c:281)
>    by  RPCRT4_process_packet (rpc_server.c:412)
>    by  RPCRT4_worker_thread (rpc_server.c:435)
>    by  worker_thread_proc (threadpool.c:114)
>    by  ??? (signal_i386.c:2279)
>    by  call_thread_entry_point (signal_i386.c:2306)
>    by  start_thread (thread.c:469)
>    by  start_thread (pthread_create.c:297)
>    by  clone (clone.S:130)
>  Address 0x7f037e28 is 40 bytes inside a block of size 60 alloc'd
>    at  notify_alloc (heap.c:214)
>    by  RtlAllocateHeap (heap.c:1421)
>    by  RPCRT4_SendWithAuth (rpc_message.c:800)
>    by  RPCRT4_Send (rpc_message.c:983)
>    by  process_bind_packet (rpc_server.c:281)
>    by  RPCRT4_process_packet (rpc_server.c:412)
>    by  RPCRT4_worker_thread (rpc_server.c:435)
>    by  worker_thread_proc (threadpool.c:114)
>    by  ??? (signal_i386.c:2279)
>    by  call_thread_entry_point (signal_i386.c:2306)
>    by  start_thread (thread.c:469)
>    by  start_thread (pthread_create.c:297)
>    by  clone (clone.S:130)
>  Uninitialised value was created by a client request
>    at  mark_block_uninitialized (heap.c:187)
>    by  RtlAllocateHeap (heap.c:1429)
>    by  I_RpcAllocate (rpcrt4_main.c:574)
>    by  RPCRT4_ReceiveWithAuth (rpc_message.c:1160)
>    by  RPCRT4_Receive (rpc_message.c:1298)
>    by  RPCRT4_io_thread (rpc_server.c:453)
>    by  ??? (signal_i386.c:2279)
>    by  call_thread_entry_point (signal_i386.c:2306)
>    by  start_thread (thread.c:469)
>    by  start_thread (pthread_create.c:297)
>    by  clone (clone.S:130)
>
> I don't think that happened before today.
>
> Rob/Hans, could you have a look?

Probably caused by:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=59ba6d2573532c15e2487bbc86f6bb93022c1d38

I'll take a look.

-- 
Rob Shearman



More information about the wine-devel mailing list