--- 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
Source-Version: 1.6.2-17
We believe that the bug you reported is fixed in the latest version of
wine, 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 766028@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 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: Sun, 30 Nov 2014 21:04:09 +0000
Source: wine
Binary: wine wine-binfmt wine32 wine64 wine32-dev-tools wine32-tools wine64-dev-tools wine64-tools libwine-dev libwine-dbg libwine wine-bin wine64-bin libwine-alsa libwine-bin libwine-capi libwine-cms libwine-gl libwine-gphoto2 libwine-ldap libwine-openal libwine-oss libwine-print libwine-sane
Architecture: source
Version: 1.6.2-17
Distribution: unstable
Urgency: medium
Maintainer: Debian Wine Party <pkg-wine-party@lists.alioth.debian.org>
Changed-By: Michael Gilbert <mgilbert@debian.org>
Description:
libwine - Windows API implementation - library
libwine-alsa - Windows API implementation - ALSA sound module
libwine-bin - Windows API implementation - system services
libwine-capi - Windows API implementation - ISDN module
libwine-cms - Windows API implementation - color management module
libwine-dbg - Windows API implementation - debugging symbols
libwine-dev - Windows API implementation - development files
libwine-gl - Windows API implementation - OpenGL module
libwine-gphoto2 - Windows API implementation - camera module
libwine-ldap - Windows API implementation - LDAP module
libwine-openal - Windows API implementation - OpenAL module
libwine-oss - Windows API implementation - OSS sound module
libwine-print - Windows API implementation - printing module
libwine-sane - Windows API implementation - scanner module
wine - Windows API implementation - standard suite
wine-bin - Windows API implementation - binaries
wine-binfmt - Windows API implementation - binfmt support
wine32 - Windows API implementation - 32-bit binary loader
wine32-dev-tools - Windows API implementation - 32-bit developer tools
wine32-tools - Windows API implementation - 32-bit developer tools
wine64 - Windows API implementation - 64-bit binary loader
wine64-bin - Windows API implementation - 64-bit helper
wine64-dev-tools - Windows API implementation - 64-bit developer tools
wine64-tools - Windows API implementation - 64-bit developer tools
Closes: 766028 769233 771104
Changes:
wine (1.6.2-17) unstable; urgency=medium
.
* Add libgl1-mesa-dri dependency to wine32 (closes: #766028).
* Add ncurses and freetype dependencies to wine32 (closes: #771104).
* Add binfmt-support dependency to wine-binfmt and document binfmt setup
in README.debian (closes: #769233).
Checksums-Sha1:
6e514da981caf77f912b80641a4d4ffdfd311dbb 4951 wine_1.6.2-17.dsc
c13583063d87cf7ac1afd24a39f69535556bb884 59660 wine_1.6.2-17.debian.tar.xz
Checksums-Sha256:
97dc52dd019f7924989bfeccd8d948bd7ff04f07f720db4a968384e21526cda2 4951 wine_1.6.2-17.dsc
c04cb9670242e7edb88fb8ac63b44b474add87c9ea3364137d74ac19a1b55d2b 59660 wine_1.6.2-17.debian.tar.xz
Files:
b740c9c68d8151fa41d5e992ca036b52 4951 otherosfs optional wine_1.6.2-17.dsc
8a6f2043998da3d5f9f117e40e189e8f 59660 otherosfs optional wine_1.6.2-17.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQQcBAEBCgAGBQJUe6iJAAoJELjWss0C1vRzEKUf/0OqjsvWul6eyVHoAgabV3nb
TvYxO/uI0HEVRbhJHg24f0Rl2zyAH7LJl0j0mKEk7Xc3+67SHPECUXsC7nF/K+zy
vBl7sP+NLH32Lf32nIBBrRa3FdmYnCo3XwKCHN+xKF2YH82HmmC4k8A+yfmxT991
1g7+lDlHm/xe6sebxztvANniRUP0E5QAqNWZz3AELCFD95D4zvDQixBinrS/9NQR
OwLxknTog/p1lxP+Lym+jJFZ2KvL4kgZA4Zb4IGX42IEVAeGIwbJ0uXQvonmhWjM
OFsApd3uji76tXp46zhyBs1BNVLmRpWTWhWBTg7S/rjl+EFZwiiWJBQ8aEf50JkY
ADrEMUDMnkyF3QyOJ+Pn2bbg/kf+QqIIEXvtr3kTzljCLyfYlaDXwYlBBi090InI
mPuyV+iQ3bmt01B9EWrA2EYHxIWuSilJ0EEuchL0HvgOAzdqdcgw9yWHVo9/p9gS
vybOrCl59797RBwIAWcPC6bhNnLXuR9Qj7MC3ZP4AbhdxExaYMU24VhKba9Uf6TD
B1POjb75fVymBL5tGRdcj19I/PJcyYhW7/7arYqcO+pvhA7cQTpbik6EyZO944aI
Rno+cQ0nQk74+se5OsPBELvj4I8bBAH3Jt9qgP5ymR8eAinfZs99LA6DEMUJgi3x
52bSw9D4frRyc7QlHKQKiEgjweZZ/Onej392kyNrH5OAMtvDzIdBDLDajDNItcGc
kDZilnjMFYgX0fYwsk7lntRgpxb7ZwRJ2hqXhPXuSDpTAvRtNVLcWfQp+Xer23Uv
dKQPpoFuZg4SKeC4GCjioqWPqx7IyttLN4ybRcBOKXD7wG/Z/ipX0I6xMGLklKLA
4lB46eUO6ztGMzZwzNm0/f4j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