https://bugs.winehq.org/show_bug.cgi?id=36669
Bug ID: 36669 Summary: ddraw/tests/visual.c crash under valgrind/i965 Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
Created attachment 48715 --> https://bugs.winehq.org/attachment.cgi?id=48715 valgrind log/backtrace
6 0x0656aba6 glGetTexImage+0x45() in libgl.so.1 (0x04d4f1d8) 7 0x04eb8aa4 match_broken_arb_fog+0xfd6(gl_info=0x8c4ad4c, gl_renderer="Mesa DRI Intel(R) Ivybridge Mobile ", gl_vendor=GL_VENDOR_MESA, card_vendor=HW_VENDOR_INTEL, device=CARD_INTEL_IVBM) [/home/austin/wine-valgrind/dlls/wined3d/directx.c:857] in wined3d (0x04d4f1d8) 8 0x04eb9ae9 fixup_extensions+0x57(gl_info=0x8c4ad4c, gl_renderer="Mesa DRI Intel(R) Ivybridge Mobile ", gl_vendor=GL_VENDOR_MESA, card_vendor=HW_VENDOR_INTEL, device=CARD_INTEL_IVBM) [/home/austin/wine-valgrind/dlls/wined3d/directx.c:1542] in wined3d (0x04d4f218) 9 0x04ebff8b wined3d_adapter_init_gl_caps+0x166d(adapter=0x8c4ad3c) [/home/austin/wine-valgrind/dlls/wined3d/directx.c:3131] in wined3d (0x04d4f3f8) 10 0x04ec545e wined3d_adapter_init+0x372(adapter=0x8c4ad3c, ordinal=0) [/home/austin/wine-valgrind/dlls/wined3d/directx.c:5180] in wined3d (0x04d4f808) 11 0x04ec59b7 wined3d_init+0xb3(wined3d=0x8c4ad30, flags=0x5) [/home/austin/wine-valgrind/dlls/wined3d/directx.c:5272] in wined3d (0x04d4f838) 12 0x04f6e918 wined3d_create+0xc3(flags=<couldn't compute location>) [/home/austin/wine-valgrind/dlls/wined3d/wined3d_main.c:105] in wined3d (0x04d4f8a8) 13 0x04b94e5c ddraw_init+0xa5(ddraw=0x48016c8, device_type=0) [/home/austin/wine-valgrind/dlls/ddraw/ddraw.c:4874] in ddraw (0x04d4fa88)
Which causes a leak: ==17449== 160 bytes in 1 blocks are definitely lost in loss record 20,330 of 21,127 ==17449== at 0x7BC4C75D: notify_alloc (heap.c:255) ==17449== by 0x7BC50FA1: RtlAllocateHeap (heap.c:1716) ==17449== by 0x4BA91A2: DDRAW_Create (main.c:267) ==17449== by 0x4BA9424: DirectDrawCreate (main.c:309) ==17449== by 0x4B191E5: D3D1_createObjects (visual.c:1152) ==17449== by 0x4B2413C: func_visual (visual.c:3257) ==17449== by 0x4B24F84: run_test (test.h:584) ==17449== by 0x4B25373: main (test.h:654) ==17449==
https://bugs.winehq.org/show_bug.cgi?id=36669
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com --- Fixed in 1.7.43-40-gf479071
https://bugs.winehq.org/show_bug.cgi?id=36669
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.44.