FS#40289 - [libxcb] fix crash due to race condition

Attached to Project: Arch Linux
Opened by Jonathan Liu (net147) - Saturday, 10 May 2014, 01:50 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 12 May 2014, 08:00 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Qt Creator can crash due to a race condition in xcb. I have observed that scrolling the QML profiler timeline in Qt Creator using the open source ATI driver results in the application crashing with the following assert:
qtcreator: xcb_conn.c:186: write_vec: Assertion `!c->out.queue_len' failed.

This is fixed in libxcb git upstream.
Upstream patch: http://cgit.freedesktop.org/xcb/libxcb/commit/?id=be0fe56c3bcad5124dcc6c47a2fad01acd16f71a

Additional info:
* libxcb 1.10-1
* qtcreator 3.1.0-1
* ati-dri 10.1.3-1
* mesa 10.1.3-1
* xf86-video-ati 1:7.3.0-1
* https://bugreports.qt-project.org/browse/QTBUG-38221

Steps to reproduce:
See description.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 12 May 2014, 08:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  libxcb 1.10-2
lib32-libxcb 1.10-2
Comment by Laurent Carlier (lordheavy) - Sunday, 11 May 2014, 08:15 GMT
Please test libxcb 1.10-2 in testing
Comment by Jonathan Liu (net147) - Monday, 12 May 2014, 01:23 GMT
I tested libxcb 1.10-2 in testing. The crash no longer occurs.
Please fix lib32-libxcb as well.

Loading...