http://bugs.winehq.org/show_bug.cgi?id=31004
Bug #: 31004 Summary: Crysis2 crashes on startup with seh:raise_exception code=c0000005 Product: Wine Version: 1.5.3 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: rockorequin@hotmail.com Classification: Unclassified
Created attachment 40701 --> http://bugs.winehq.org/attachment.cgi?id=40701 log of crash with various debug channels enabled
Since wine-1.5.2, Crysis 2 no longer starts on my PC, but crashes with "seh:raise_exception code=c0000005" while trying to display a message box saying that the video card is unsupported. Sometimes the application crashes 'cleanly' but sometimes the process hangs and the half-drawn message-box remains on the screen.
A bisect gives this:
Last good version: wine-1.5.2-83-g7468238
bb62ddeba7d98e6839a9513ff995e736f40e65cb is the first bad commit commit bb62ddeba7d98e6839a9513ff995e736f40e65cb Author: Alexandre Julliard julliard@winehq.org Date: Wed Apr 18 13:07:17 2012 +0200
winex11: Remove support for server-side fonts.
:040000 040000 ba39baa1f00b626fecdc75330bf0cd800fde55f6 9f882015d071ea132166bf27cf8655b18990724d M dlls
I am building wine on Ubuntu 12.04 x86_64 on kernel 3.5-rc3 using gcc 4.7 (I have also tried building with gcc 4.5 and 4.6, but they also cause the crash) and loading the app exe from a btrfs partition.
The log (full log attached) shows the crash:
0009:Call user32.MessageBoxW(00000000,0587bc44 L"Unsupported video card detected! Continuing to run might lead to unexpected results or crashes. Please check the manual for further information on hardware requirements.\n\n"NVIDIA GeForce GT 540M" [vendor id = 0x10de, device id = 0x0df4]",0177a8bc L"CryEngine",00000131) ret=021c3011 ... 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7ef77f24 ip=7ef77f24 tid=0009 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=fffffffa 0009:trace:seh:raise_exception eax=00000008 ebx=7efe3ff4 ecx=00000002 edx=00110088 esi=00000010 edi=00110000 0009:trace:seh:raise_exception ebp=0032d6f8 esp=0032d6a0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210202
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2012-06-25 04:14:50 CDT --- Please try running under winedbg to get a backtrace of the crash.
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #2 from rocko rockorequin@hotmail.com 2012-06-25 05:54:46 CDT --- Created attachment 40703 --> http://bugs.winehq.org/attachment.cgi?id=40703 winedbg log
Is it valid to run the app with winedbg instead of wine? If so, I've attached the session log including the backtrace from the crash. It's a text file but there are some non-ASCII chars in the backtrace.
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #3 from Austin English austinenglish@gmail.com 2012-06-25 12:49:24 CDT ---
err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.
may not be related to this particular problem, but that is unsupported.
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #4 from rocko rockorequin@hotmail.com 2012-06-25 18:31:54 CDT --- I doubt it is trying to use GLSL shaders when it crashes - it hasn't even got to the first splash screen. (Is the GLSL shader a registry setting I can change? I can't see anything in winecfg for it.)
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #5 from Austin English austinenglish@gmail.com 2012-06-25 19:06:47 CDT --- (In reply to comment #4)
I doubt it is trying to use GLSL shaders when it crashes - it hasn't even got to the first splash screen. (Is the GLSL shader a registry setting I can change? I can't see anything in winecfg for it.)
Like I said, probably not related.
That setting isn't meant to be changed, you have to manually edit the registry to enable it (or use winetricks) but in either case, you had to manually do it...
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #6 from rocko rockorequin@hotmail.com 2012-06-26 13:54:02 CDT --- The only reference to GLSL I can see is this in user.reg:
"UseGLSL"="disabled"
so I'm surprised it complains about it. But in any case, removing that line makes no difference.
The other Direct3D settings in user.reg are:
[Software\Wine\Direct3D] 1240428288 "DirectDrawRenderer"="opengl" "Multisampling"="disabled" "OffscreenRenderingMode"="fbo" "RenderTargetLockMode"="readtex" "VertexShaderMode"="hardware" "VideoMemorySize"="2048"
but removing those makes no difference, either.
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #7 from rocko rockorequin@hotmail.com 2012-07-02 06:16:54 CDT --- Created attachment 40831 --> http://bugs.winehq.org/attachment.cgi?id=40831 picture of crashed app
Here's a picture of the crashed app.
Is there any other info I could provide that might be helpful?
http://bugs.winehq.org/show_bug.cgi?id=31004
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4c3cc50104a193dcffa988116b5 | |2b9ff3042a5f8 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-07-02 13:25:24 CDT --- Fixed by 4c3cc50104a193dcffa988116b52b9ff3042a5f8.
Note that you are running into this only because you don't have XRender, you should probably fix that.
http://bugs.winehq.org/show_bug.cgi?id=31004
--- Comment #9 from rocko rockorequin@hotmail.com 2012-07-02 22:34:32 CDT --- Sigh. I don't have xrender because of Ubuntu's 64 bit dev libraries deliberately not including the 32 bit header files while simultaneously conflicting with the 32 bit header files, and libxrender not being included in ia32-libs.
But thanks, that commit does fix the crash!
http://bugs.winehq.org/show_bug.cgi?id=31004
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-07-03 14:13:49 CDT --- Closing bugs fixed in 1.5.8.
https://bugs.winehq.org/show_bug.cgi?id=31004
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |gdi32