Konsole crash when close this, everytime happen. Reproducible: Always Steps to Reproduce: 1. Open 2. Close 3. Crash Actual Results: Crash Application: <application>Konsole</application> (konsole), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fcdf1ab5800 (LWP 17093))] Thread 3 (Thread 0x7fcddd478700 (LWP 17094)): #0 0x00007fcdf13d1ddd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fcdea262b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fcdea26464f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fcddee1ad1b in QXcbEventReader::run (this=0x21f57a0) at qxcbconnection.cpp:1007 #4 0x00007fcded79fc65 in QThreadPrivate::start (arg=0x21f57a0) at thread/qthread_unix.cpp:345 #5 0x00007fcde7ef4182 in start_thread (arg=0x7fcddd478700) at pthread_create.c:312 #6 0x00007fcdf13df12d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fcdd082f700 (LWP 17095)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fcdd2b93183 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so #2 0x00007fcdd2b92aa7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so #3 0x00007fcde7ef4182 in start_thread (arg=0x7fcdd082f700) at pthread_create.c:312 #4 0x00007fcdf13df12d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fcdf1ab5800 (LWP 17093)): [KCrash Handler] #6 0x00000000023daaa0 in ?? () #7 0x00007fcdeea4d01e in QStackedWidget::indexOf (this=0x22c7dd0, widget=0x22f6c40) at widgets/qstackedwidget.cpp:261 #8 0x00007fcdf10440e0 in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #9 0x00007fcdf1041d98 in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #10 0x00007fcdf10624d5 in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #11 0x00007fcdeda4f240 in QMetaObject::activate (sender=0x22f6c40, signalOffset=0, local_signal_index=0, argv=0x7fff6a526550) at kernel/qobject.cpp:3682 #12 0x00007fcdeda4ea3c in QMetaObject::activate (sender=0x22f6c40, m=0x7fcdedef7000 <QObject::staticMetaObject>, local_signal_index=0, argv=0x7fff6a526550) at kernel/qobject.cpp:3548 #13 0x00007fcdeda51c13 in QObject::destroyed (this=0x22f6c40, _t1=0x22f6c40) at .moc/moc_qobject.cpp:202 #14 0x00007fcdee87c980 in QWidget::~QWidget (this=0x22f6c40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1460 #15 0x00007fcdf10337ad in Konsole::TerminalDisplay::~TerminalDisplay() () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #16 0x00007fcdf10337e6 in Konsole::TerminalDisplay::~TerminalDisplay() () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #17 0x00007fcdeda49f24 in QObjectPrivate::deleteChildren (this=0x22de530) at kernel/qobject.cpp:1935 #18 0x00007fcdee87ca3b in QWidget::~QWidget (this=0x22c7dd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1489 #19 0x00007fcdee9ddfa6 in QFrame::~QFrame (this=0x22c7dd0, __in_chrg=<optimized out>) at widgets/qframe.cpp:217 #20 0x00007fcdeea4cdbe in QStackedWidget::~QStackedWidget (this=0x22c7dd0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:149 #21 0x00007fcdeea4cdf4 in QStackedWidget::~QStackedWidget (this=0x22c7dd0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:151 #22 0x00007fcdeda49f24 in QObjectPrivate::deleteChildren (this=0x22de360) at kernel/qobject.cpp:1935 #23 0x00007fcdee87ca3b in QWidget::~QWidget (this=0x22b7fc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1489 #24 0x00007fcdee87cb48 in QWidget::~QWidget (this=0x22b7fc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1509 #25 0x00007fcdeda49f24 in QObjectPrivate::deleteChildren (this=0x2299fd0) at kernel/qobject.cpp:1935 #26 0x00007fcdee87ca3b in QWidget::~QWidget (this=0x2299f80, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1489 #27 0x00007fcdee9ddfa6 in QFrame::~QFrame (this=0x2299f80, __in_chrg=<optimized out>) at widgets/qframe.cpp:217 #28 0x00007fcdeea49c7c in QSplitter::~QSplitter (this=0x2299f80, __in_chrg=<optimized out>) at widgets/qsplitter.cpp:968 #29 0x00007fcdf10675d7 in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #30 0x00007fcdf1067610 in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkonsoleprivate.so #31 0x00007fcdeda49f24 in QObjectPrivate::deleteChildren (this=0x22b0400) at kernel/qobject.cpp:1935 #32 0x00007fcdee87ca3b in QWidget::~QWidget (this=0x22aed10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1489 #33 0x00007fcdee87cb48 in QWidget::~QWidget (this=0x22aed10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1509 #34 0x00007fcdeda49f24 in QObjectPrivate::deleteChildren (this=0x2270520) at kernel/qobject.cpp:1935 #35 0x00007fcdee87ca3b in QWidget::~QWidget (this=0x226ff50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1489 #36 0x00007fcdee9f9796 in QMainWindow::~QMainWindow (this=0x226ff50, __in_chrg=<optimized out>) at widgets/qmainwindow.cpp:387 #37 0x00007fcdf0cc7c88 in KMainWindow::~KMainWindow (this=0x226ff50, __in_chrg=<optimized out>) at /build/buildd/project-neon5-kxmlgui-0.0+git20140313.3~5874595+neon3~14.04/src/kmainwindow.cpp:333 #38 0x00007fcdf0d0538c in KXmlGuiWindow::~KXmlGuiWindow (this=0x226ff50, __vtt_parm=0x7fcdf18dc788, __in_chrg=<optimized out>) at /build/buildd/project-neon5-kxmlgui-0.0+git20140313.3~5874595+neon3~14.04/src/kxmlguiwindow.cpp:110 #39 0x00007fcdf16cea9e in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkdeinit5_konsole.so #40 0x00007fcdf16ceb04 in ?? () from /opt/project-neon5/lib/x86_64-linux-gnu/libkdeinit5_konsole.so #41 0x00007fcdeda50c3a in qDeleteInEventHandler (o=0x226ff50) at kernel/qobject.cpp:4344 #42 0x00007fcdeda489c8 in QObject::event (this=0x226ff50, e=0x2863a00) at kernel/qobject.cpp:1232 #43 0x00007fcdee88e1ed in QWidget::event (this=0x226ff50, event=0x2863a00) at kernel/qwidget.cpp:8376 #44 0x00007fcdee9fb84c in QMainWindow::event (this=0x226ff50, event=0x2863a00) at widgets/qmainwindow.cpp:1496 #45 0x00007fcdf0cca028 in KMainWindow::event (this=0x226ff50, ev=0x2863a00) at /build/buildd/project-neon5-kxmlgui-0.0+git20140313.3~5874595+neon3~14.04/src/kmainwindow.cpp:840 #46 0x00007fcdf0d05581 in KXmlGuiWindow::event (this=0x226ff50, ev=0x2863a00) at /build/buildd/project-neon5-kxmlgui-0.0+git20140313.3~5874595+neon3~14.04/src/kxmlguiwindow.cpp:118 #47 0x00007fcdee844224 in QApplicationPrivate::notify_helper (this=0x21dcf70, receiver=0x226ff50, e=0x2863a00) at kernel/qapplication.cpp:3487 #48 0x00007fcdee844087 in QApplication::notify (this=0x7fff6a527a80, receiver=0x226ff50, e=0x2863a00) at kernel/qapplication.cpp:3452 #49 0x00007fcdeff02b5b in KApplication::notify(QObject*, QEvent*) () from /opt/project-neon5/lib/x86_64-linux-gnu/libKF5KDE4Support.so.5 #50 0x00007fcdeda0d528 in QCoreApplication::notifyInternal (this=0x7fff6a527a80, receiver=0x226ff50, event=0x2863a00) at kernel/qcoreapplication.cpp:937 #51 0x00007fcdeda110b5 in QCoreApplication::sendEvent (receiver=0x226ff50, event=0x2863a00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 #52 0x00007fcdeda0e7f3 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21b5f50) at kernel/qcoreapplication.cpp:1541 #53 0x00007fcdeda0e198 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1399 #54 0x00007fcdeda832f6 in postEventSourceDispatch (s=0x21f8270) at kernel/qeventdispatcher_glib.cpp:279 #55 0x00007fcde79dbe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #56 0x00007fcde79dc048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #57 0x00007fcde79dc0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #58 0x00007fcdeda83a97 in QEventDispatcherGlib::processEvents (this=0x21f82f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #59 0x00007fcddee76118 in QPAEventDispatcherGlib::processEvents (this=0x21f82f0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:123 #60 0x00007fcdeda0a260 in QEventLoop::processEvents (this=0x7fff6a527950, flags=...) at kernel/qeventloop.cpp:136 #61 0x00007fcdeda0a521 in QEventLoop::exec (this=0x7fff6a527950, flags=...) at kernel/qeventloop.cpp:212 #62 0x00007fcdeda0dbe0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1190 #63 0x00007fcdedfedd66 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1434 #64 0x00007fcdee8410f9 in QApplication::exec () at kernel/qapplication.cpp:2735 #65 0x00007fcdf16c56d5 in kdemain () from /opt/project-neon5/lib/x86_64-linux-gnu/libkdeinit5_konsole.so #66 0x00000000004008bf in main ()
Yes, I know - this happens when using the X icon button.
With the latest build, I no longer get this crash. I'm fairly sure it was some part of kdelibs/frameworks.
I still get the crash in this same situation: Konsole ver.: 2.99.90 Frameworks ver.: 4.100.0 Application: <application>Konsole</application> (konsole), signal: Illegal instruction Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fab8b05b880 (LWP 5427))] Thread 2 (Thread 0x7fab77211700 (LWP 5428)): #0 0x00007fab8a9a0b3d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fab83dfc0e2 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007fab83dfd77f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007fab78f3cd59 in QXcbEventReader::run (this=0x124ed40) at qxcbconnection.cpp:1034 #4 0x00007fab8724f06f in QThreadPrivate::start (arg=0x124ed40) at thread/qthread_unix.cpp:345 #5 0x00007fab81dcb0db in start_thread (arg=0x7fab77211700) at pthread_create.c:309 #6 0x00007fab8a9a990d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fab8b05b880 (LWP 5427)): [KCrash Handler] #6 0x00007fab8757e406 in typeinfo name for QObject () from /usr/lib64/libQt5Core.so.5 #7 0x00007fab8a65bef8 in Konsole::TabbedViewContainer::removeViewWidget (this=0x1365270, view=0x1620e10) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/ViewContainer.cpp:656 #8 0x00007fab8a65d1ec in Konsole::ViewContainer::viewDestroyed (this=0x1365270, object=<optimized out>) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/ViewContainer.cpp:167 #9 0x00007fab8745c4a3 in call (a=0x7fffff765a70, r=0x1365270, this=0x1604160) at ../../src/corelib/kernel/qobject_impl.h:132 #10 QMetaObject::activate (sender=sender@entry=0x1620e10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffff765a70) at kernel/qobject.cpp:3666 #11 0x00007fab8745ce57 in QMetaObject::activate (sender=sender@entry=0x1620e10, m=m@entry=0x7fab8786ade0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffff765a70) at kernel/qobject.cpp:3546 #12 0x00007fab8745ceef in QObject::destroyed (this=this@entry=0x1620e10, _t1=_t1@entry=0x1620e10) at .moc/moc_qobject.cpp:205 #13 0x00007fab881069eb in QWidget::~QWidget (this=0x1620e10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1461 #14 0x00007fab8a64e9c9 in Konsole::TerminalDisplay::~TerminalDisplay (this=0x1620e10, __in_chrg=<optimized out>) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/TerminalDisplay.cpp:426 #15 0x00007fab8745b3dc in QObjectPrivate::deleteChildren (this=this@entry=0x1356920) at kernel/qobject.cpp:1935 #16 0x00007fab88106a4c in QWidget::~QWidget (this=0x1365320, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1490 #17 0x00007fab8825bed9 in QStackedWidget::~QStackedWidget (this=0x1365320, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:151 #18 0x00007fab8745b3dc in QObjectPrivate::deleteChildren (this=this@entry=0x1350360) at kernel/qobject.cpp:1935 #19 0x00007fab88106a4c in QWidget::~QWidget (this=0x1350320, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1490 #20 0x00007fab88106c59 in QWidget::~QWidget (this=0x1350320, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1510 #21 0x00007fab8745b3dc in QObjectPrivate::deleteChildren (this=this@entry=0x13161e0) at kernel/qobject.cpp:1935 #22 0x00007fab88106a4c in QWidget::~QWidget (this=0x1221fd0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1490 #23 0x00007fab8a67c64b in ~ViewSplitter (this=0x1221fd0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/ViewSplitter.h:47 #24 Konsole::ViewSplitter::~ViewSplitter (this=0x1221fd0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/ViewSplitter.h:47 #25 0x00007fab8745b3dc in QObjectPrivate::deleteChildren (this=this@entry=0x1341930) at kernel/qobject.cpp:1935 #26 0x00007fab88106a4c in QWidget::~QWidget (this=0x133fd70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1490 #27 0x00007fab88106c59 in QWidget::~QWidget (this=0x133fd70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1510 #28 0x00007fab8745b3dc in QObjectPrivate::deleteChildren (this=this@entry=0x1318fc0) at kernel/qobject.cpp:1935 #29 0x00007fab88106a4c in QWidget::~QWidget (this=0x1325df0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1490 #30 0x00007fab8ac98b03 in ~MainWindow (this=0x1325df0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/MainWindow.h:57 #31 Konsole::MainWindow::~MainWindow (this=0x1325df0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/MainWindow.h:57 #32 0x00007fab8745d688 in QObject::event (this=this@entry=0x1325df0, e=e@entry=0x1638c20) at kernel/qobject.cpp:1232 #33 0x00007fab88109d4e in QWidget::event (this=this@entry=0x1325df0, event=event@entry=0x1638c20) at kernel/qwidget.cpp:8365 #34 0x00007fab8821b50b in QMainWindow::event (this=this@entry=0x1325df0, event=event@entry=0x1638c20) at widgets/qmainwindow.cpp:1496 #35 0x00007fab8a2fc51a in KMainWindow::event (this=this@entry=0x1325df0, ev=ev@entry=0x1638c20) at /usr/src/debug/kxmlgui-4.100.0git~20140601~577dca2/src/kmainwindow.cpp:819 #36 0x00007fab8a347085 in KXmlGuiWindow::event (this=0x1325df0, ev=0x1638c20) at /usr/src/debug/kxmlgui-4.100.0git~20140601~577dca2/src/kxmlguiwindow.cpp:118 #37 0x00007fab880ceecc in QApplicationPrivate::notify_helper (this=this@entry=0x1234350, receiver=receiver@entry=0x1325df0, e=e@entry=0x1638c20) at kernel/qapplication.cpp:3501 #38 0x00007fab880d3c46 in QApplication::notify (this=0x7fffff766780, receiver=0x1325df0, e=0x1638c20) at kernel/qapplication.cpp:3284 #39 0x00007fab8742da45 in QCoreApplication::notifyInternal (this=0x7fffff766780, receiver=0x1325df0, event=event@entry=0x1638c20) at kernel/qcoreapplication.cpp:935 #40 0x00007fab8742f897 in sendEvent (event=0x1638c20, receiver=<optimized out>) at kernel/qcoreapplication.h:237 #41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x120a340) at kernel/qcoreapplication.cpp:1539 #42 0x00007fab8742fec8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1397 #43 0x00007fab874852e3 in postEventSourceDispatch (s=0x1274150) at kernel/qeventdispatcher_glib.cpp:279 #44 0x00007fab818ba316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #45 0x00007fab818ba668 in ?? () from /usr/lib64/libglib-2.0.so.0 #46 0x00007fab818ba70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #47 0x00007fab8748475c in QEventDispatcherGlib::processEvents (this=0x123b1f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #48 0x00007fab8742b95b in QEventLoop::exec (this=this@entry=0x7fffff766640, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212 #49 0x00007fab87432fb6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #50 0x00007fab8795b25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1446 #51 0x00007fab880cd5e5 in QApplication::exec () at kernel/qapplication.cpp:2746 #52 0x00007fab8ac927a9 in kdemain (argc=1, argv=0x7fffff7668c8) at /usr/src/debug/konsole-4.100.0git~20140530~8212a7d/src/main.cpp:92 #53 0x00007fab8a8e3be5 in __libc_start_main (main=0x4007d0 <main(int, char**)>, argc=1, argv=0x7fffff7668c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffff7668b8) at libc-start.c:269 #54 0x0000000000400801 in _start () at ../sysdeps/x86_64/start.S:122
Still crashing for me (resembling backtrace) in version 2.99.900. Konsole is the only frameworks application to crash. The error printed to the terminal is "XCB error: (BadWindow)" I'm also using Project Neon packages.