--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: wine32: SegFault when run a program require OpenGL/Direct3D
- From: Mo Jun <royclark086@gmail.com>
- Date: Mon, 20 Oct 2014 17:42:51 +0800
- Message-id: <CAL2p-7gR-SEm-7OE64W20v3dzmsGhLZhtRFaxpHDoz=2_j12ng@mail.gmail.com>
Package: wine32
Version: 1.6.2-11
Severity: normal
Dear Maintainer,
Running a win32 program which require OpenGL/Direct3D using wine32
will cause segmentation fault happen. This program may be a game
require Direct3D, a testing OpenGL program which only display OpenGL
information, or dxdiag.exe which is a DirectX deagnostic tool
distributed in Debian libwine package.
As dxdiag.exe is common, I use it to discuss below.
With 1.6.2-8, 1.6.2-10 wine32, running below command will not cause
SegFault and GL version can got from wine debug messages:
$ WINEDEBUG=+wgl wine32 dxdiag.exe 2> wine.log
$ grep "GL version" wine.log
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version :
3.3.0 NVIDIA 340.46.
With 1.6.2-11, 1.6.2-12 wine32, running the same command will cause SegFault:
$ WINEDEBUG=+wgl wine32 dxdiag.exe 2> wine.log
Segmentation fault
$ cat wine.log
Wine cannot find the ncurses library (libncurses.so.5).
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
Let core can be dumped when SegFault happen, then using gdb I found:
$ gdb wine32 core
...
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7de8ee0a in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
(gdb)
/usr/lib/i386-linux-gnu/libGL.so.1 is finally soft link to
/usr/lib/i386-linux-gnu/nvidia/current/libGL.so.340.46 which is
provide by libgl1-nvidia-glx:i386 package.
Next I try strace and found something interesting. The same above
command will NOT cause SegFault even with 1.6.2-11, 1.6.2-12 wine32:
$ WINEDEBUG=+wgl strace -f -o strace.log wine32 dxdiag.exe 2> wine.log
$ grep "GL version" wine.log trace:wgl:X11DRV_WineGL_InitOpenglInfo
GL version : 3.3.0 NVIDIA 340.46.
It is something wrong with wine32? Though from changelog, it seems
like no change in i386 when upgrade from 1.6.2-10 to 1.6.2-11.
Some other information:
change version of libwine have no effect on whether SegFault happen or not.
wine64 1.6.2-12 will NOT cause SegFault. Other version of wine64 not tested.
Lastest libgl1-nvidia-glx:i386 upgrade is earlier than wine32
upgrade, so I have not try different libgl1-nvidia-glx:i386 version.
Version of libgl1-nvidia-glx:i386 is 340.46-1, as it is not shown
below.
My video card is GeForce G 105M/PCIe/SSE2.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wine32 depends on:
ii libc6 2.19-11
ii libwine 1.6.2-12
ii libwine-gecko-2.21 2.21+dfsg2-1
ii x11-utils 7.7+2
wine32 recommends no packages.
wine32 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: wine-development
Source-Version: 1.7.29-4
We believe that the bug you reported is fixed in the latest version of
wine-development, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 771613@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Gilbert <mgilbert@debian.org> (supplier of updated wine-development package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 01 Dec 2014 00:53:30 +0000
Source: wine-development
Binary: wine-development wine32-development wine64-development wine32-development-preloader wine64-development-preloader wine32-development-tools wine64-development-tools libwine-development-dev libwine-development-dbg libwine-development
Architecture: source
Version: 1.7.29-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <pkg-wine-party@lists.alioth.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Description:
libwine-development - Windows API implementation - library
libwine-development-dbg - Windows API implementation - debugging symbols
libwine-development-dev - Windows API implementation - development files
wine-development - Windows API implementation - standard suite
wine32-development - Windows API implementation - 32-bit binary loader
wine32-development-preloader - Windows API implementation - prelinked 32-bit binary loader
wine32-development-tools - Windows API implementation - 32-bit developer tools
wine64-development - Windows API implementation - 64-bit binary loader
wine64-development-preloader - Windows API implementation - prelinked 64-bit binary loader
wine64-development-tools - Windows API implementation - 64-bit developer tools
Closes: 770483 771613
Changes:
wine-development (1.7.29-4) unstable; urgency=medium
.
* Fix upstream texture corruption bug (closes: #770483).
* Add libgl1-mesa-dri recommends to wine32 (closes: #771613).
Checksums-Sha1:
234dc36d5e7d55d9f96b2ee52da940a2685f8f10 4305 wine-development_1.7.29-4.dsc
b8f04577b6e8e46cbf09286121f0063268c6cf26 63252 wine-development_1.7.29-4.debian.tar.xz
Checksums-Sha256:
1105a47a30f3de75fc28e678b0ecb12c08c3e331a728082cf2b3a2efffd440e0 4305 wine-development_1.7.29-4.dsc
2a931f75e070b43dc7a8cfa4929f69de0795a457f002f64ea4521308ada0c77e 63252 wine-development_1.7.29-4.debian.tar.xz
Files:
b90a3ecc8722b03a83f7d97927a354de 4305 otherosfs optional wine-development_1.7.29-4.dsc
48163ecc16bca1eba8242d08ced9804b 63252 otherosfs optional wine-development_1.7.29-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQQcBAEBCgAGBQJUfAYhAAoJELjWss0C1vRzpPQf/1gp0W7PKo+AoXpVRlU6PP//
3zyo2xhH4+LLj1I5LXoMMpwvc80lPQrwC1AKE6SNGwF3awoTtCzp3hsxlxYChzVC
8vZnU7XBq2lUw3WlCPX0QVJU8+h3mlgKvqw9+toTaoscYSL6mfsC4sUpITVaON7M
iqVfAUWKGqPXZhQ0Znyp9ocf2UiJRGe815CRw5rjY6PS5hpo9j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