Bug 785664 - libxcb bug causes deadlock and freezing applications in wine
Summary: libxcb bug causes deadlock and freezing applications in wine
Status: RESOLVED DUPLICATE of bug 785663
Alias: None
Product: openSUSE 12.2
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: All openSUSE 12.2
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Forgotten User Wum0mkMcd8
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 11:40 UTC by Martin Szulecki
Modified: 2012-10-18 13:23 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***