Bug 408999 - Konsole crash on stopping activity
Summary: Konsole crash on stopping activity
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 19.04.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-06-21 15:10 UTC by Marcus Harrison
Modified: 2021-01-01 04:39 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 Marcus Harrison 2019-06-21 15:10:21 UTC
Application: konsole (19.04.2)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 4.18.0-22-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:

I was running tmux in a Konsole window with only one tab. I switched to another
Plasma activity and stopped the activity running the Konsole window, which lead 
to this crash.

-- 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 0x7f08202a5800 (LWP 1714))]

Thread 2 (Thread 0x7f0803330700 (LWP 1721)):
#0  0x00007f081fbbc0b4 in __GI___libc_read (fd=7, buf=0x7f080332fb60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f0815435000 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08153effb7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08153f0470 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08153f05dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f081c057dcb in QEventDispatcherGlib::processEvents (this=0x7f07fc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f081bff903a in QEventLoop::exec (this=this@entry=0x7f080332fd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f081be204ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f0819852015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f081be21c72 in QThreadPrivate::start (arg=0x7f0819ac9d80) at thread/qthread_unix.cpp:361
#10 0x00007f08171366db in start_thread (arg=0x7f0803330700) at pthread_create.c:463
#11 0x00007f081fbcd88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f08202a5800 (LWP 1714)):
[KCrash Handler]
#6  QHashNode<unsigned int, QXcbWindowEventListener*>::same_key (this=0x0, this=0x0, key0=@0x7ffc74b53a5c: 48235529, h0=247331385) at ../../../../include/QtCore/../../src/corelib/tools/qhash.h:158
#7  QHash<unsigned int, QXcbWindowEventListener*>::findNode (h=247331385, akey=@0x7ffc74b53a5c: 48235529, this=0x55bc28498808) at ../../../../include/QtCore/../../src/corelib/tools/qhash.h:919
#8  QHash<unsigned int, QXcbWindowEventListener*>::findNode (this=this@entry=0x55bc28498808, akey=@0x7ffc74b53a5c: 48235529, ahp=ahp@entry=0x0) at ../../../../include/QtCore/../../src/corelib/tools/qhash.h:938
#9  0x00007f080db1c358 in QHash<unsigned int, QXcbWindowEventListener*>::remove (this=0x55bc28498808, akey=@0x7ffc74b53a5c: 48235529, akey@entry=@0x7ffc74b53a5c: <optimized out>) at ../../../../include/QtCore/../../src/corelib/tools/qhash.h:806
#10 0x00007f080db1b459 in QXcbConnection::removeWindowEventListener (this=<optimized out>, id=<optimized out>) at qxcbconnection.cpp:178
#11 0x00007f080db2c341 in QXcbWindow::destroy (this=this@entry=0x7f0804010ea0) at qxcbwindow.cpp:569
#12 0x00007f080db2c431 in QXcbWindow::~QXcbWindow (this=0x7f0804010ea0, __in_chrg=<optimized out>) at qxcbwindow.cpp:537
#13 0x00007f0801cf96ad in QXcbGlxWindow::~QXcbGlxWindow (this=0x7f0804010ea0, __in_chrg=<optimized out>) at qxcbglxwindow.cpp:53
#14 QXcbGlxWindow::~QXcbGlxWindow (this=0x7f0804010ea0, __in_chrg=<optimized out>) at qxcbglxwindow.cpp:55
#15 0x00007f081c5ce611 in QWindowPrivate::destroy (this=0x55bc28a3a410) at kernel/qwindow.cpp:1908
#16 0x00007f081ce25ca4 in QWidgetPrivate::deleteTLSysExtra (this=0x55bc287fd410) at kernel/qwidget.cpp:1901
#17 0x00007f081ce2ab88 in QWidget::destroy (this=this@entry=0x55bc28827370, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12494
#18 0x00007f081ce322c8 in QWidget::~QWidget (this=0x55bc28827370, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1713
#19 0x00007f081cf6d179 in QMenu::~QMenu (this=0x55bc28827370, __in_chrg=<optimized out>) at widgets/qmenu.cpp:1724
#20 0x00007f081f2d9a0a in KXMLGUIBuilder::removeContainer (this=0x55bc2852cd88, container=0x55bc28827370, parent=0x0, element=..., containerAction=0x0) at ./src/kxmlguibuilder.cpp:290
#21 0x00007f081f2ef4e8 in KXMLGUI::ContainerNode::destruct (this=this@entry=0x55bc287fd990, element=..., state=...) at ./src/kxmlguifactory_p.cpp:325
#22 0x00007f081f2ef613 in KXMLGUI::ContainerNode::destructChildren (this=this@entry=0x55bc285e2400, element=..., state=...) at ./src/kxmlguifactory_p.cpp:347
#23 0x00007f081f2ef28c in KXMLGUI::ContainerNode::destruct (this=this@entry=0x55bc285e2400, element=..., state=...) at ./src/kxmlguifactory_p.cpp:305
#24 0x00007f081f2e33cb in KXMLGUIFactory::removeClient (this=<optimized out>, client=<optimized out>) at ./src/kxmlguifactory.cpp:458
#25 0x00007f081feb73d7 in Konsole::MainWindow::disconnectController (this=0x55bc2852cd50, controller=0x55bc28829720) at ./src/MainWindow.cpp:231
#26 0x00007f081c02a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b540d0, r=0x55bc2852cd50, this=0x55bc285e1fd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#27 QMetaObject::activate (sender=sender@entry=0x55bc285baf00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc74b540d0) at kernel/qobject.cpp:3776
#28 0x00007f081c02af47 in QMetaObject::activate (sender=sender@entry=0x55bc285baf00, m=m@entry=0x7f081faa3c80 <Konsole::ViewManager::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc74b540d0) at kernel/qobject.cpp:3648
#29 0x00007f081f8576f2 in Konsole::ViewManager::unplugController (this=this@entry=0x55bc285baf00, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/konsoleprivate_autogen/EWIEGA46WW/moc_ViewManager.cpp:488
#30 0x00007f081f8438a8 in Konsole::ViewManager::sessionFinished (this=0x55bc285baf00) at ./src/ViewManager.cpp:455
#31 0x00007f081c02a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b54260, r=0x55bc285baf00, this=0x55bc287a9f10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#32 QMetaObject::activate (sender=sender@entry=0x55bc287749d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3776
#33 0x00007f081c02af47 in QMetaObject::activate (sender=sender@entry=0x55bc287749d0, m=m@entry=0x7f081faa3f00 <Konsole::Session::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3648
#34 0x00007f081f856903 in Konsole::Session::finished (this=this@entry=0x55bc287749d0) at ./obj-x86_64-linux-gnu/src/konsoleprivate_autogen/EWIEGA46WW/moc_Session.cpp:666
#35 0x00007f081f80edf0 in Konsole::Session::done (this=0x55bc287749d0, exitCode=1, exitStatus=QProcess::CrashExit) at ./src/Session.cpp:950
#36 0x00007f081c02a98f in QtPrivate::QSlotObjectBase::call (a=0x7ffc74b54480, r=0x55bc287749d0, this=0x55bc287859e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#37 QMetaObject::activate (sender=sender@entry=0x55bc2856e080, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc74b54480) at kernel/qobject.cpp:3776
#38 0x00007f081c02af47 in QMetaObject::activate (sender=sender@entry=0x55bc2856e080, m=m@entry=0x7f081c4a5ce0 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc74b54480) at kernel/qobject.cpp:3648
#39 0x00007f081bf75b5f in QProcess::finished (this=this@entry=0x55bc2856e080, _t1=<optimized out>, _t2=<optimized out>) at .moc/moc_qprocess.cpp:338
#40 0x00007f081bf7c9a7 in QProcessPrivate::_q_processDied (this=this@entry=0x55bc2877f450) at io/qprocess.cpp:1176
#41 0x00007f081bf816ed in QProcessPrivate::waitForFinished (this=this@entry=0x55bc2877f450, msecs=msecs@entry=1000) at io/qprocess_unix.cpp:868
#42 0x00007f081bf773eb in QProcess::waitForFinished (this=<optimized out>, msecs=1000) at io/qprocess.cpp:1919
#43 0x00007f081f80dda2 in Konsole::Session::closeInNormalWay (this=0x55bc287749d0) at ./src/Session.cpp:870
#44 0x00007f081f80e345 in Konsole::Session::close (this=0x55bc287749d0) at ./src/Session.cpp:831
#45 0x00007f081f81e228 in Konsole::SessionManager::closeAllSessions (this=0x7f081faabae0 <(anonymous namespace)::Q_QGS_theSessionManager::innerFunction()::holder>) at ./src/SessionManager.cpp:79
#46 0x00007f081feb11c4 in Konsole::Application::~Application (this=0x7ffc74b54870, __in_chrg=<optimized out>) at ./src/Application.cpp:159
#47 0x00007f081fec4cf2 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:188
#48 0x00007f081facdb97 in __libc_start_main (main=0x55bc2791b720 <main>, argc=3, argv=0x7ffc74b549c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc74b549b8) at ../csu/libc-start.c:310
#49 0x000055bc2791b75a in _start ()

Possible duplicates by query: bug 389942.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-02 00:43:09 UTC
Thanks for the report, Marcus.

As it's been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-12-17 04:34:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-01-01 04:39:42 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!