Bug 785664

Summary: libxcb bug causes deadlock and freezing applications in wine
Product: [openSUSE] openSUSE 12.2 Reporter: Martin Szulecki <novell>
Component: X.OrgAssignee: Forgotten User Wum0mkMcd8 <forgotten_Wum0mkMcd8>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Szulecki 2012-10-18 11:40:50 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.13 (KHTML, like Gecko) Chrome/24.0.1290.0 Safari/537.13 SUSE/24.0.1290.0

After starting various Windows applications using wine the application will randomly freeze and become unusable due to a deadlock occouring.

I am using openSUSE 12.2 Final with wine 1.5.15, libxcb 1.8.1 and NVIDIA 310.14 drivers.

Many applications started using wine are affected since this is a generic libxcb bug.

Reproducible: Always

Steps to Reproduce:
1. Start a GUI windows application using wine
2. Use it for some time
3. Notice it freezes
Actual Results:  
When the deadlock occours, the wine output is:
err:ntdll:RtlpWaitForCriticalSection section 0x15d60c "bitblt.c: surface" wait
timed out in thread 0009, blocked by 0024, retrying (60 sec)

The application window is "frozen".

Expected Results:  
Program does not freeze and continues to work.

The bug is also reported upstream at wine:
http://bugs.winehq.org/show_bug.cgi?id=31882#c13

It appears to be a libxcb deadlock bug which was known upstream and is fixed in libxcb 1.9.

I have already backported the fix/patch on OBS here:
https://build.opensuse.org/package/show?package=libxcb&project=home%3AFunkyM%3Abranches%3AopenSUSE%3A12.2%3AUpdate

With this fix for libxcb, wine applications no longer freeze and work fine.

However, I have no idea how this would be pushed to the offical update repository as I am unable to submit back my package changes.
Comment 1 Stefan Dirsch 2012-10-18 13:23:59 UTC
dup

*** This bug has been marked as a duplicate of bug 785663 ***