Bug 421194 - Yakuake sometimes crashes when closing a session
Summary: Yakuake sometimes crashes when closing a session
Status: RESOLVED DUPLICATE of bug 415762
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-05-08 15:58 UTC by Janek
Modified: 2020-05-29 14:15 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.43 KB, patch)
2020-05-14 10:16 UTC, Bartłomiej Burdukiewicz
Details
New crash information added by DrKonqi (29.35 KB, text/plain)
2020-05-22 22:49 UTC, Stefan Böhmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janek 2020-05-08 15:58:14 UTC
Application: yakuake (3.0.5+)

Qt Version: 5.14.2
Frameworks Version: 5.69.0
Operating System: Linux 5.1.15-050115-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

-- Information about the crash:
- What I was doing when the application crashed: I changed the console profiles, both from terminal with "konsoleprofile" and the context menus.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8c9fed8c80 (LWP 23917))]

Thread 4 (Thread 0x7f8c79db5700 (LWP 23920)):
#0  0x00007f8c960299f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5584e6cf89c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5584e6cf8978, cond=0x5584e6cf89a0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5584e6cf89a0, mutex=0x5584e6cf8978) at pthread_cond_wait.c:655
#3  0x00007f8c7b238ecb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f8c7b238ac7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f8c960236db in start_thread (arg=0x7f8c79db5700) at pthread_create.c:463
#6  0x00007f8c9a24d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f8c82fb5700 (LWP 23919)):
#0  0x00007f8c9a240bf9 in __GI___poll (fds=0x7f8c7c002de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c944af5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8c944af6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8c9aba744b in QEventDispatcherGlib::processEvents (this=0x7f8c7c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8c9ab469aa in QEventLoop::exec (this=this@entry=0x7f8c82fb4d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f8c9a9573d7 in QThread::exec (this=this@entry=0x7f8c9c3d6da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:536
#6  0x00007f8c9c15e555 in QDBusConnectionManager::run (this=0x7f8c9c3d6da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f8c9a9588ac in QThreadPrivate::start (arg=0x7f8c9c3d6da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f8c960236db in start_thread (arg=0x7f8c82fb5700) at pthread_create.c:463
#9  0x00007f8c9a24d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8c8aa6b700 (LWP 23918)):
#0  0x00007f8c9a240bf9 in __GI___poll (fds=0x7f8c8aa6aca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8c98540747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8c9854236a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f8c8d640fd0 in QXcbEventQueue::run (this=0x5584e6acc260) at qxcbeventqueue.cpp:228
#4  0x00007f8c9a9588ac in QThreadPrivate::start (arg=0x5584e6acc260) at thread/qthread_unix.cpp:342
#5  0x00007f8c960236db in start_thread (arg=0x7f8c8aa6b700) at pthread_create.c:463
#6  0x00007f8c9a24d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8c9fed8c80 (LWP 23917)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f8c9ab7ca36 in QObject::disconnect (sender=0x5584e6ee4fa0, signal=<optimized out>, signal@entry=0x7f8c9e8f89f2 "2destroyed(QObject*)", receiver=receiver@entry=0x5584e706cab0, method=0x5584e6c46cc9 "_k_associatedWidgetDestroyed(QObject*)", method@entry=0x7f8c9e8f88f8 "1_k_associatedWidgetDestroyed(QObject*)") at kernel/qobject.cpp:3121
#8  0x00007f8c9e88954c in KActionCollection::removeAssociatedWidget (this=0x5584e706cab0, widget=<optimized out>, widget@entry=0x5584e6ee4fa0) at ./src/kactioncollection.cpp:834
#9  0x00007f8c9e8d290b in KXMLGUIClient::prepareXMLUnplug (this=this@entry=0x5584e6ba0cb8, w=0x5584e6ee4fa0) at ./src/kxmlguiclient.cpp:796
#10 0x00007f8c9e8d70a1 in KXMLGUIFactory::removeClient (this=<optimized out>, client=<optimized out>, client@entry=0x5584e6ba0cb8) at ./src/kxmlguifactory.cpp:464
#11 0x00007f8c70b39614 in Konsole::SessionController::~SessionController (this=0x5584e6ba0c90, __in_chrg=<optimized out>) at ./src/SessionController.cpp:241
#12 0x00007f8c70b397c9 in Konsole::SessionController::~SessionController (this=0x5584e6ba0c90, __in_chrg=<optimized out>) at ./src/SessionController.cpp:243
#13 0x00007f8c9ab7b225 in QObject::event (this=0x5584e6ba0c90, e=0x5584e73607b0) at kernel/qobject.cpp:1326
#14 0x00007f8c9ba369ac in QApplicationPrivate::notify_helper (this=this@entry=0x5584e6ac7660, receiver=receiver@entry=0x5584e6ba0c90, e=e@entry=0x5584e73607b0) at kernel/qapplication.cpp:3685
#15 0x00007f8c9ba3dbb0 in QApplication::notify (this=0x7fffd2609660, receiver=0x5584e6ba0c90, e=0x5584e73607b0) at kernel/qapplication.cpp:3431
#16 0x00007f8c9ab48128 in QCoreApplication::notifyInternal2 (receiver=0x5584e6ba0c90, event=0x5584e73607b0) at kernel/qcoreapplication.cpp:1075
#17 0x00007f8c9ab482fe in QCoreApplication::sendEvent (receiver=receiver@entry=0x5584e6ba0c90, event=event@entry=0x5584e73607b0) at kernel/qcoreapplication.cpp:1470
#18 0x00007f8c9ab4ada1 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5584e6ac54d0) at kernel/qcoreapplication.cpp:1815
#19 0x00007f8c9ab4b338 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1674
#20 0x00007f8c9aba7d83 in postEventSourceDispatch (s=0x5584e6b2f970) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007f8c944af417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f8c944af650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f8c944af6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f8c9aba742c in QEventDispatcherGlib::processEvents (this=0x5584e6b33fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007f8c9ab469aa in QEventLoop::exec (this=this@entry=0x7fffd2609590, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#26 0x00007f8c9ab50120 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#27 0x00005584e5046a94 in ?? ()
#28 0x00007f8c9a14db97 in __libc_start_main (main=0x5584e50463a0, argc=1, argv=0x7fffd26098b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd26098a8) at ../csu/libc-start.c:310
#29 0x00005584e5046b1a in _start ()

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

Possible duplicates by query: bug 421138, bug 421060, bug 421006, bug 420777, bug 420719.

Reported using DrKonqi
Comment 1 Bartłomiej Burdukiewicz 2020-05-14 10:16:24 UTC
Created attachment 128447 [details]
New crash information added by DrKonqi

yakuake (3.0.5+) using Qt 5.14.2

- What I was doing when the application crashed:

Typing exit in console sometimes crashing yakuake for me. I'm working with multiple tabs.

-- Backtrace (Reduced):
#4  0x00007f8db57ca30e in QList<QAction*>::removeAll(QAction* const&) () from /usr/lib64/libQt5Widgets.so.5
#5  0x00007f8db5806d17 in QWidget::removeAction(QAction*) () from /usr/lib64/libQt5Widgets.so.5
#6  0x00007f8db641c911 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib64/libKF5XmlGui.so.5
#7  0x00007f8db64562ab in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib64/libKF5XmlGui.so.5
#8  0x00007f8db6459ddd in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib64/libKF5XmlGui.so.5
Comment 2 Stefan Böhmann 2020-05-22 22:49:02 UTC
Created attachment 128701 [details]
New crash information added by DrKonqi

yakuake (3.0.5+) using Qt 5.14.2

Typing exit in console sometimes crashes yakuake. Feels like it happens more often with many open tabs.

-- Backtrace (Reduced):
#5  0x00007fa62c034755 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fa62d682c54 in KActionCollection::removeAssociatedWidget(QWidget*) () from /usr/lib64/libKF5XmlGui.so.5
#7  0x00007fa62d6bc57b in KXMLGUIClient::prepareXMLUnplug(QWidget*) () from /usr/lib64/libKF5XmlGui.so.5
#8  0x00007fa62d6c00ad in KXMLGUIFactory::removeClient(KXMLGUIClient*) () from /usr/lib64/libKF5XmlGui.so.5
#9  0x00007fa5e061005d in Konsole::SessionController::~SessionController() () from /usr/lib64/libkonsoleprivate.so.20
Comment 3 Wolfgang Bauer 2020-05-29 14:15:25 UTC

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