https://bugs.winehq.org/show_bug.cgi?id=36343
Bug ID: 36343 Summary: valgrind shows some leaks in ddraw/tests/ddraw4.c Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==28085== 20 bytes in 1 blocks are definitely lost in loss record 208 of 1,106 ==28085== at 0x7BC50A9B: RtlAllocateHeap (heap.c:255) ==28085== by 0x4A8BA7E: DirectDrawCreateClipper (ddraw.c:3274) ==28085== by 0x4A8BC42: ddraw7_CreateClipper (ddraw.c:3309) ==28085== by 0x4A8BCEF: ddraw4_CreateClipper (ddraw.c:3320) ==28085== by 0x4D7985C: test_clipper_blt (ddraw4.c:786) ==28085== by 0x4D8B583: func_ddraw4 (ddraw4.c:7301) ==28085== by 0x4DDD6DC: run_test (test.h:584) ==28085== by 0x4DDDACB: main (test.h:654) ==28085==
==28085== 28 bytes in 1 blocks are possibly lost in loss record 285 of 1,106 ==28085== at 0x7BC50A9B: RtlAllocateHeap (heap.c:255) ==28085== by 0x5FCEBB8: apartment_getclassobject (compobj.c:526) ==28085== by 0x5FD1FC6: get_inproc_class_object (compobj.c:2894) ==28085== by 0x5FD4D2F: CoGetClassObject (compobj.c:3032) ==28085== by 0x5FD54B7: CoCreateInstance (compobj.c:3197) ==28085== by 0x4D9093C: func_ddraw4 (ddraw4.c:3233) ==28085== by 0x4DDD6DC: run_test (test.h:584) ==28085== by 0x4DDDACB: main (test.h:654) ==28085==
==28085== 92 bytes in 1 blocks are possibly lost in loss record 550 of 1,106 ==28085== at 0x7BC50A9B: RtlAllocateHeap (heap.c:255) ==28085== by 0x4A82099: d3d3_CreateViewport (ddraw.c:3941) ==28085== by 0x4D859FB: create_viewport.constprop.6 (ddraw4.c:310) ==28085== by 0x4D8786C: test_lighting_interface_versions (ddraw4.c:3767) ==28085== by 0x4D91469: func_ddraw4 (ddraw4.c:7326) ==28085== by 0x4DDD6DC: run_test (test.h:584) ==28085== by 0x4DDDACB: main (test.h:654) ==28085==
==28085== 148 bytes in 1 blocks are possibly lost in loss record 752 of 1,106 ==28085== at 0x40087BA: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==28085== by 0x74466AF: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==28085== by 0x7441294: drm_intel_bo_alloc (in /usr/lib/libdrm_intel.so.1.0.0) ==28085== by 0x7052078: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x70524E1: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x6DCE2FA: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x6B80BFD: shared_dispatch_stub_462 (in /usr/lib/libglapi.so.0.0.0) ==28085== by 0x51C7020: surface_prepare_map_memory (surface.c:563) ==28085== by 0x51D2387: surface_realize_palette (surface.c:783) ==28085== by 0x51C7EAA: wined3d_surface_set_palette (surface.c:2403) ==28085== by 0x4AA277B: ddraw_surface_set_palette (surface.c:472) ==28085== by 0x4AA2A23: ddraw_surface4_SetPalette (surface.c:4695) ==28085== by 0x4D819F2: test_palette_gdi (ddraw4.c:7163) ==28085== by 0x4D92809: func_ddraw4 (ddraw4.c:7348) ==28085== by 0x4DDD6DC: run_test (test.h:584) ==28085== by 0x4DDDACB: main (test.h:654) ==28085==
==28085== 4,096 bytes in 1 blocks are definitely lost in loss record 1,066 of 1,106 ==28085== at 0x74456F1: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==28085== by 0x7441378: drm_intel_bo_map (in /usr/lib/libdrm_intel.so.1.0.0) ==28085== by 0x7056342: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x7057B14: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x705E23D: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x6E8D781: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x7060E0E: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x6E76789: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x6E7ADE9: ??? (in /usr/lib/dri/i965_dri.so) ==28085== by 0x6A31BD5: glTexSubImage2D (in /usr/lib/libGL.so.1.2.0) ==28085== by 0x51C54E9: surface_upload_data (surface.c:1680) ==28085== by 0x51D1447: surface_load_texture (surface.c:5062) ==28085== by 0x51CBD1C: surface_load_location (surface.c:5155) ==28085== by 0x51CDCCE: surface_load (surface.c:2192) ==28085== by 0x51DB1F1: wined3d_texture_load (texture.c:539) ==28085== by 0x5133092: arbfp_blit_surface (arb_program_shader.c:7652) ==28085== by 0x51D37B6: wined3d_surface_blt (surface.c:6260) ==28085== by 0x4AADA52: ddraw_surface7_Blt (surface.c:1381) ==28085== by 0x4AAE5F6: ddraw_surface4_Blt (surface.c:1558) ==28085== by 0x4D7B843: test_p8_rgb_blit (ddraw4.c:6812) ==28085==
https://bugs.winehq.org/show_bug.cgi?id=36343
--- Comment #1 from Austin English austinenglish@gmail.com --- One more: ==29418== 4,096 bytes in 1 blocks are definitely lost in loss record 1,103 of 1,142 ==29418== at 0x74456F1: ??? (in /usr/lib/libdrm_intel.so.1.0.0) ==29418== by 0x7441378: drm_intel_bo_map (in /usr/lib/libdrm_intel.so.1.0.0) ==29418== by 0x7056342: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x7057B14: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x705E23D: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x6E8D781: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x7060E0E: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x6E76789: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x6E7ADE9: ??? (in /usr/lib/dri/i965_dri.so) ==29418== by 0x6A31BD5: glTexSubImage2D (in /usr/lib/libGL.so.1.2.0) ==29418== by 0x51C54E9: surface_upload_data (surface.c:1680) ==29418== by 0x51D1447: surface_load_texture (surface.c:5062) ==29418== by 0x51CBD1C: surface_load_location (surface.c:5155) ==29418== by 0x51CDCCE: surface_load (surface.c:2192) ==29418== by 0x51DB1F1: wined3d_texture_load (texture.c:539) ==29418== by 0x5144EC5: context_apply_blit_state (context.c:2246) ==29418== by 0x51330A1: arbfp_blit_surface (arb_program_shader.c:7654) ==29418== by 0x51D37B6: wined3d_surface_blt (surface.c:6260) ==29418== by 0x4AA9A52: ddraw_surface7_Blt (surface.c:1381) ==29418== by 0x4AAA5F6: ddraw_surface4_Blt (surface.c:1558) ==29418==
https://bugs.winehq.org/show_bug.cgi?id=36343
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36343
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- What about this bug with current wine(3.20)?
https://bugs.winehq.org/show_bug.cgi?id=36343
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com --- Not seeing this in wine-4.0-407-gf7b3120991
https://bugs.winehq.org/show_bug.cgi?id=36343
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.2.