Bug 371624 - Konsole crashed upon tab close
Summary: Konsole crashed upon tab close
Status: RESOLVED DUPLICATE of bug 373633
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.08.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-24 19:30 UTC by Denis Sokolovsky
Modified: 2017-09-06 21:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Sokolovsky 2016-10-24 19:30:59 UTC
Application: konsole (16.08.2)
 (Compiled from sources)
Qt Version: 5.6.2
Frameworks Version: 5.27.0
Operating System: Linux 4.8.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.3"

-- Information about the crash:
- What I was doing when the application crashed:
Exited from shell with C-d, which trigger tab closing. That was not first tab closed, reproduction is somewhat obscure.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f9e4f8387c0 (LWP 2617))]

Thread 3 (Thread 0x7f9e4704e700 (LWP 2631)):
#0  0x00007f9e5ff37d6d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9e579ddf4c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f9e40003020, timeout=<optimized out>, context=0x7f9e40000990) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f9e40000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3835
#3  0x00007f9e579de05c in g_main_context_iteration (context=0x7f9e40000990, may_block=may_block@entry=1) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3901
#4  0x00007f9e5cba2d9b in QEventDispatcherGlib::processEvents (this=0x7f9e400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f9e5cb52aaa in QEventLoop::exec (this=this@entry=0x7f9e4704ddd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#6  0x00007f9e5c9b1b94 in QThread::exec (this=this@entry=0x7f9e60589e80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007f9e60517475 in QDBusConnectionManager::run (this=0x7f9e60589e80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007f9e5c9b603c in QThreadPrivate::start (arg=0x7f9e60589e80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:365
#9  0x00007f9e5946d434 in start_thread (arg=0x7f9e4704e700) at pthread_create.c:333
#10 0x00007f9e5ff40ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f9e4d4d7700 (LWP 2629)):
#0  0x00007f9e5ff37d6d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f9e59891882 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f9e59893687 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f9e4f410e09 in QXcbEventReader::run (this=0x25684c0) at qxcbconnection.cpp:1331
#4  0x00007f9e5c9b603c in QThreadPrivate::start (arg=0x25684c0) at thread/qthread_unix.cpp:365
#5  0x00007f9e5946d434 in start_thread (arg=0x7f9e4d4d7700) at pthread_create.c:333
#6  0x00007f9e5ff40ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9e4f8387c0 (LWP 2617)):
[KCrash Handler]
#6  QVector<QObjectUserData*>::~QVector (this=0x43a5160, __in_chrg=<optimized out>) at ../../src/corelib/tools/qvector.h:69
#7  QObjectPrivate::ExtraData::~ExtraData (this=0x43a5160, __in_chrg=<optimized out>) at kernel/qobject_p.h:106
#8  QObjectPrivate::~QObjectPrivate (this=0x52b68e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:254
#9  0x00007f9e5d6604e9 in QActionPrivate::~QActionPrivate (this=0x52b68e0, __in_chrg=<optimized out>) at kernel/qaction.cpp:84
#10 0x00007f9e5cb82ed1 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:54
#11 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x5b19398, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:101
#12 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:893
#13 0x00007f9e5d65ea19 in QAction::~QAction (this=0x5b19390, __in_chrg=<optimized out>) at kernel/qaction.cpp:564
#14 0x00007f9e5d65ea49 in QAction::~QAction (this=0x5b19390, __in_chrg=<optimized out>) at kernel/qaction.cpp:588
#15 0x00007f9e5cb81f45 in QObjectPrivate::deleteChildren (this=this@entry=0x5917ba0) at kernel/qobject.cpp:1963
#16 0x00007f9e5cb82e89 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
#17 0x00007f9e5d65ea19 in QAction::~QAction (this=0x503a430, __in_chrg=<optimized out>) at kernel/qaction.cpp:564
#18 0x00007f9e5d6b087d in QWidgetAction::~QWidgetAction (this=0x503a430, __in_chrg=<optimized out>) at kernel/qwidgetaction.cpp:112
#19 0x00007f9e5e2e7a38 in KSelectAction::~KSelectAction (this=0x503a430, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/kwidgetsaddons-5.27.0/kwidgetsaddons-5.27.0/src/kselectaction.cpp:98
#20 0x00007f9e5ec4a8b9 in KCodecAction::~KCodecAction (this=0x503a430, __in_chrg=<optimized out>) at /usr/src/debug/kde-frameworks/kconfigwidgets-5.27.0/kconfigwidgets-5.27.0/src/kcodecaction.cpp:85
#21 0x00007f9e5cb81f45 in QObjectPrivate::deleteChildren (this=this@entry=0x3a533e0) at kernel/qobject.cpp:1963
#22 0x00007f9e5cb82e89 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1034
#23 0x00007f9e5fbcebe9 in Konsole::SessionController::~SessionController() () from /usr/lib64/libkonsoleprivate.so.16
#24 0x00007f9e5fbcec29 in Konsole::SessionController::~SessionController() () from /usr/lib64/libkonsoleprivate.so.16
#25 0x00007f9e5cb7c588 in QObject::event (this=0x3a532b0, e=<optimized out>) at kernel/qobject.cpp:1247
#26 0x00007f9e5d667f9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x3a532b0, e=0x284b040) at kernel/qapplication.cpp:3804
#27 0x00007f9e5d66d486 in QApplication::notify (this=0x2552010, receiver=0x3a532b0, e=0x284b040) at kernel/qapplication.cpp:3561
#28 0x00007f9e5cb53c3a in QCoreApplication::notifyInternal2 (receiver=0x3a532b0, event=event@entry=0x284b040) at kernel/qcoreapplication.cpp:1015
#29 0x00007f9e5cb55c8a in QCoreApplication::sendEvent (event=0x284b040, receiver=<optimized out>) at kernel/qcoreapplication.h:225
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2550ea0) at kernel/qcoreapplication.cpp:1650
#31 0x00007f9e5cb56148 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#32 0x00007f9e5cba2d03 in postEventSourceDispatch (s=0x258df90) at kernel/qeventdispatcher_glib.cpp:270
#33 0x00007f9e579ddd57 in g_main_dispatch (context=0x7f9e480016f0) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3154
#34 g_main_context_dispatch (context=context@entry=0x7f9e480016f0) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3769
#35 0x00007f9e579ddfb0 in g_main_context_iterate (context=context@entry=0x7f9e480016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3840
#36 0x00007f9e579de05c in g_main_context_iteration (context=0x7f9e480016f0, may_block=may_block@entry=1) at /usr/src/debug/dev-libs/glib-2.48.2/glib-2.48.2/glib/gmain.c:3901
#37 0x00007f9e5cba2d7f in QEventDispatcherGlib::processEvents (this=0x2592ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#38 0x00007f9e5cb52aaa in QEventLoop::exec (this=this@entry=0x7ffeccf05640, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#39 0x00007f9e5cb5a55c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#40 0x00007f9e60219d05 in kdemain () from /usr/lib64/libkdeinit5_konsole.so
#41 0x00007f9e5fe79710 in __libc_start_main (main=0x4006e0, argc=3, argv=0x7ffeccf05908, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeccf058f8) at ../csu/libc-start.c:289
#42 0x0000000000400719 in _start ()

Reported using DrKonqi
Comment 1 Julio J. 2016-12-07 20:34:11 UTC
Pretty similar thing happened to me. I was closing tabs with "exit" command and then it crashed.

-- Application: konsole (16.08.3)

KDE Frameworks 5.28.0
Qt 5.7.0 (built against 5.7.0)
The xcb windowing system

-- Backtrace of the crash I experienced:

Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f11ae68a800 (LWP 12807))]

Thread 3 (Thread 0x7f119324f700 (LWP 12809)):
#0  0x00007f11ae07348d in poll () at /usr/lib/libc.so.6
#1  0x00007f11a43b8786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f11a43b889c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f11aa60772b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f11aa5b123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f11aa3d40f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f11a871de55 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f11aa3d8d78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f11a5e51454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f11ae07c7df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f11997b6700 (LWP 12808)):
#0  0x00007f11ae07348d in poll () at /usr/lib/libc.so.6
#1  0x00007f11a62768e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f11a6278679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f119b6f7449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f11aa3d8d78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f11a5e51454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f11ae07c7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f11ae68a800 (LWP 12807)):
[KCrash Handler]
#6  0x00007f11aa5e66b4 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#7  0x00007f11ab526389 in QAction::~QAction() () at /usr/lib/libQt5Widgets.so.5
#8  0x00007f11ab5263b9 in QAction::~QAction() () at /usr/lib/libQt5Widgets.so.5
#9  0x00007f11aa5dcdc1 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#10 0x00007f11aa5e666f in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#11 0x00007f11ab526389 in QAction::~QAction() () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f11ab576f2d in QWidgetAction::~QWidgetAction() () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f11ac3c349f in KSelectAction::~KSelectAction() () at /usr/lib/libKF5WidgetsAddons.so.5
#14 0x00007f11acd395b9 in KCodecAction::~KCodecAction() () at /usr/lib/libKF5ConfigWidgets.so.5
#15 0x00007f11aa5dcdc1 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#16 0x00007f11aa5e666f in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#17 0x00007f11add03a99 in Konsole::SessionController::~SessionController() () at /usr/lib/libkonsoleprivate.so.16
#18 0x00007f11add03ad9 in Konsole::SessionController::~SessionController() () at /usr/lib/libkonsoleprivate.so.16
#19 0x00007f11aa5df4f0 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f11ab52ce0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f11ab534581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007f11aa5b2de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007f11aa5b556d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f11aa607303 in  () at /usr/lib/libQt5Core.so.5
#25 0x00007f11a43b8587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#26 0x00007f11a43b87f0 in  () at /usr/lib/libglib-2.0.so.0
#27 0x00007f11a43b889c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#28 0x00007f11aa60770f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#29 0x00007f11aa5b123a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007f11aa5b973c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#31 0x00007f11ae35a0b1 in kdemain () at /usr/lib/libkdeinit5_konsole.so
#32 0x00007f11adfb4291 in __libc_start_main () at /usr/lib/libc.so.6
#33 0x000000000040065a in _start ()
Comment 2 Christoph Feck 2017-09-06 21:12:20 UTC

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