Bug 983936

Summary: blitwizard engine run in wine crashes X server
Product: [Fedora] Fedora Reporter: ell1e <el>
Component: xorg-x11Assignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: jpt
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-10 21:38:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
glxinfo output
none
Xorg.0.log with crash backtrace
none
blitwizard in the offending version
none
Wine output before crashing X
none
Xorg log containing AIGLX-error + Backtrace none

Description ell1e 2013-07-12 10:45:09 UTC
Created attachment 772628 [details]
glxinfo output

Description of problem:
A windows program (blitwizard engine + demos) run in wine crashes the whole X server. See steps to reproduce & attached X log.

Version-Release number of selected component (if applicable):

X.Org X Server 1.14.1
Release Date: 2013-04-17
X Protocol Version 11, Revision 0
Build Operating System:  2.6.32-358.2.1.el6.x86_64 
Current Operating System: Linux jth.lan 3.9.9-301.fc19.x86_64 #1 SMP Thu Jul 4 15:10:36 UTC 2013 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.9.9-301.fc19.x86_64 root=UUID=e9cf87cc-c540-4aef-9046-283d0ac2962d ro rootflags=subvol=root rd.luks.uuid=luks-2b1b1687-f448-47ef-ba40-bf7b49b3c00a rd.md=0 rd.lvm=0 rd.dm=0 vconsole.font=latarcyrheb-sun16 vconsole.keymap=de rhgb quiet LANG=en_US.UTF-8
Build Date: 05 June 2013  10:30:19PM
Build ID: xorg-x11-server 1.14.1-4.fc19 
Current version of pixman: 0.30.0
(glxinfo is attached)
wine is: wine-1.6-rc2
xorg-x11-drv-intel is: 2.21.8-1.fc19

How reproducible:
100% on this laptop

Steps to Reproduce:
1. Fetch http://www.blitwizard.de/jenkins/job/blitwizard/Deps=static,Platform=win32/lastSuccessfulBuild/artifact/blitwizard-0.4-windows.zip
2. Unzip somewhere, then cd into the resulting "blitwizard-0.4" folder
3. Run this command: wine bin/blitwizard.exe -changedir bin/

Actual results:
Instant X crash

Expected results:
X continues to run normally, application crash in case the application is buggy (but not X crash)

Additional info:
I authored that program, so maybe I can provide some help debugging. I'm not very familiar with SDL2 internals though, which I use for drawing and which probably triggers this crash in combination with wine. The native linux version of blitwizard runs just fine. The program is open-source, if the program source is of any help

Comment 1 ell1e 2013-07-12 10:46:12 UTC
Created attachment 772629 [details]
Xorg.0.log with crash backtrace

Comment 2 ell1e 2013-07-12 10:48:38 UTC
Created attachment 772630 [details]
blitwizard in the offending version

Since the upload file limit appears to allow me to do it, I'll also upload the offending program.

Comment 3 Jan Philipp Timme 2013-07-13 12:53:15 UTC
Created attachment 773034 [details]
Wine output before crashing X

Wine stderr output captured using WINEDEBUG=warn+all and LANG=C
$ wine blitwizard.exe 2>logfile

Version: wine-1.6-rc2 (from Fedora 19 official package)
Reproduced on a fresh Fedora 19 installation in a VirtualBox without 3D acceleration enabled

Comment 4 Jan Philipp Timme 2013-07-13 13:10:05 UTC
Created attachment 773036 [details]
Xorg log containing AIGLX-error + Backtrace

Another Xorg logfile from my VirtualBox Fedora containing error+backtrace.

Comment 5 ell1e 2013-07-13 22:02:15 UTC
I filed a bug report on bugs.freedesktop.org at https://bugs.freedesktop.org/show_bug.cgi?id=66882

Comment 6 ell1e 2013-10-10 21:38:24 UTC
With X.Org X Server 1.14.3 I can no longer reproduce this. It was probably fixed in some of the updates.