http://bugs.winehq.org/show_bug.cgi?id=30867
Bug #: 30867 Summary: Page fault / null pointer exception in ConvertPixelFormatGLXtoWGL Product: Wine Version: 1.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: chinese_chater@yahoo.de Classification: Unclassified
Created attachment 40438 --> http://bugs.winehq.org/attachment.cgi?id=40438 saved backtrace
When trying to start Diablo 2 (v1.13, 'Diablo II.exe -w', the windowed/DirectDraw option, works though) or Typing of the Dead, wine 1.4 crashes:
--- Unhandled exception: page fault on execute access to 0x00000000 in 32-bit code (0x00000000). [...] =>0 0x00000000 (0x0033eca0) 1 0x7e4ff6e5 ConvertPixelFormatGLXtoWGL+0x24(display=<internal error>, fmt_id=0xef, dwFlags=0) [/tmp/wine14/build32/dlls/winex11.drv/../../../dlls/winex11.drv/opengl.c:1097] in winex11 (0x0033ed00) 2 0x7e50499a pixelformat_from_fbconfig_id+0x39(fbconfig_id=0xef) [/tmp/wine14/build32/dlls/winex11.drv/../../../dlls/winex11.drv/opengl.c:1117] in winex11 (0x0033ed20) 3 0x7e4f4d26 in winex11 (+0x24d25) (0x0033ee10) ---
(see attached backtrace.txt and cmd.log for the complete output)
I'm running wine on a 64bit (both kernel- and userspace) laptop with a GeForce 8600M GT and the open source nouveau graphics driver on a recent Debian sid, with some i386 libraries to run the 32bit wine, obviously.
I'm using the Debian package from here: http://anonscm.debian.org/gitweb/?p=users/mgilbert/wine14.git;a=commit;h=e01..., compiled via an i386 Debian chroot (debootstrap). But I think I had the same crash when building from the wine 1.4 vanilla sources.
Cheers
http://bugs.winehq.org/show_bug.cgi?id=30867
--- Comment #1 from Linus chinese_chater@yahoo.de 2012-06-07 14:00:29 CDT --- Created attachment 40439 --> http://bugs.winehq.org/attachment.cgi?id=40439 command line output
http://bugs.winehq.org/show_bug.cgi?id=30867
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #2 from Austin English austinenglish@gmail.com 2012-06-07 14:10:17 CDT --- Not major. You need to cd to the directory before running the app.
http://bugs.winehq.org/show_bug.cgi?id=30867
--- Comment #3 from Linus chinese_chater@yahoo.de 2012-06-07 14:16:00 CDT --- (In reply to comment #2)
Not major. You need to cd to the directory before running the app.
Oh, since when? Never cd'ed to the directory before so far. Anyways, "$ wine Diablo\ II.exe" yields the same error though.
Thanks for your quick reply!
http://bugs.winehq.org/show_bug.cgi?id=30867
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #4 from Dan Kegel dank@kegel.com 2012-06-07 15:42:24 CDT --- Ah, TOD, my favorite game. I added it to http://winetricks.googlecode.com/svn/trunk/src/winetricks in your honor just now.
For me, sh winetricks typingofthedead_demo cd $HOME/.local/share/wineprefixes/typingofthedead_demo wine cmd /c run-typingofthedead_demo.bat
works fine... but then I have an nvidia card and the commercial driver.
http://bugs.winehq.org/show_bug.cgi?id=30867
--- Comment #5 from Linus chinese_chater@yahoo.de 2012-06-07 20:36:24 CDT --- (In reply to comment #4)
Ah, TOD, my favorite game. I added it to http://winetricks.googlecode.com/svn/trunk/src/winetricks in your honor just now.
For me, sh winetricks typingofthedead_demo cd $HOME/.local/share/wineprefixes/typingofthedead_demo wine cmd /c run-typingofthedead_demo.bat
works fine... but then I have an nvidia card and the commercial driver.
Oh - that worked indeed (when using 'WINEPREFIX="$HOME/.local/share/wineprefixes/typingofthedead_demo" wine' instead of just 'wine')!
That helped tracking down the issue further: For both Diablo 2 and TOD it only happens with the "Emulate a virtual desktop" (1280x800 for me) setting enabled in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=30867
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Page fault / null pointer |Page fault / null pointer |exception in |exception in |ConvertPixelFormatGLXtoWGL |ConvertPixelFormatGLXtoWGL | |when virtual desktop is | |enabled Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=30867
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2012-11-11 23:59:19 CST --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=30867
--- Comment #7 from Linus chinese_chater@yahoo.de 2013-07-04 16:29:40 CDT --- (In reply to comment #6)
still a bug in current wine?
Actually - no, just tried it today and I can't reproduce it anymore on the same hardware with more recent software (current Debian Sid except for the kernel: wine-1.5.30-1, 3.2.35-2 Linux kernel, libgl1-mesa-dri 9.1.3-6, libdrm-nouveau2 2.4.45-3, libdrm-nouveau1a 2.4.40-1~deb7u2, xserver-xorg-video-nouveau 1:1.0.8-1).
Yaiy :).
http://bugs.winehq.org/show_bug.cgi?id=30867
--- Comment #8 from Dan Kegel dank@kegel.com 2013-07-04 17:13:07 CDT --- I couldn't reproduce the problem just now with wine-1.4.1 or wine-1.6-rc4 and 'winetricks typingofthedead_demo vd=800x600' on ubuntu 13.04, nvidia gtx 220, and nvidia drivers 310.44.
So WORKSFORME here.
https://bugs.winehq.org/show_bug.cgi?id=30867
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #9 from Austin English austinenglish@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=30867
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com --- Closing.