http://bugs.winehq.org/show_bug.cgi?id=15256
Summary: Disabling OpenGL output in WinUAE causes crash, possibly in x11drv_main Product: Wine Version: 1.1.4 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk
Created an attachment (id=16046) --> (http://bugs.winehq.org/attachment.cgi?id=16046) Console output on crash
WinUAE is an open source (GPL) emulator of Amiga computers, available from http://www.winuae.net/.
The output of WinUAE can be rendered using DirectDraw (default), Direct3D or OpenGL. If WinUAE is set to use OpenGL, disabling the output filter (which reverts to DirectDraw output) causes WinUAE to crash.
The console output on crashing begins: fixme:dbghelp:dump_system_info fill in CPU vendorID and feature set err:ntdll:RtlpWaitForCriticalSection section 0x7d1da4c0 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0019, blocked by 0009, retrying (60 sec) wine: Unhandled page fault on read access to 0x000005e0 at address 0x7edfcaa9 (thread 0009), starting debugger...
To demonstrate: - Run WinUAE - Select a disk image for drive DF0: in the Floppy drives page, e.g. rsi1.adf.gz from ftp://ftp.coresystems.de/pub/uae/rsi1.adf.gz - In the filter page, check the Enable box and select the OpenGL filter. - Click OK to start the emulation. - After a few seconds press F12 to bring up the settings window. - In the Filter page, uncheck the Enable box. - To work around Wine bug 10643, click in the main window and press F12. - Click OK to dismiss the settings window. WinUAE crashes.
Attached is the console output on crashing. I can attach a minidump file if needed.
http://bugs.winehq.org/show_bug.cgi?id=15256
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=15256
markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |markk@clara.co.uk
--- Comment #1 from markk@clara.co.uk 2010-05-11 09:53:37 --- More recent versions of WinUAE have reworked/rewritten graphics handling (and in particular don't use OpenGL). So you need to test with an earlier version of WinUAE.
The direct URL for the WinUAE 1.5.2 installer is: http://www.winuae.net/files/InstallWinUAE1520.exe
With Wine 1.1.44, this bug is still present.
http://bugs.winehq.org/show_bug.cgi?id=15256
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| | | |http://www.winuae.net/files | |/InstallWinUAE1520.exe
http://bugs.winehq.org/show_bug.cgi?id=15256
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #2 from joaopa jeremielapuree@yahoo.fr 2010-05-18 00:09:10 --- confirming
http://bugs.winehq.org/show_bug.cgi?id=15256
--- Comment #3 from markk@clara.co.uk 2010-06-04 05:51:52 --- This issue is still present in Wine 1.2rc2. A current URL for the rsi1.adf.gz file is ftp://ftp.bootsplash.org/pub/uae/rsi1.adf.gz
http://bugs.winehq.org/show_bug.cgi?id=15256
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2011-07-18 10:05:06 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=15256
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2011-10-02 06:50:37 CDT --- Latest wine version does not crash anymore following the steps from the bug description.
Just for log purposes these this errors show up while opengl is on:
err:d3d:context_restore_gl_context Failed to restore GL context 0x179348 on device context 0x4910, last error 0x7d0.
err:d3d_surface:surface_download_data Trying to read back converted surface 0x20e1a0 with format WINED3DFMT_B8G8R8X8_UNORM.
err:d3d:context_bind_texture >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glBindTexture @ context.c / 1960
http://bugs.winehq.org/show_bug.cgi?id=15256
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2012-11-03 15:51:45 CDT --- This bug is reported FIXED.
http://bugs.winehq.org/show_bug.cgi?id=15256
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com 2012-11-03 16:29:30 CDT --- Mark, you are an active bugzilla user. I'm pretty sure you can test this again and confirm it's fixed or still present =)
http://bugs.winehq.org/show_bug.cgi?id=15256
--- Comment #8 from Mark K markk@clara.co.uk 2012-11-04 07:01:47 CST --- I re-tested WinUAE 1.5.2 with wine-1.5.16-59-gdf2c73a, Lubuntu 11.10, Nvidia driver 304.51. This bug does seem to be fixed.
I also noticed similar messages to those in comment 5. While it might not be directly relevant to this bug, some of them were: err:d3d_shader:arbfp_enable >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glEnable(GL_FRAGMENT_PROGRAM_ARB) @ arb_program_shader.c / 5660 err:d3d_shader:arbfp_enable >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glDisable(GL_FRAGMENT_PROGRAM_ARB) @ arb_program_shader.c / 5665 err:d3d:context_apply_clear_state >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glReadBuffer @ context.c / 2178 err:d3d:context_bind_texture >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glBindTexture @ context.c / 1968
Changing to Direct3D filter sometimes results in no output (black emulation window). But that would be a separate bug.
One time, after repeatedly changing graphics filter between none, null, Direct3D and OpenGL, I did get a crash but couldn't reproduce it. Console output then was this: err:ntdll:RtlpWaitForCriticalSection section 0x7e85f968 "win.c: surfaces_section" wait timed out in thread 0009, blocked by 0025, retrying (60 sec) fixme:dbghelp:elf_search_auxv can't find symbol in module wine: Critical section 7e85f968 wait failed at address 0x7bc34830 (thread 0009), starting debugger... err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7bc34830
http://bugs.winehq.org/show_bug.cgi?id=15256
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com 2012-11-04 08:09:54 CST --- (In reply to comment #8)
I re-tested WinUAE 1.5.2 with wine-1.5.16-59-gdf2c73a, Lubuntu 11.10, Nvidia driver 304.51. This bug does seem to be fixed.
Thank you very much, I also confirm the original bug is fixed, please open new bugs to the other problems.
http://bugs.winehq.org/show_bug.cgi?id=15256
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-11-09 13:00:00 CST --- Closing bugs fixed in 1.5.17.
https://bugs.winehq.org/show_bug.cgi?id=15256
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux CC| |focht@gmx.net URL| |https://web.archive.org/web |http://www.winuae.net/files |/20160716093555/http://down |/InstallWinUAE1520.exe |load.abime.net/winuae/files | |/InstallWinUAE1520.exe Severity|minor |normal