[Bug 26512] New: winex11 : pixelformat_from_fbconfig_id() : crashes when calling GetDC() with OpenGL window

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 21 18:38:38 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=26512

           Summary: winex11 : pixelformat_from_fbconfig_id() : crashes
                    when calling GetDC() with OpenGL window
           Product: Wine
           Version: 1.3.16
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pquiring at gmail.com


Created an attachment (id=33755)
 --> (http://bugs.winehq.org/attachment.cgi?id=33755)
wine test app (captures another window by title)

When an app tries to capture the window of other apps it works with simple 2d
apps but with 3D apps (OpenGL/DX) it causes wine to crash.

The crash seems to happen in pixelformat_from_fbconfig_id() function which is
in wine/dlls/winex11.drv/opengl.c

I've create a sample app to show this bug (winetest.cpp)

Run wine's notepad and then run:
  winetest.exe "Untitled - Notepad"
and it generates winetest.bmp no problem.
But if you run a 3d app (say SuperTux for Windows in OpenGL mode) it crashes.
  winetest.exe "Supertux 0.1.3"

You can download SuperTux from http://supertux.lethargik.org/download.html for
testing, or any other 3d app should work.  Make sure to download the Win32
version and go into options and turn off full screen mode and turn on OpenGL
mode then try the winetest.exe above.

I'll attach winetest.cpp, winetest.errlog and winetest.exe compiled with cygwin
(if permited).

To compile with cygwin : "gcc-3 winetest.cpp -o winetest.exe -l gdi32
-mno-cygwin"
Or try winegcc (doesn't work on x64 systems).

Thanks!

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list