Bug 322498

Summary: Konsoles crashed
Product: [Applications] konsole Reporter: Martin Collins <kdebugs>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: a.samirh78
Priority: NOR    
Version: 2.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Collins 2013-07-17 17:21:20 UTC
Application: konsole (2.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.2
Operating System: Linux 3.5.0-36-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
I had two konsole instances open on different virtual desktops, both with several tabs.
I hit Alt-3 to switch tabs in one and both konsoles crashed.

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

Thread 2 (Thread 0x7f1c47b7c700 (LWP 3617)):
#0  0x00007f1c5c36d05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f1c40000a60) at pthread_mutex_unlock.c:290
#2  0x00007f1c5b8ca5d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1c5b88e7e2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1c5b88ef5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1c5b88f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1c60491926 in QEventDispatcherGlib::processEvents (this=0x7f1c400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f1c60460e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f1c604610b7 in QEventLoop::exec (this=0x7f1c47b7bdd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f1c60360077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f1c60440b6f in QInotifyFileSystemWatcherEngine::run (this=0x1f24530) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f1c6036309b in QThreadPrivate::start (arg=0x1f24530) at thread/qthread_unix.cpp:307
#12 0x00007f1c5c369e9a in start_thread (arg=0x7f1c47b7c700) at pthread_create.c:308
#13 0x00007f1c61904ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1c6201c780 (LWP 2412)):
[KCrash Handler]
#6  qMemEquals (length=5, b=0xff019cf0ca, a=0x164e6ca) at tools/qstring.cpp:292
#7  qMemEquals (a=0x164e6ca, b=0xff019cf0ca, length=5) at tools/qstring.cpp:273
#8  0x00007f1c5d867e04 in same_key (key0=..., h0=7247552, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:225
#9  QHash<QString, QDomNodePrivate*>::findNode (this=0x1f3c398, akey=..., ahp=0x0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:887
#10 0x00007f1c5d8620cb in value (akey=..., this=0x1f3c398) at ../../include/QtCore/../../src/corelib/tools/qhash.h:609
#11 operator[] (this=0x1f3c398, akey=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:734
#12 namedItem (name=..., this=0x1f3c390) at dom/qdom.cpp:3100
#13 QDomElementPrivate::attribute (this=<optimized out>, name_=..., defValue=...) at dom/qdom.cpp:4458
#14 0x00007f1c5d862111 in QDomElement::attribute (this=<optimized out>, name=..., defValue=...) at dom/qdom.cpp:4815
#15 0x00007f1c60fd806c in KXMLGUI::BuildHelper::calcMergingIndex (this=0x7fffde7c76e0, element=..., it=..., group=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:522
#16 0x00007f1c60fdab17 in KXMLGUI::BuildHelper::processActionOrCustomElement (this=0x7fffde7c76e0, e=..., isActionTag=true) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:608
#17 0x00007f1c60fdac98 in KXMLGUI::BuildHelper::processElement (this=0x7fffde7c76e0, e=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:591
#18 0x00007f1c60fdaea0 in KXMLGUI::BuildHelper::build (this=0x7fffde7c76e0, element=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:571
#19 0x00007f1c60fdaf94 in KXMLGUI::BuildHelper::processContainerElement (this=0x7fffde7c7930, e=..., tag=..., name=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:816
#20 0x00007f1c60fdad14 in KXMLGUI::BuildHelper::processElement (this=0x7fffde7c7930, e=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:593
#21 0x00007f1c60fdaea0 in KXMLGUI::BuildHelper::build (this=0x7fffde7c7930, element=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:571
#22 0x00007f1c60fdaf94 in KXMLGUI::BuildHelper::processContainerElement (this=0x7fffde7c7b90, e=..., tag=..., name=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:816
#23 0x00007f1c60fdad14 in KXMLGUI::BuildHelper::processElement (this=0x7fffde7c7b90, e=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:593
#24 0x00007f1c60fdaea0 in KXMLGUI::BuildHelper::build (this=0x7fffde7c7b90, element=...) at ../../kdeui/xmlgui/kxmlguifactory_p.cpp:571
#25 0x00007f1c60fd5d16 in KXMLGUIFactory::addClient (this=0x1699530, client=0x19d1198) at ../../kdeui/xmlgui/kxmlguifactory.cpp:271
#26 0x00007f1c61c09cd5 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_konsole.so
#27 0x00007f1c61c0d59c in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_konsole.so
#28 0x00007f1c60476781 in QMetaObject::activate (sender=0x163df00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde7c7e80) at kernel/qobject.cpp:3547
#29 0x00007f1c615cbe02 in Konsole::ViewManager::activeViewChanged(Konsole::SessionController*) () from /usr/lib/libkonsoleprivate.so
#30 0x00007f1c615cbe6c in Konsole::ViewManager::controllerChanged(Konsole::SessionController*) () from /usr/lib/libkonsoleprivate.so
#31 0x00007f1c615d1f96 in ?? () from /usr/lib/libkonsoleprivate.so
#32 0x00007f1c60476781 in QMetaObject::activate (sender=0x19d1170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde7c8090) at kernel/qobject.cpp:3547
#33 0x00007f1c615ac4cf in Konsole::SessionController::focused(Konsole::SessionController*) () from /usr/lib/libkonsoleprivate.so
#34 0x00007f1c615b25b8 in Konsole::SessionController::eventFilter(QObject*, QEvent*) () from /usr/lib/libkonsoleprivate.so
#35 0x00007f1c604624b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x19d5ce0, event=0x7fffde7c8600) at kernel/qcoreapplication.cpp:1025
#36 0x00007f1c5f7e377f in notify_helper (e=0x7fffde7c8600, receiver=0x19d5ce0, this=0x157adb0) at kernel/qapplication.cpp:4552
#37 QApplicationPrivate::notify_helper (this=0x157adb0, receiver=0x19d5ce0, e=0x7fffde7c8600) at kernel/qapplication.cpp:4528
#38 0x00007f1c5f7e8583 in QApplication::notify (this=0x7fffde7ca5a0, receiver=0x19d5ce0, e=0x7fffde7c8600) at kernel/qapplication.cpp:4417
#39 0x00007f1c60ecb6b6 in KApplication::notify (this=0x7fffde7ca5a0, receiver=0x19d5ce0, event=0x7fffde7c8600) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f1c6046232c in QCoreApplication::notifyInternal (this=0x7fffde7ca5a0, receiver=0x19d5ce0, event=0x7fffde7c8600) at kernel/qcoreapplication.cpp:915
#41 0x00007f1c5f7e2146 in sendEvent (event=0x7fffde7c8600, receiver=0x19d5ce0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::setFocusWidget (focus=0x19d5ce0, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:2272
#43 0x00007f1c5f826d61 in QWidget::setFocus (this=0x19d5ce0, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:6459
#44 0x00007f1c5f8182e4 in setFocus (this=0x19d5ce0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:429
#45 QStackedLayout::setCurrentIndex (this=0x172d620, index=2) at kernel/qstackedlayout.cpp:328
#46 0x00007f1c615c7081 in ?? () from /usr/lib/libkonsoleprivate.so
#47 0x00007f1c615cdf2d in Konsole::ViewManager::switchToView(int) () from /usr/lib/libkonsoleprivate.so
#48 0x00007f1c615d1f85 in ?? () from /usr/lib/libkonsoleprivate.so
#49 0x00007f1c60476781 in QMetaObject::activate (sender=0x165d3b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde7c8950) at kernel/qobject.cpp:3547
#50 0x00007f1c6047e03e in QSignalMapper::mapped (this=<optimized out>, _t1=2) at .moc/release-shared/moc_qsignalmapper.cpp:115
#51 0x00007f1c6047e5db in QSignalMapper::map (this=0x165d3b0, sender=0x168fcb0) at kernel/qsignalmapper.cpp:266
#52 0x00007f1c60476781 in QMetaObject::activate (sender=0x168fcb0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffde7c8ae0) at kernel/qobject.cpp:3547
#53 0x00007f1c5f7dd072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#54 0x00007f1c5f7dd25f in QAction::activate (this=0x168fcb0, event=<optimized out>) at kernel/qaction.cpp:1257
#55 0x00007f1c5f7dd3cf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#56 0x00007f1c60de230a in KAction::event (this=<optimized out>, event=0x7fffde7c9100) at ../../kdeui/actions/kaction.cpp:131
#57 0x00007f1c5f7e37b4 in notify_helper (e=0x7fffde7c9100, receiver=0x168fcb0, this=0x157adb0) at kernel/qapplication.cpp:4556
#58 QApplicationPrivate::notify_helper (this=0x157adb0, receiver=0x168fcb0, e=0x7fffde7c9100) at kernel/qapplication.cpp:4528
#59 0x00007f1c5f7e8583 in QApplication::notify (this=0x7fffde7ca5a0, receiver=0x168fcb0, e=0x7fffde7c9100) at kernel/qapplication.cpp:4417
#60 0x00007f1c60ecb6b6 in KApplication::notify (this=0x7fffde7ca5a0, receiver=0x168fcb0, event=0x7fffde7c9100) at ../../kdeui/kernel/kapplication.cpp:311
#61 0x00007f1c6046232c in QCoreApplication::notifyInternal (this=0x7fffde7ca5a0, receiver=0x168fcb0, event=0x7fffde7c9100) at kernel/qcoreapplication.cpp:915
#62 0x00007f1c5f815729 in sendEvent (event=0x7fffde7c9100, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#63 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fffde7c96a0) at kernel/qshortcutmap.cpp:879
#64 0x00007f1c5f816bfa in QShortcutMap::tryShortcutEvent (this=0x157aed0, o=<optimized out>, e=0x7fffde7c96a0) at kernel/qshortcutmap.cpp:364
#65 0x00007f1c5f7e9e02 in QApplication::notify (this=0x7fffde7ca5a0, receiver=0x196f3b0, e=0x7fffde7c96a0) at kernel/qapplication.cpp:3980
#66 0x00007f1c60ecb6b6 in KApplication::notify (this=0x7fffde7ca5a0, receiver=0x196f3b0, event=0x7fffde7c96a0) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x00007f1c6046232c in QCoreApplication::notifyInternal (this=0x7fffde7ca5a0, receiver=0x196f3b0, event=0x7fffde7c96a0) at kernel/qcoreapplication.cpp:915
#68 0x00007f1c5f887bc9 in QKeyMapper::sendKeyEvent (keyWidget=0x196f3b0, grab=<optimized out>, type=QEvent::KeyPress, code=51, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=12, nativeVirtualKey=51, nativeModifiers=8) at kernel/qkeymapper_x11.cpp:1866
#69 0x00007f1c5f88803b in QKeyMapperPrivate::translateKeyEvent (this=0x15b98d0, keyWidget=0x196f3b0, event=0x7fffde7ca190, grab=false) at kernel/qkeymapper_x11.cpp:1836
#70 0x00007f1c5f862557 in QApplication::x11ProcessEvent (this=0x7fffde7ca5a0, event=0x7fffde7ca190) at kernel/qapplication_x11.cpp:3625
#71 0x00007f1c5f88c052 in x11EventSourceDispatch (s=0x1577720, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#72 0x00007f1c5b88ed53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f1c5b88f0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f1c5b88f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x00007f1c604918bf in QEventDispatcherGlib::processEvents (this=0x14cead0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#76 0x00007f1c5f88bcde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x00007f1c60460e62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#78 0x00007f1c604610b7 in QEventLoop::exec (this=0x7fffde7ca530, flags=...) at kernel/qeventloop.cpp:204
#79 0x00007f1c60466407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#80 0x00007f1c61c10b58 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konsole.so
#81 0x00007f1c6183276d in __libc_start_main (main=0x400630, argc=3, ubp_av=0x7fffde7ca808, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffde7ca7f8) at libc-start.c:226
#82 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-07-20 15:54:01 UTC
The crash looks strange. 

Is that reproducible ?  If yes, could you install debug symbols for konsole and provide a better backtrace?
Comment 2 Ahmad Samir 2018-02-28 15:50:22 UTC
KDE4/konsole is no longer maintained.