https://bugs.winehq.org/show_bug.cgi?id=36133
Bug ID: 36133 Summary: valgrind shows some leaks in gdiplus/tests/image.c Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==29933== 16 bytes in 1 blocks are definitely lost in loss record 108 of 637 ==29933== at 0x7BC4C735: notify_alloc (heap.c:255) ==29933== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==29933== by 0x681EB57: ungif_alloc (ungif.c:61) ==29933== by 0x681EC67: MakeMapObject (ungif.c:155) ==29933== by 0x681F3DB: DGifGetImageDesc (ungif.c:413) ==29933== by 0x682002D: DGifSlurp (ungif.c:891) ==29933== by 0x67EC347: GifDecoder_Initialize (gifformat.c:1131) ==29933== by 0x4E99484: decode_image_wic (wincodec.h:3511) ==29933== by 0x4E99E21: decode_image_gif (image.c:3580) ==29933== by 0x4E9A806: GdipLoadImageFromStream (image.c:3777) ==29933== by 0x49ACB7F: load_image (image.c:2793) ==29933== by 0x49B2659: test_gif_properties (image.c:4032) ==29933== by 0x49B4628: func_image (image.c:4293) ==29933== by 0x49D96B0: run_test (test.h:584) ==29933== by 0x49D9A9F: main (test.h:654) ==29933==
==29933== 16 bytes in 1 blocks are definitely lost in loss record 109 of 637 ==29933== at 0x7BC4C735: notify_alloc (heap.c:255) ==29933== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==29933== by 0x681EB57: ungif_alloc (ungif.c:61) ==29933== by 0x681EC67: MakeMapObject (ungif.c:155) ==29933== by 0x681F3DB: DGifGetImageDesc (ungif.c:413) ==29933== by 0x682002D: DGifSlurp (ungif.c:891) ==29933== by 0x67EC347: GifDecoder_Initialize (gifformat.c:1131) ==29933== by 0x4E99484: decode_image_wic (wincodec.h:3511) ==29933== by 0x4E99E21: decode_image_gif (image.c:3580) ==29933== by 0x4E9A687: GdipImageSelectActiveFrame (image.c:3742) ==29933== by 0x49B286A: test_gif_properties (image.c:4051) ==29933== by 0x49B4628: func_image (image.c:4293) ==29933== by 0x49D96B0: run_test (test.h:584) ==29933== by 0x49D9A9F: main (test.h:654) ==29933==
==29933== 28 bytes in 1 blocks are possibly lost in loss record 182 of 637 ==29933== at 0x7BC4C735: notify_alloc (heap.c:255) ==29933== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==29933== by 0x5C308B6: COMPOBJ_DllList_Add (compobj.c:526) ==29933== by 0x5C32BF2: apartment_getclassobject (compobj.c:1335) ==29933== by 0x5C3633C: get_inproc_class_object (compobj.c:2894) ==29933== by 0x5C367FB: CoGetClassObject (compobj.c:3032) ==29933== by 0x5C36DBD: CoCreateInstance (compobj.c:3197) ==29933== by 0x4E9943F: decode_image_wic (image.c:3403) ==29933== by 0x4E99E64: decode_image_tiff (image.c:3585) ==29933== by 0x4E9A806: GdipLoadImageFromStream (image.c:3777) ==29933== by 0x49ACB7F: load_image (image.c:2793) ==29933== by 0x49AFBF6: test_tiff_palette (image.c:3424) ==29933== by 0x49B4619: func_image (image.c:4290) ==29933== by 0x49D96B0: run_test (test.h:584) ==29933== by 0x49D9A9F: main (test.h:654) ==29933==
http://bugs.winehq.org/show_bug.cgi?id=36133
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|gdiplus |windowscodecs
--- Comment #1 from Vincent Povirk madewokherd@gmail.com --- I don't think we should be checking SavedImages here: http://source.winehq.org/source/dlls/windowscodecs/ungif.c#L408
https://bugs.winehq.org/show_bug.cgi?id=36133
--- Comment #2 from Austin English austinenglish@gmail.com --- One more: ==28115== 116 bytes in 1 blocks are definitely lost in loss record 387 of 603 ==28115== at 0x7BC4C735: notify_alloc (heap.c:255) ==28115== by 0x7BC50F79: RtlAllocateHeap (heap.c:1716) ==28115== by 0x4C3F551: GdipAlloc (gdiplus.c:142) ==28115== by 0x4C69835: GdipCreateBitmapFromScan0 (image.c:1828) ==28115== by 0x4C71820: GdipGetImageThumbnail (image.c:4705) ==28115== by 0x49A1C7E: test_image_format (image.c:3825) ==28115== by 0x49A4725: func_image (image.c:4286) ==28115== by 0x49C97D0: run_test (test.h:584) ==28115== by 0x49C9BBF: main (test.h:654) ==28115==
https://bugs.winehq.org/show_bug.cgi?id=36133
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36133
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|windowscodecs |gdiplus
--- Comment #3 from Vincent Povirk madewokherd@gmail.com --- I don't have the setup to test this, but it should be fixed by 2827a1a460a509d4b91f76d822295ec3a1a9a4d4.
https://bugs.winehq.org/show_bug.cgi?id=36133
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2827a1a460a509d4b91f76d8222 | |95ec3a1a9a4d4 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Vincent Povirk from comment #3)
I don't have the setup to test this, but it should be fixed by 2827a1a460a509d4b91f76d822295ec3a1a9a4d4.
Yep, thanks.
https://bugs.winehq.org/show_bug.cgi?id=36133
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.40.