Bug 423491

Summary: Yakuake sometimes crashing when closing sessions
Product: [Applications] yakuake Reporter: raimund.machacek
Component: generalAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: crash CC: manimax3, vganin, vladstar-92
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description raimund.machacek 2020-06-25 11:50:32 UTC
Application: yakuake (3.0.5+)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 5.6.19-300.fc32.x86_64 x86_64
Windowing system: X11
Distribution: Fedora 32 (KDE Plasma)

-- Information about the crash:
- What I was doing when the application crashed:
I had multiple ssh-sessions open (in several, non-splitted tabs). 

When quitting the session (with Ctrl+D or exit), yakuake crashes with a segfault.

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7fc7a1187700 (LWP 4047)):
#0  0x00007fc7bc45ae92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc7a2e3d0fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007fc7a2e3cbcb in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007fc7bc454432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7bce139d3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fc7a1988700 (LWP 4046)):
#0  0x00007fc7bc45ae92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc7a2e3d0fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007fc7a2e3cbcb in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007fc7bc454432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7bce139d3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc7a2189700 (LWP 4045)):
#0  0x00007fc7bc45ae92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc7a2e3d0fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007fc7a2e3cbcb in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007fc7bc454432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7bce139d3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc7a298a700 (LWP 4044)):
#0  0x00007fc7bc45ae92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc7a2e3d0fb in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007fc7a2e3cbcb in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007fc7bc454432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc7bce139d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc7aa792700 (LWP 4043)):
#0  0x00007fc7bbb791e8 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#1  0x00007fc7bbb29f77 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007fc7bbb2a9fb in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#3  0x00007fc7bbb2ac03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007fc7bd372b8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007fc7bd32591b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007fc7bd191427 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007fc7be21151b in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#8  0x00007fc7bd192690 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007fc7bc454432 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc7bce139d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc7abfe6700 (LWP 4042)):
#0  0x00007fc7bce08b6f in poll () from /lib64/libc.so.6
#1  0x00007fc7bc8f338a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007fc7bc8f571a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007fc7ac19cc78 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007fc7bd192690 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007fc7bc454432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fc7bce139d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc7b9280940 (LWP 4041)):
[KCrash Handler]
#4  0x0000000000000000 in ?? ()
#5  0x00007fc7bd34f7ea in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /lib64/libQt5Core.so.5
#6  0x00007fc7be8f20bc in KActionCollection::removeAssociatedWidget(QWidget*) () from /lib64/libKF5XmlGui.so.5
#7  0x00007fc7be92b46f in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /lib64/libKF5XmlGui.so.5
#8  0x00007fc7be92ee7f in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /lib64/libKF5XmlGui.so.5
#9  0x00007fc7a07962a1 in Konsole::SessionController::~SessionController() () from /lib64/libkonsoleprivate.so.20
#10 0x00007fc7a079648d in Konsole::SessionController::~SessionController() () from /lib64/libkonsoleprivate.so.20
#11 0x00007fc7bd34e961 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007fc7bdcc4063 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007fc7bd326fc0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007fc7bd329c47 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#15 0x00007fc7bd3730a7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#16 0x00007fc7bbb2a7af in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x00007fc7bbb2ab38 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#18 0x00007fc7bbb2ac03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x00007fc7bd372b73 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007fc7bd32591b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#21 0x00007fc7bd32d5a6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#22 0x0000564e4d78e954 in main ()
[Inferior 1 (process 4041) detached]

Possible duplicates by query: bug 422646, bug 421226, bug 421194, bug 421138, bug 421060.

Reported using DrKonqi
Comment 1 Maximilian Schiller 2020-06-28 18:15:09 UTC

*** This bug has been marked as a duplicate of bug 415762 ***
Comment 2 vganin 2022-08-30 09:52:15 UTC
Created attachment 151702 [details]
New crash information added by DrKonqi

yakuake (21.12.2) using Qt 5.15.2

I had several non-splitted tabs opened

When quitting the session (with Ctrl+D or exit), yakuake crashes.

-- Backtrace (Reduced):
#4  0x00007f2c716f8194 in QWidget::focusWidget() const () from /lib64/libQt5Widgets.so.5
#5  0x000056168f138924 in SessionStack::raiseSession(int) ()
#7  0x00007f2c70c297d9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x000056168f136fe4 in TabBar::setTabTitle(int, QString const&, TabBar::InteractiveType) ()
#9  0x00007f2c70c29820 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
Comment 3 vladstar-92 2023-02-03 12:44:07 UTC
Created attachment 155918 [details]
New crash information added by DrKonqi

yakuake (22.12.1) using Qt 5.15.8

App crashed on session close with custom hotkeys

-- Backtrace (Reduced):
#5  0x0000ffff60a47f0c in QWidget::removeAction(QAction*) () from /usr/lib/libQt5Widgets.so.5
#6  0x0000ffff61bd0d5c in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib/libKF5XmlGui.so.5
#7  0x0000ffff61c2a718 in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib/libKF5XmlGui.so.5
#8  0x0000ffff61c313cc in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib/libKF5XmlGui.so.5
#9  0x0000ffff504146f4 in Konsole::SessionController::~SessionController() () from /usr/lib/libkonsoleprivate.so.1