Bug 352099

Summary: Crash in QXcbWindow when switching focus to konsole
Product: [Applications] konsole Reporter: Edward Oubrayrie <edoubrayrie>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UPSTREAM    
Severity: crash CC: christoph
Priority: NOR Keywords: drkonqi
Version: 15.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Edward Oubrayrie 2015-09-01 15:26:02 UTC
Application: konsole (15.04.0)

Qt Version: 5.5.0
Operating System: Linux 4.1.6-200.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
- What I was doing when the application crashed:
Switching focus back to konsole (alt-tab)

--
On Fedora 22, gnome-shell, with latest updates from the plasma-5-beta copr

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff536188900 (LWP 5004))]

Thread 2 (Thread 0x7ff516eb1700 (LWP 5005)):
#0  0x00007ff52e2f22fd in poll () from /lib64/libc.so.6
#1  0x00007ff52b34f182 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007ff52b350c77 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007ff51903f999 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007ff52eefe54e in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007ff52c24c555 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff52e2fdb9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff536188900 (LWP 5004)):
[KCrash Handler]
#5  0x00007ff51905858f in QXcbWindow::handleClientMessageEvent(xcb_client_message_event_t const*) () from /lib64/libQt5XcbQpa.so.5
#6  0x00007ff51904384b in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib64/libQt5XcbQpa.so.5
#7  0x00007ff519043d73 in QXcbConnection::processXcbEvents() () from /lib64/libQt5XcbQpa.so.5
#8  0x00007ff52f10f021 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007ff52fdc84ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007ff52fdcd976 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#11 0x00007ff52f0df61b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007ff52f0e1a16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#13 0x00007ff52f135983 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#14 0x00007ff529d32a8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x00007ff529d32e20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#16 0x00007ff529d32ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007ff52f135d8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#18 0x00007ff52f0dcdaa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007ff52f0e4e6c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#20 0x00007ff535dfeb89 in kdemain () from /lib64/libkdeinit5_konsole.so
#21 0x00007ff52e21b700 in __libc_start_main () from /lib64/libc.so.6
#22 0x0000000000400a99 in _start ()

Possible duplicates by query: bug 351797.

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2015-09-04 18:59:06 UTC
All these QXcbConnection::handleXcbEvent  crashes may be related to Qt5

https://bugs.archlinux.org/task/43986

supposedly fixed in qt5 5.5.0-2
Comment 2 Christoph Cullmann 2015-10-05 11:44:27 UTC
Yes, its either that or:

https://bugreports.qt.io/browse/QTBUG-42985

This is a generic Qt issue, and no, there is no fixed version.