http://bugs.winehq.org/show_bug.cgi?id=14542
Summary: Page fault on shutdown when using SetPixelFormat() Product: Wine Version: CVS/GIT Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mah@jump-ing.de
Created an attachment (id=14881) --> (http://bugs.winehq.org/attachment.cgi?id=14881) Buggy app.
This is Ubuntu 8.04 AMD64 on a Dell Vostro 200 with Intel G31 graphics.
Even trivial applications generate a page fault on shutdown if the app used SetPixelFormat() and/or ChoosePixelFormat() before.
Steps to reproduce:
Launch the attached app from a terminal and close the window after it popped up. This should produce something like this:
mah@piccard:~/.wine/drive_c$ wine Testcase\ OpenGL\ Shutdown.exe Shutdown wine: Unhandled page fault on read access to 0x00000200 at address 0xf7f0809d (thread 0009), starting debugger... mah@piccard:~/.wine/drive_c$
I'm not sure wether OpenGL is involved here. The app was built using Code::Blocks (=MinGW) on Windows XP. Full source code (single file) is attached as well, don't forget to link against libopengl32. The source contains a switch to turn the offender off and on.
http://bugs.winehq.org/show_bug.cgi?id=14542
--- Comment #1 from Traumflug mah@jump-ing.de 2008-07-17 17:05:30 --- Created an attachment (id=14882) --> (http://bugs.winehq.org/attachment.cgi?id=14882) App's single-file source.
The source contains a switch to turn the buggy behaviour on and off.
http://bugs.winehq.org/show_bug.cgi?id=14542
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2008-07-18 03:45:30 --- Probably an OpenGL driver bug. You should run under winedbg and get a backtrace of the crash.
http://bugs.winehq.org/show_bug.cgi?id=14542
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #3 from Austin English austinenglish@gmail.com 2009-01-20 02:39:33 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14542
--- Comment #4 from Austin English austinenglish@gmail.com 2009-07-21 14:00:10 --- Is this still an issue in current (1.1.26 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14542
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #5 from Jaime Rave jaimerave@gmail.com 2009-12-09 23:33:35 --- It's working for me, i don't see any crash.
http://bugs.winehq.org/show_bug.cgi?id=14542
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2009-12-28 18:14:26 --- Reporter, please provide a log requested in comment 2.
http://bugs.winehq.org/show_bug.cgi?id=14542
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #7 from Wylda wylda@volny.cz 2010-01-03 08:35:26 ---
This is 2nd confirmation, that application in comment #0 does not produces any crash or backtrace on shutdown.
All the following versions are OK for me: * 0.9.49, 1.0.1, 1.1.25, 1.1.35, 1.1.35-364-g9dc584d
PS: I do not understand source in comment #1, but i suppose it should just open empty window.
http://bugs.winehq.org/show_bug.cgi?id=14542
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |xerox_xerox2000@yahoo.co.uk Resolution| |WORKSFORME
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-01-03 12:27:01 --- (In reply to comment #7)
This is 2nd confirmation, that application in comment #0 does not produces any crash or backtrace on shutdown.
All the following versions are OK for me:
- 0.9.49, 1.0.1, 1.1.25, 1.1.35, 1.1.35-364-g9dc584d
PS: I do not understand source in comment #1, but i suppose it should just open empty window.
Works fine here as well. Either driver bug (as stated earlier) or invalid. Anyway let's resolve as worsforme
http://bugs.winehq.org/show_bug.cgi?id=14542
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-01-03 12:27:18 --- closing
http://bugs.winehq.org/show_bug.cgi?id=14542
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |INVALID
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-04 00:08:38 --- Most likely invalid.