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.