http://bugs.winehq.org/show_bug.cgi?id=26109
Summary: ole32/hglobalstream tests shows a valgrind warning Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: minor Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Invalid read of size 2 at GlobalLock (heap.c:439) by HGLOBALStreamImpl_Read (hglobalstream.c:235) by test_freed_hglobal (hglobalstream.c:490) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624) Address 0x7f02a440 is 0 bytes inside a block of size 8 free'd at notify_free (heap.c:262) by RtlFreeHeap (heap.c:1747) by HeapFree (heap.c:272) by GlobalFree (heap.c:770) by test_freed_hglobal (hglobalstream.c:486) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624)
...
Invalid read of size 4 at GlobalReAlloc (heap.c:669) by HGLOBALStreamImpl_SetSize (hglobalstream.c:446) by test_freed_hglobal (hglobalstream.c:496) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624) Address 0x7f02a442 is 2 bytes inside a block of size 8 free'd at notify_free (heap.c:262) by RtlFreeHeap (heap.c:1747) by HeapFree (heap.c:272) by GlobalFree (heap.c:770) by test_freed_hglobal (hglobalstream.c:486) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624)
...
Invalid read of size 4 at GlobalReAlloc (heap.c:669) by HGLOBALStreamImpl_SetSize (hglobalstream.c:446) by HGLOBALStreamImpl_Write (hglobalstream.c:313) by test_freed_hglobal (hglobalstream.c:499) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624) Address 0x7f02a442 is 2 bytes inside a block of size 8 free'd at notify_free (heap.c:262) by RtlFreeHeap (heap.c:1747) by HeapFree (heap.c:272) by GlobalFree (heap.c:770) by test_freed_hglobal (hglobalstream.c:486) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624)
...
Invalid read of size 4 at GlobalReAlloc (heap.c:676) by HGLOBALStreamImpl_SetSize (hglobalstream.c:446) by HGLOBALStreamImpl_Write (hglobalstream.c:313) by test_freed_hglobal (hglobalstream.c:499) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624) Address 0x7f02a442 is 2 bytes inside a block of size 8 free'd at notify_free (heap.c:262) by RtlFreeHeap (heap.c:1747) by HeapFree (heap.c:272) by GlobalFree (heap.c:770) by test_freed_hglobal (hglobalstream.c:486) by func_hglobalstream (hglobalstream.c:517) by run_test (test.h:556) by main (test.h:624)
http://bugs.winehq.org/show_bug.cgi?id=26109
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|ole32/hglobalstream tests |ole32/hglobalstream tests |shows a valgrind warning |shows a few valgrind | |warnings
http://bugs.winehq.org/show_bug.cgi?id=26109
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #1 from Dan Kegel dank@kegel.com 2011-10-16 04:16:37 CDT --- Still happening, but test_freed_hglobal() probably intends those. I'm not sure they can be avoided. Invalid?
http://bugs.winehq.org/show_bug.cgi?id=26109
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2011-10-16 12:41:36 CDT --- Not a bug, it's doing that on purpose.
http://bugs.winehq.org/show_bug.cgi?id=26109
--- Comment #3 from Dan Kegel dank@kegel.com 2011-10-16 21:58:07 CDT --- Created attachment 36940 --> http://bugs.winehq.org/attachment.cgi?id=36940 patch to make test function show up reliably in backtrace
http://bugs.winehq.org/show_bug.cgi?id=26109
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com 2011-10-17 16:06:40 CDT --- Closing.