Bug 360207

Summary: Seg fault when using Konsole
Product: [Applications] konsole Reporter: William <william.worth>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: tom-kde.bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description William 2016-03-07 11:09:03 UTC
Application: kdeinit5 (15.08.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-30-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
Using the mysql cli and tailing the apache2 error log in two Konsole tabs, it appeared to crash just as I was switching back to firefox with the mouse, but hard to tell exactly.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb4e7e7c780 (LWP 6119))]

Thread 2 (Thread 0x7fb4d18aa700 (LWP 6120)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fb4e4324cfd in __GI___pthread_mutex_lock (mutex=0xa5d2b8) at ../nptl/pthread_mutex_lock.c:80
#2  0x00007fb4e5cccdd5 in _xcb_conn_wait (c=c@entry=0xa5d2a0, cond=cond@entry=0xa5d2e0, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:476
#3  0x00007fb4e5cce74f in xcb_wait_for_event (c=0xa5d2a0) at ../../src/xcb_in.c:623
#4  0x00007fb4d4083a39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#5  0x00007fb4e696d2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb4e43226aa in start_thread (arg=0x7fb4d18aa700) at pthread_create.c:333
#7  0x00007fb4e6601e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb4e7e7c780 (LWP 6119)):
[KCrash Handler]
#6  poll_for_reply (c=c@entry=0xa5d2a0, request=request@entry=19950, reply=reply@entry=0x7fffe0e03608, error=error@entry=0x7fffe0e03700) at ../../src/xcb_in.c:423
#7  0x00007fb4e5cce4f4 in wait_for_reply (c=c@entry=0xa5d2a0, request=19950, e=e@entry=0x7fffe0e03700) at ../../src/xcb_in.c:490
#8  0x00007fb4e5cce5f1 in xcb_wait_for_reply (c=c@entry=0xa5d2a0, request=19950, e=e@entry=0x7fffe0e03700) at ../../src/xcb_in.c:521
#9  0x00007fb4e7550a47 in _XReply (dpy=dpy@entry=0xa5bfa0, rep=rep@entry=0x7fffe0e03780, extra=extra@entry=0, discard=discard@entry=0) at ../../src/xcb_io.c:602
#10 0x00007fb4d3c1cf32 in XIQueryDevice (dpy=0xa5bfa0, deviceid=8, ndevices_return=0x7fffe0e037fc) at ../../src/XIQueryDevice.c:60
#11 0x00007fb4d40a41be in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#12 0x00007fb4d4094c19 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#13 0x00007fb4d4085c53 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#14 0x00007fb4d40863b3 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#15 0x00007fb4e6b7e651 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fb4e558cb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fb4e5592230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fb4e6b4cf1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007fb4e6b4f057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fb4e6ba3e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fb4e35ecff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb4e35ed250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb4e35ed2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb4e6ba427f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fb4e6b4a75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fb4e6b522cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fb4d6144bdb in kdemain (argc=3, argv=0x93d000) at ../../src/main.cpp:113
#28 0x00000000004085a6 in launch (argc=argc@entry=3, _name=_name@entry=0x9bcc28 "konsole", args=<optimized out>, args@entry=0x9bcc30 "--profile", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x9bcc48 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40c155 "0") at ../../../src/kdeinit/kinit.cpp:741
#29 0x0000000000409e79 in handle_launcher_request (sock=8, who=who@entry=0x40c10a "launcher") at ../../../src/kdeinit/kinit.cpp:1180
#30 0x000000000040a567 in handle_requests (waitForPid=waitForPid@entry=0) at ../../../src/kdeinit/kinit.cpp:1369
#31 0x00000000004050ac in main (argc=5, argv=<optimized out>) at ../../../src/kdeinit/kinit.cpp:1860

Reported using DrKonqi
Comment 1 Tom Mittelstädt 2016-03-07 17:33:46 UTC
Same here. Konsole crashes every few hours with a similar stacktrace during normal usage.
Comment 2 William 2016-03-08 09:30:31 UTC
This has only started happening in the last few days - I have used Konsole for years on a daily basis and this is the first time I can remember it being unstable. Recent update perhaps?
Comment 3 Christoph Feck 2016-10-25 22:59:55 UTC

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