https://bugs.winehq.org/show_bug.cgi?id=46321
Bug ID: 46321 Summary: Frequent crashes when running valgrind under intel graphics (bumblebee) Product: Wine Version: 4.0-rc2 Hardware: x86 OS: Linux Status: UNCONFIRMED Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: Gentoo
Created attachment 63056 --> https://bugs.winehq.org/attachment.cgi?id=63056 backtrace
Note: marking as unconfirmed, since I'm not sure if this is a mesa or wine bug.
My new laptop has a shared intel/nvidia setup (bumblebee). When running tests under valgrind with the intel card, I get crashes in what seems like anything using d3d. E.g., dlls/amstream/tests/amstream.c:
wine: Unhandled illegal instruction at address 0x717db30 (thread 0089), starting debugger... preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 Unhandled exception: illegal instruction in 32-bit code (0x0717db30). 008b:fixme:dbghelp_dwarf:dwarf2_parse_const_type Unsupported children 008b:fixme:dbghelp_dwarf:dwarf2_parse_const_type Unsupported children Register dump: CS:0023 SS:002b DS:002b ES:002b FS:000b GS:0013 EIP:0717db30 ESP:04b6d880 EBP:04b6db3c EFLAGS:00200000( - -- - - - ) EAX:00000002 EBX:075b3000 ECX:0677ecc4 EDX:00000000 ESI:00000002 EDI:00000000 Stack dump: 0x04b6d880: 070eb7d7 04b6e930 095af570 00000000 0x04b6d890: 04b6eb54 095af220 00001102 040313cc 0x04b6d8a0: 097eddd0 582b3fa0 00001102 5800c090 0x04b6d8b0: 095b0260 00000000 00000000 00000000 0x04b6d8c0: 075b3000 095b0260 095b0278 040313cc 0x04b6d8d0: 095b0260 582b3fa0 00001102 5800c090 Backtrace: =>0 0x0717db30 __driDriverGetExtensions_nouveau_vieux+0x43b7f0() in i965_dri.so (0x04b6db3c) 1 0x0718d5cf __driDriverGetExtensions_nouveau_vieux+0x44b28e() in i965_dri.so (0x04b6e930) 2 0x0718ea74 __driDriverGetExtensions_nouveau_vieux+0x44c733() in i965_dri.so (0x04b6e898) 3 0x06cd1943 __driDriverGetExtensions_radeon+0xffffffff() in i965_dri.so (0x0959df88) 4 0x06cd34dc __driDriverGetExtensions_radeon+0xffffffff() in i965_dri.so (0x04b6eb54) 5 0x06cbf47f __driDriverGetExtensions_radeon+0xffffffff() in i965_dri.so (0x00000000) 6 0x06efc8fe __driDriverGetExtensions_nouveau_vieux+0x1ba5bd() in i965_dri.so (0x0955a200) 7 0x06f1e0b6 __driDriverGetExtensions_nouveau_vieux+0x1dbd75() in i965_dri.so (0x097cfd10) 8 0x06dfa771 __driDriverGetExtensions_nouveau_vieux+0xb8430() in i965_dri.so (0x00000000) 9 0x06dfaa27 __driDriverGetExtensions_nouveau_vieux+0xb86e6() in i965_dri.so (0x00000de1) 10 0x06dfab02 __driDriverGetExtensions_nouveau_vieux+0xb87c1() in i965_dri.so (0x00000de1) 11 0x06e0f641 __driDriverGetExtensions_nouveau_vieux+0xcd300() in i965_dri.so (0x00000de1) 12 0x06e1117a __driDriverGetExtensions_nouveau_vieux+0xcee39() in i965_dri.so (0x04b6f1f8) 13 0x04c075c3 match_fbo_tex_update+0x12e() [/home/austin/wine-valgrind/dlls/wined3d/adapter_gl.c:648] in wined3d (0x04b6f1f8) 14 0x04c07e72 fixup_extensions+0x66(gl_info=0x494d380, ctx=0x4b6f35c, gl_renderer="Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) x86/MMX/SSE2") [/home/austin/wine-valgrind/dlls/wined3d/adapter_gl.c:1137] in wined3d (0x04b6f248) 15 0x04c0af5e wined3d_adapter_init_gl_caps+0x1554(adapter=<is not available>, caps_gl_ctx=<is not available>, wined3d_creation_flags=<is not available>) [/home/austin/wine-valgrind/dlls/wined3d/adapter_gl.c:3842] in wined3d (0x04b6f338) 16 0x04c0c136 wined3d_adapter_gl_init+0x264() [/home/austin/wine-valgrind/dlls/wined3d/adapter_gl.c:4273] in wined3d (0x04b6f398) 17 0x04c4566d wined3d_adapter_init+0x123(adapter=0x494d370, ordinal=<is not available>, wined3d_creation_flags=0x1db5) [/home/austin/wine-valgrind/dlls/wined3d/directx.c:2548] in wined3d (0x04b6f728) 18 0x04c48ab6 wined3d_init+0x3a() [/home/austin/wine-valgrind/dlls/wined3d/directx.c:2565] in wined3d (0x04b6f748) 19 0x04cb8fc9 wined3d_create+0x49(flags=<couldn't compute location>) [/home/austin/wine-valgrind/dlls/wined3d/wined3d_main.c:109] in wined3d (0x04b6f778) 20 0x04b8f88b ddraw_init+0x93(flags=<is not available>) [/home/austin/wine-valgrind/dlls/ddraw/ddraw.c:5013] in ddraw (0x04b6f938) 21 0x04b9ebd2 DDRAW_Create+0x98(guid=<is not available>, DD=0x4b6f9fc, UnkOuter=<is not available>) [/home/austin/wine-valgrind/dlls/ddraw/main.c:306] in ddraw (0x04b6f978) 22 0x04b9f4db DirectDrawCreate+0x4e(driver_guid=<couldn't compute location>, ddraw=<couldn't compute location>, outer=<couldn't compute location>) [/home/austin/wine-valgrind/dlls/ddraw/main.c:341] in ddraw (0x04b6f9b8) 23 0x042281ca create_directdraw+0x3b() [/home/austin/wine-valgrind/dlls/amstream/tests/amstream.c:60] in amstream_test (0x04b6fa98) 24 0x04228f75 test_media_streams+0x55() [/home/austin/wine-valgrind/dlls/amstream/tests/amstream.c:205] in amstream_test (0x04b6fd78) 25 0x0422b270 func_amstream+0x22() [/home/austin/wine-valgrind/dlls/amstream/tests/amstream.c:881] in amstream_test (0x04b6fd88) 26 0x0422b604 run_test+0x60(name="amstream") [/home/austin/wine-valgrind/dlls/amstream/tests/../../../include/wine/test.h:617] in amstream_test (0x04b6fdb8) 27 0x0422c042 main+0x1ac(argc=<couldn't compute location>, argv=<couldn't compute location>) [/home/austin/wine-valgrind/dlls/amstream/tests/../../../include/wine/test.h:701] in amstream_test (0x04b6fe78) 28 0x0422c10b __wine_spec_exe_entry+0x40(peb=<couldn't compute location>) [/home/austin/wine-valgrind/dlls/winecrt0/exe_entry.c:36] in amstream_test (0x04b6feb8) 29 0x7b45c1e2 call_process_entry+0x11() in kernel32 (0x04b6fed8) 30 0x7b460232 start_process+0x1b0(entry=<couldn't compute location>, peb=<couldn't compute location>) [/home/austin/wine-valgrind/dlls/kernel32/process.c:1273] in kernel32 (0x04b6ffd8) 31 0x7b45c1ee start_process_wrapper+0x9() in kernel32 (0x04b6ffec) 0x0717db30 __driDriverGetExtensions_nouveau_vieux+0x43b7f0 in i965_dri.so: repe
I'll attach the full backtrace.
https://bugs.winehq.org/show_bug.cgi?id=46321
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Austin English austinenglish@gmail.com --- Not seeing this anymore, I'm gonna assume it was an invalid setup on my part.
https://bugs.winehq.org/show_bug.cgi?id=46321
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Austin English austinenglish@gmail.com --- Closing.