Wind River Support Network

HomeDefectsLIN6-9883
Fixed

LIN6-9883 : xcb lib hangs at xcb_wait_for_reply ()

Created: May 12, 2015    Updated: Dec 3, 2018
Resolved Date: Sep 17, 2015
Found In Version: 6.0.0.17
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

Xcb lib hangs in xcb_wait_for_reply (cf. detailed stack trace below) :
#0 0x000000308eed93ed in poll () from /lib64/libc.so.6
#1 0x000000308e20a5d2 in ?? () from /lib64/libxcb.so.1
#2 0x000000308e20b9ff in ?? () from /lib64/libxcb.so.1
#3 0x000000308e20bb02 in xcb_wait_for_reply () from /lib64/libxcb.so.1 


Steps to Reproduce

-generate a project like this:
/wrlinux-6/wrlinux/configure --enable-board=intel_x86_64 --enable-rootfs=glibc-core --enable-kernel=standard --enable-build=production --enable-reconfig --enable-parallel-pkgbuilds=16 --enable-jobs=16 --with-template=feature/archiver --with-license-flags-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3+ 
- use attached default-image.bbappend file


- use VLM target 18618
- using the attached test app and libraries, once logged in:
run:
- startx& 
- ps -ef | grep lfp 
-  attach gdb to the child process ("/home/views/qt/bin/lfpWindowTestRaceCondition createOneWindow")
and you will find in the backtrace that the crash occurs with the following :

#0 0x000000308eed93ed in poll () from /lib64/libc.so.6
#1 0x000000308e20a5d2 in ?? () from /lib64/libxcb.so.1
#2 0x000000308e20b9ff in ?? () from /lib64/libxcb.so.1
#3 0x000000308e20bb02 in xcb_wait_for_reply () from /lib64/libxcb.so.1
#4 0x000000308ea40c57 in _XReply () from /usr/lib64/libX11.so.6
#5 0x0000003093642573 in ?? () from /usr/lib64/libGL.so.1
#6 0x000000309363ff1f in ?? () from /usr/lib64/libGL.so.1
#7 0x00007f29c57ae9e2 in ?? () from /usr/lib64/dri/i965_dri.so
#8 0x00007f29c57aed2d in ?? () from /usr/lib64/dri/i965_dri.so
#9 0x00007f29c57c1e77 in ?? () from /usr/lib64/dri/i965_dri.so
#10 0x00007f29d79a12e2 in QSGBatchRenderer::Renderer::renderBatches() ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#11 0x00007f29d79a198b in QSGBatchRenderer::Renderer::render() ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#12 0x00007f29d79ad3f6 in QSGRenderer::renderScene(QSGBindable const&) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#13 0x00007f29d79ad8b7 in QSGRenderer::renderScene() ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#14 0x00007f29d79bc010 in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#15 0x00007f29d79f7904 in QQuickWindowPrivate::renderSceneGraph(QSize const&) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#16 0x00007f29d79d6d7a in ?? () from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#17 0x00007f29d79d7785 in ?? () from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Quick.so.5
#18 0x00007f29d6b5f14c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Widgets.so.5
#19 0x00007f29d6b63eb6 in QApplication::notify(QObject*, QEvent*) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Widgets.so.5
#20 0x00007f29d56529e5 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Core.so.5
#21 0x00007f29d56a8e8d in QTimerInfoList::activateTimers() ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Core.so.5
#22 0x00007f29d56a77d8 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Core.so.5
#23 0x00007f29d2d7c91d in ?? () from /atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/plugins/platforms/libqxcb.so
#24 0x00007f29d565092b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Core.so.5
#25 0x00007f29d5657f26 in QCoreApplication::exec() () from /local/atlas/wrl/wrl60/x86_64-haswell/qt/qt-5.3.0/lib/libQt5Core.so.5

Other Downloads


Live chat
Online