https://bugs.winehq.org/show_bug.cgi?id=37946
Bug ID: 37946 Summary: ComputeMark crashes Product: Wine Version: 1.7.34 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: the.ideals@gmail.com Distribution: ---
Created attachment 50552 --> https://bugs.winehq.org/attachment.cgi?id=50552 Crash log
ComputeMark2.zip SHA1 Sum: d143bbe647620e5dc5e6c1f0647d8c25e99eb46b
Selected Windows 7 for new wine prefix.
Unhandled exception: page fault on read access to 0x00000038 in 32-bit code (0x7ebe2933).
https://bugs.winehq.org/show_bug.cgi?id=37946
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.computemark.com/ | |cm.php?show=download
https://bugs.winehq.org/show_bug.cgi?id=37946
--- Comment #1 from Austin English austinenglish@gmail.com --- (In reply to John from comment #0)
Created attachment 50552 [details] Crash log
ComputeMark2.zip SHA1 Sum: d143bbe647620e5dc5e6c1f0647d8c25e99eb46b
Selected Windows 7 for new wine prefix.
Why?
libGL error: failed to authenticate magic 1 libGL error: failed to load driver: vboxvideo fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)").
are you running wine under virtualbox?
The crash itself appears to be in msvcr90 (but looks like it may be related to your system not meeting requirements): =>0 0x7ebe2933 in msvcr90 (+0x62933) (0x0032e868) 1 0x7ebe5869 pf_printf_w+0x528(pf_puts=0x7ebe1100, puts_ctx=0x32e9e8, fmt="%s, %s (%s)", locale=(nil), positional_params=0, invoke_invalid_param_handler=0, pf_args=0x7ebe1230, args_ctx=0x0(nil), valist=0x32ea1c) [/build/buildd/wine1.7-1.7.34/dlls/msvcr90/../msvcrt/printf.h:476] in msvcr90 (0x0032e9a8) 2 0x7ebe9463 MSVCRT_vsnwprintf+0x72(str="Microsoft Windows XP Version = 5.1.2600 (32-bit);, AMD Athlon(tm) II Dual-Core M300 ****AT**** 1915MHz; 507207 KB RAM;, NVIDIA GeForce 8800 GTX (", len=0x7fffffff, format="%s, %s (%s)", valist="âþût8´~L") [/build/buildd/wine1.7-1.7.34/dlls/msvcr90/../msvcrt/wcs.c:891] in msvcr90 (0x0032ea08) 3 0x7ebe9c66 MSVCRT_vswprintf+0x35(str="Microsoft Windows XP Version = 5.1.2600 (32-bit);, AMD Athlon(tm) II Dual-Core M300 ****AT**** 1915MHz; 507207 KB RAM;, NVIDIA GeForce 8800 GTX (", format="%s, %s (%s)", args="") [/build/buildd/wine1.7-1.7.34/dlls/msvcr90/../msvcrt/wcs.c:1144] in msvcr90 (0x0032ea28)
https://bugs.winehq.org/show_bug.cgi?id=37946
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |wmi&wbemprox Summary|ComputeMark crashes |ComputeMark v2.1 crashes on | |startup (needs | |'Win32_VideoController' WMI | |class 'DriverVersion' | |property) Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Although unrelated, don't change the default Windows version of the WINEPREFIX unless you know the technical implications.
Relevant part of trace log:
--- snip --- $ WINEDEBUG=+tid,+seh,+wbemprox,+msvcrt wine ./ComputeMark.exe >>log.txt 2>&1 ... 0029:trace:wbemprox:wbem_services_ExecQuery 0x13d900, L"WQL", L"SELECT * FROM Win32_VideoController", 0x00000030, (nil), 0x33eaf4 0029:trace:wbemprox:grab_table returning 0xf70774cc 0029:trace:wbemprox:parse_query wql_parse returned 0 0029:fixme:win:EnumDisplayDevicesW ((null),0,0x33e1a0,0x00000000), stub! 0029:trace:wbemprox:fill_videocontroller created 1 rows 0029:trace:wbemprox:EnumWbemClassObject_create 0x33eaf4 0029:trace:wbemprox:EnumWbemClassObject_create returning iface 0x13ad18 0029:trace:msvcrt:MSVCRT_operator_delete (0x5c1548) 0029:trace:msvcrt:MSVCRT_operator_delete (0x5c1530) 0029:trace:wbemprox:enum_class_object_Next 0x13ad18, -1, 1, 0x33eaec, 0x33eaf0 0029:trace:wbemprox:create_class_object L"Win32_VideoController", 0x33eaec 0029:trace:wbemprox:create_class_object returning iface 0x141d98 0029:trace:wbemprox:class_object_Get 0x141d98, L"Name", 00000000, 0x33ea8c, (nil), (nil) 0029:trace:wbemprox:class_object_Get 0x141d98, L"DriverVersion", 00000000, 0x33ea7c, (nil), (nil) 0029:trace:msvcrt:pf_printf_w Format is: L"%s, %s (%s)" 0029:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e771ff5 ip=7e771ff5 tid=0029 0029:trace:seh:raise_exception info[0]=00000000 0029:trace:seh:raise_exception info[1]=000024fc 0029:trace:seh:raise_exception eax=000024fc ebx=7e7a6000 ecx=0033e8a0 edx=0033e830 esi=0003009e edi=00141c94 0029:trace:seh:raise_exception ebp=0033e758 esp=0033e748 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 --- snip ---
The app gathers info using WMI queries and concatenates them into a big string. It doesn't handle the failure to retrieve 'Win32_VideoController' WMI class 'DriverVersion' property causing the vargs stack location containing uninitialized/random data.
--- snip --- 0033E9D0 0040D600 buffer 0033E9D4 0040AABC format string = "%s, %s (%s)" 0033E9D8 0033E9E8 arglist 0033E9DC 0040692A return address 0033E9E0 0040D600 "Microsoft Windows XP Version = 5.1.2600 (32-bit); ..." 0033E9E4 0040AABC "%s, %s (%s)" 0033E9E8 0040D600 "Microsoft Windows XP Version = 5.1.2600 (32-bit); ..." 0033E9EC 00138B7C "NVIDIA GeForce GTX 470" 0033E9F0 000024FC ; garbage value, ought to be driver version string ... --- snip ---
Tidbit: relay works around because it changes the stack layout/initialization values.
$ sha1sum ComputeMark2.zip d143bbe647620e5dc5e6c1f0647d8c25e99eb46b ComputeMark2.zip
$ du -sh ComputeMark2.zip 1.2M ComputeMark2.zip
$ wine --version wine-1.7.34-126-g0b811ee
Regards
https://bugs.winehq.org/show_bug.cgi?id=37946
--- Comment #3 from John the.ideals@gmail.com --- (In reply to Austin English from comment #1)
are you running wine under virtualbox?
Tested on Virtualbox and production system. Same error.
(In reply to Anastasius Focht from comment #2)
Although unrelated, don't change the default Windows version of the WINEPREFIX unless you know the technical implications.
Ack. I will test the default first. Thanks for the bug breakdown.
https://bugs.winehq.org/show_bug.cgi?id=37946
--- Comment #4 from Austin English austinenglish@gmail.com --- Can you try in git (or 1.7.37 when it's released)? http://source.winehq.org/git/wine.git/commitdiff/f455806f12b2917f9b8d25ddb80... should help
https://bugs.winehq.org/show_bug.cgi?id=37946
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f455806f12b2917f9b8d25ddb80 | |095ed06c7c162 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/f455806f12b2917f9b8d25ddb80...
It runs into bug 33153 now
--- snip --- wine: Call from 0x7b83b54f to unimplemented function d3d11.dll.D3D11CreateDeviceAndSwapChain, aborting --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=37946
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.37.