Bug 373674

Summary: Crash when using Split View -> Close others
Product: [Applications] konsole Reporter: Tim Small <tim>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: crash CC: elefandas, justin.zobel, raven4
Priority: NOR Keywords: drkonqi
Version: 16.08.3   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tim Small 2016-12-15 09:01:37 UTC
Application: konsole (16.08.3)

Qt Version: 5.7.1
Frameworks Version: 5.28.0
Operating System: Linux 4.8.0-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

Instantaneous crash on using  ctrl-shift-o shortcut to change from a Left/Right split view to non-split view.

The crash can be reproduced sometimes.

-- 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 0x7f4f6d038940 (LWP 24998))]

Thread 3 (Thread 0x7f4f690f1700 (LWP 25000)):
#0  0x00007f4f7e5fb56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4f75b719f6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f4f5c003020, timeout=<optimized out>, context=0x7f4f5c000990) at ././glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f4f5c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
#3  0x00007f4f75b71b0c in g_main_context_iteration (context=0x7f4f5c000990, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#4  0x00007f4f7b1f96fb in QEventDispatcherGlib::processEvents (this=0x7f4f5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f4f7b1a307a in QEventLoop::exec (this=this@entry=0x7f4f690f0c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f4f7afc50d3 in QThread::exec (this=this@entry=0x7f4f7ec67d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007f4f7ebf26d5 in QDBusConnectionManager::run (this=0x7f4f7ec67d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f4f7afc9d88 in QThreadPrivate::start (arg=0x7f4f7ec67d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f4f7782f464 in start_thread (arg=0x7f4f690f1700) at pthread_create.c:333
#10 0x00007f4f7e6049df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f4f6b071700 (LWP 24999)):
#0  0x00007f4f7e5fb56d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f4f77c54150 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f4f77c55ee9 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4f6cd96b69 in QXcbEventReader::run (this=0x56478cea4e30) at qxcbconnection.cpp:1343
#4  0x00007f4f7afc9d88 in QThreadPrivate::start (arg=0x56478cea4e30) at thread/qthread_unix.cpp:368
#5  0x00007f4f7782f464 in start_thread (arg=0x7f4f6b071700) at pthread_create.c:333
#6  0x00007f4f7e6049df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f4f6d038940 (LWP 24998)):
[KCrash Handler]
#6  0x00007f4f7ebb39c9 in std::__atomic_base<int>::operator-- (this=0x1000056478d206c) at /usr/include/c++/6/bits/atomic_base.h:304
#7  QAtomicOps<int>::deref<int> (_q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:271
#8  QBasicAtomicInteger<int>::deref (this=0x1000056478d206c) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:111
#9  QDomNamedNodeMapPrivate::clearMap (this=0x56478d1a3190) at dom/qdom.cpp:3069
#10 0x00007f4f7ebb3c1a in QDomNamedNodeMapPrivate::~QDomNamedNodeMapPrivate (this=0x56478d1a3190, __in_chrg=<optimized out>) at dom/qdom.cpp:3042
#11 QDomElementPrivate::~QDomElementPrivate (this=0x56478d206270, __in_chrg=<optimized out>) at dom/qdom.cpp:4421
#12 0x00007f4f7ebb3c89 in QDomElementPrivate::~QDomElementPrivate (this=0x56478d206270, __in_chrg=<optimized out>) at dom/qdom.cpp:4422
#13 0x00007f4f7ebb290b in QDomNodePrivate::~QDomNodePrivate (this=0x56478d1b99a0, __in_chrg=<optimized out>) at dom/qdom.cpp:1482
#14 0x00007f4f7ebb3c89 in QDomElementPrivate::~QDomElementPrivate (this=0x56478d1b99a0, __in_chrg=<optimized out>) at dom/qdom.cpp:4422
#15 0x00007f4f7ebb290b in QDomNodePrivate::~QDomNodePrivate (this=0x56478d209710, __in_chrg=<optimized out>) at dom/qdom.cpp:1482
#16 0x00007f4f7ebb2aa9 in QDomDocumentPrivate::~QDomDocumentPrivate (this=0x56478d209710, __in_chrg=<optimized out>) at dom/qdom.cpp:6191
#17 0x00007f4f7db62e56 in KXMLGUIClient::~KXMLGUIClient() () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#18 0x00007f4f7e28fc91 in Konsole::SessionController::~SessionController() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#19 0x00007f4f7e28fcd9 in Konsole::SessionController::~SessionController() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#20 0x00007f4f7b1d1b70 in QObject::event (this=0x56478d19dbc0, e=<optimized out>) at kernel/qobject.cpp:1254
#21 0x00007f4f7bd21b2c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56478d19dbc0, e=0x56478df03190) at kernel/qapplication.cpp:3799
#22 0x00007f4f7bd292e1 in QApplication::notify (this=0x56478ce8dbe0, receiver=0x56478d19dbc0, e=0x56478df03190) at kernel/qapplication.cpp:3556
#23 0x00007f4f7b1a5090 in QCoreApplication::notifyInternal2 (receiver=0x56478d19dbc0, event=event@entry=0x56478df03190) at kernel/qcoreapplication.cpp:988
#24 0x00007f4f7b1a781d in QCoreApplication::sendEvent (event=0x56478df03190, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x56478ce8ccc0) at kernel/qcoreapplication.cpp:1649
#26 0x00007f4f7b1a7c88 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#27 0x00007f4f7b1f92d3 in postEventSourceDispatch (s=0x56478ced2a20) at kernel/qeventdispatcher_glib.cpp:276
#28 0x00007f4f75b717f7 in g_main_dispatch (context=0x7f4f640016f0) at ././glib/gmain.c:3203
#29 g_main_context_dispatch (context=context@entry=0x7f4f640016f0) at ././glib/gmain.c:3856
#30 0x00007f4f75b71a60 in g_main_context_iterate (context=context@entry=0x7f4f640016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#31 0x00007f4f75b71b0c in g_main_context_iteration (context=0x7f4f640016f0, may_block=may_block@entry=1) at ././glib/gmain.c:3990
#32 0x00007f4f7b1f96df in QEventDispatcherGlib::processEvents (this=0x56478cecc1f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007f4f7b1a307a in QEventLoop::exec (this=this@entry=0x7ffde21cae80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#34 0x00007f4f7b1ab7ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#35 0x00007f4f7b77e2dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#36 0x00007f4f7bd21a85 in QApplication::exec () at kernel/qapplication.cpp:2975
#37 0x00007f4f7e8e1cd8 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:173
#38 0x00007f4f7e53c2b1 in __libc_start_main (main=0x56478bc09780 <main>, argc=1, argv=0x7ffde21cb148, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffde21cb138) at ../csu/libc-start.c:291
#39 0x000056478bc097ba in _start ()

Reported using DrKonqi
Comment 1 Kurt Hindenburg 2017-01-28 18:03:33 UTC
If you can produce it again, can you provide more info about how many tabs you have open and the current status?  A screenshot would be great if you can.
Comment 2 Christoph Feck 2017-09-06 21:15:45 UTC
*** Bug 372727 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2017-09-06 21:16:14 UTC
*** Bug 371746 has been marked as a duplicate of this bug. ***
Comment 4 Justin Zobel 2020-12-02 00:08:43 UTC
Thanks for the report, Tim.

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 5 Bug Janitor Service 2020-12-17 04:34:06 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 6 Bug Janitor Service 2021-01-01 04:39:27 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!