https://bugs.winehq.org/show_bug.cgi?id=36706
Bug ID: 36706 Summary: valgrind shows several warnings in rpcrt4/tests/ndr_marshal.c Product: Wine Version: 1.7.19 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
Created attachment 48750 --> https://bugs.winehq.org/attachment.cgi?id=48750 valgrind log
These only seem to appear when running the full test suite. Just running 'make ndr_marshal.ok' doesn't seem to be enough to trigger it.
../../../tools/runtest -q -P wine -T ../../.. -M rpcrt4.dll -p rpcrt4_test.exe.so ndr_marshall && touch ndr_marshall.ok preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 fixme:ole:PointerUnmarshall free object pointer 0x499cd38 fixme:ole:PointerUnmarshall free object pointer 0x499cd60 ==6421== Thread 3: ==6421== Invalid read of size 4 ==6421== at 0x60FDF90: ??? (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.0/32/libgcc_s.so.1) ==6421== by 0x610E95C: ??? (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.0/32/libgcc_s.so.1) ==6421== by 0x610F101: ??? (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.0/32/libgcc_s.so.1) ==6421== by 0x610F65C: _Unwind_ForcedUnwind (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.0/32/libgcc_s.so.1) ==6421== by 0x422B9F1: _Unwind_ForcedUnwind (unwind-forcedunwind.c:137) ==6421== by 0x4229732: __pthread_unwind (unwind.c:129) ==6421== by 0x4224080: pthread_exit (pthreadP.h:280) ==6421== by 0x7BC9053D: terminate_thread (thread.c:349) ==6421== by 0x7BC88B19: ??? (signal_i386.c:2571) ==6421== by 0x621F357: ??? ==6421== by 0x4222F92: start_thread (pthread_create.c:309) ==6421== by 0x43277ED: clone (clone.S:129) ==6421== Address 0x6117080 is on thread 1's stack ==6421==
etc. Full log attached.