Bug 401392

Summary: Yakuake crashes when closing one of three open tabs
Product: [Applications] yakuake Reporter: stakanov
Component: generalAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 3.0.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description stakanov 2018-11-25 10:56:54 UTC
Application: yakuake (3.0.5)

Qt Version: 5.9.4
Frameworks Version: 5.45.0
Operating System: Linux 4.19.4-1.g2f38375-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:
I had three tabs open. 
One had run the following sudo command: 
sudo systemctl status privoxy.service 
the other did check for network traffic
tcpdump -n -i lo port 8118

the third was opened empty. 

- Unusual behavior I noticed:
When closing the tcpdump related middle tab, the whole application crashed. 
this happened irregularly in the past too. For what I recall always with multiple tabs open.

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f33012f4240 (LWP 3280))]

Thread 3 (Thread 0x7f32e99fa700 (LWP 3314)):
#0  0x00007f32fc178a17 in socketNotifierSourceCheck (source=0x7f32dc004c10) at kernel/qeventdispatcher_glib.cpp:75
#1  0x00007f32f6107b29 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f32f61080b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f32f610821c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f32fc178c0b in QEventDispatcherGlib::processEvents (this=0x7f32dc000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f32fc12109a in QEventLoop::exec (this=this@entry=0x7f32e99f9ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f32fbf504da in QThread::exec (this=this@entry=0x7f32fdfdcd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#7  0x00007f32fdd6c985 in QDBusConnectionManager::run (this=0x7f32fdfdcd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f32fbf550ce in QThreadPrivate::start (arg=0x7f32fdfdcd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f32f7cd7559 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f32fb85481f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f32ecc6f700 (LWP 3307)):
#0  0x00007f32fb84a07b in poll () from /lib64/libc.so.6
#1  0x00007f32f9d57387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f32f9d58fba in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f32efa27029 in QXcbEventReader::run (this=0x5654e3da0f00) at qxcbconnection.cpp:1330
#4  0x00007f32fbf550ce in QThreadPrivate::start (arg=0x5654e3da0f00) at thread/qthread_unix.cpp:368
#5  0x00007f32f7cd7559 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f32fb85481f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f33012f4240 (LWP 3280)):
[KCrash Handler]
#6  QList<QWidget*>::QList (this=0x7ffc863b93a0, l=...) at /usr/include/qt5/QtCore/qlist.h:807
#7  0x00007f32d86afa4d in Konsole::ViewContainer::views (this=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/src/ViewContainer.cpp:197
#8  0x00007f32d86b59c7 in Konsole::ViewManager::updateDetachViewState (this=this@entry=0x5654e44e6010) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/src/ViewManager.cpp:310
#9  0x00007f32d86b8ab4 in Konsole::ViewManager::viewDestroyed (this=0x5654e44e6010, view=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/src/ViewManager.cpp:836
#10 0x00007f32fc15014c in QtPrivate::QSlotObjectBase::call (a=0x7ffc863b9530, r=0x5654e44e6010, this=0x5654e44b4e60) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#11 QMetaObject::activate (sender=sender@entry=0x5654e44b3300, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc863b9530) at kernel/qobject.cpp:3749
#12 0x00007f32fc150757 in QMetaObject::activate (sender=sender@entry=0x5654e44b3300, m=m@entry=0x7f32d8917e60 <Konsole::ViewContainer::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc863b9530) at kernel/qobject.cpp:3628
#13 0x00007f32d86ccde2 in Konsole::ViewContainer::viewRemoved (this=this@entry=0x5654e44b3300, _t1=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/build/src/konsoleprivate_autogen/EWIEGA46WW/moc_ViewContainer.cpp:307
#14 0x00007f32d86b0b73 in Konsole::ViewContainer::forgetView (this=0x5654e44b3300, view=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/src/ViewContainer.cpp:181
#15 0x00007f32fc15014c in QtPrivate::QSlotObjectBase::call (a=0x7ffc863b96a0, r=0x5654e44b3300, this=0x5654e4515670) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#16 QMetaObject::activate (sender=sender@entry=0x5654e44495e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc863b96a0) at kernel/qobject.cpp:3749
#17 0x00007f32fc150757 in QMetaObject::activate (sender=sender@entry=0x5654e44495e0, m=m@entry=0x7f32fc5d29e0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc863b96a0) at kernel/qobject.cpp:3628
#18 0x00007f32fc1507ef in QObject::destroyed (this=this@entry=0x5654e44495e0, _t1=<optimized out>, _t1@entry=0x5654e44495e0) at .moc/moc_qobject.cpp:214
#19 0x00007f32fceeadc3 in QWidget::~QWidget (this=0x5654e44495e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1668
#20 0x00007f32d86a27c9 in Konsole::TerminalDisplay::~TerminalDisplay (this=0x5654e44495e0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/src/TerminalDisplay.cpp:451
#21 0x00007f32fc14de1b in QObjectPrivate::deleteChildren (this=this@entry=0x5654e3db9e30) at kernel/qobject.cpp:1992
#22 0x00007f32fceead1c in QWidget::~QWidget (this=0x5654e4477e60, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1700
#23 0x00007f32fd04d659 in QStackedWidget::~QStackedWidget (this=0x5654e4477e60, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:147
#24 0x00007f32fc14de1b in QObjectPrivate::deleteChildren (this=this@entry=0x5654e43e4ab0) at kernel/qobject.cpp:1992
#25 0x00007f32fceead1c in QWidget::~QWidget (this=0x5654e44ba7e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1700
#26 0x00007f32fceeaf39 in QWidget::~QWidget (this=0x5654e44ba7e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1724
#27 0x00007f32fc14de1b in QObjectPrivate::deleteChildren (this=this@entry=0x5654e444bda0) at kernel/qobject.cpp:1992
#28 0x00007f32fceead1c in QWidget::~QWidget (this=0x5654e445b170, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1700
#29 0x00007f32d86d4a6a in Konsole::ViewSplitter::~ViewSplitter (this=0x5654e445b170, __in_chrg=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/build/src/konsoleprivate_autogen/EWIEGA46WW/../../../../src/ViewSplitter.h:46
#30 Konsole::ViewSplitter::~ViewSplitter (this=0x5654e445b170, __in_chrg=<optimized out>) at /usr/src/debug/konsole-17.12.3-lp150.1.3.x86_64/build/src/konsoleprivate_autogen/EWIEGA46WW/../../../../src/ViewSplitter.h:46
#31 0x00007f32fc14de1b in QObjectPrivate::deleteChildren (this=this@entry=0x5654e44aaaa0) at kernel/qobject.cpp:1992
#32 0x00007f32fceead1c in QWidget::~QWidget (this=0x5654e435f510, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1700
#33 0x00005654e3704c11 in Splitter::~Splitter (this=0x5654e435f510, __in_chrg=<optimized out>) at /usr/src/debug/yakuake-3.0.5-lp150.1.2.x86_64/app/splitter.cpp:31
#34 Splitter::~Splitter (this=0x5654e435f510, __in_chrg=<optimized out>) at /usr/src/debug/yakuake-3.0.5-lp150.1.2.x86_64/app/splitter.cpp:33
#35 0x00005654e3700ad6 in Session::~Session (this=0x5654e4386af0, __in_chrg=<optimized out>) at /usr/src/debug/yakuake-3.0.5-lp150.1.2.x86_64/app/session.cpp:46
#36 0x00005654e3700b89 in Session::~Session (this=0x5654e4386af0, __in_chrg=<optimized out>) at /usr/src/debug/yakuake-3.0.5-lp150.1.2.x86_64/app/session.cpp:49
#37 0x00007f32fc150a58 in QObject::event (this=0x5654e4386af0, e=<optimized out>) at kernel/qobject.cpp:1237
#38 0x00007f32fceb2e8c in QApplicationPrivate::notify_helper (this=this@entry=0x5654e3d8c420, receiver=receiver@entry=0x5654e4386af0, e=e@entry=0x5654e45d4170) at kernel/qapplication.cpp:3723
#39 0x00007f32fceba244 in QApplication::notify (this=0x7ffc863b9fd0, receiver=0x5654e4386af0, e=0x5654e45d4170) at kernel/qapplication.cpp:3482
#40 0x00007f32fc122a88 in QCoreApplication::notifyInternal2 (receiver=0x5654e4386af0, event=event@entry=0x5654e45d4170) at kernel/qcoreapplication.cpp:1016
#41 0x00007f32fc125075 in QCoreApplication::sendEvent (event=0x5654e45d4170, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5654e3d6b5d0) at kernel/qcoreapplication.cpp:1676
#43 0x00007f32fc1255f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1530
#44 0x00007f32fc179573 in postEventSourceDispatch (s=0x5654e3deac00) at kernel/qeventdispatcher_glib.cpp:276
#45 0x00007f32f6107f57 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f32f6108190 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f32f610821c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f32fc178bef in QEventDispatcherGlib::processEvents (this=0x5654e3df4d80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#49 0x00007f32fc12109a in QEventLoop::exec (this=this@entry=0x7ffc863b9f10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#50 0x00007f32fc1299e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1289
#51 0x00005654e36e5a92 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/yakuake-3.0.5-lp150.1.2.x86_64/app/main.cpp:88
[Inferior 1 (process 3280) detached]

The reporter indicates this bug may be a duplicate of or related to bug 394665.

Possible duplicates by query: bug 394665.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-12-20 01:31:21 UTC

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