Fun new valgrind warnings in rpc code?

Dan Kegel dank at kegel.com
Wed Nov 11 16:38:27 CST 2009


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?



More information about the wine-devel mailing list