Bug 422553 - Yakuake segmentation fault
Summary: Yakuake segmentation fault
Status: RESOLVED WORKSFORME
Alias: None
Product: yakuake
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.0.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-06 20:49 UTC by frantisek
Modified: 2022-11-13 05:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description frantisek 2020-06-06 20:49:25 UTC
Application: yakuake (3.0.5+)

Qt Version: 5.14.2
Frameworks Version: 5.70.0
Operating System: Linux 4.15.0-101-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

-- Information about the crash:
Yakuake sometimes crashes on SIGSEGV, when closing part of split tab.
I usually use split tabs with 2x2 layout, but the problem occurs also in different layouts (more "frames" in one tab).
It does not occur everytime and I am not able to replicate it.

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 0x7f0f92965300 (LWP 24088))]

Thread 3 (Thread 0x7f0f6c7df700 (LWP 24091)):
#0  0x00007f0f8887d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564fc5f8c888) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564fc5f8c838, cond=0x564fc5f8c860) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564fc5f8c860, mutex=0x564fc5f8c838) at pthread_cond_wait.c:655
#3  0x00007f0f6db21ecb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f0f6db21ac7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0f888776db in start_thread (arg=0x7f0f6c7df700) at pthread_create.c:463
#6  0x00007f0f8ccc588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0f75984700 (LWP 24090)):
#0  0x00007f0f8ccb8bf9 in __GI___poll (fds=0x7f0f70002de0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f0f86a7f5c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0f86a7f6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0f8d61f7cb in QEventDispatcherGlib::processEvents (this=0x7f0f70000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f0f8d5bed2a in QEventLoop::exec (this=this@entry=0x7f0f75983d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f0f8d3cf757 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#6  0x00007f0f8ebd7555 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f0f8d3d0c2c in QThreadPrivate::start (arg=0x7f0f8ee4fda0) at thread/qthread_unix.cpp:342
#8  0x00007f0f888776db in start_thread (arg=0x7f0f75984700) at pthread_create.c:463
#9  0x00007f0f8ccc588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0f92965300 (LWP 24088)):
[KCrash Handler]
#4  0x00007f0f8d3d11a7 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=<synthetic pointer>: <optimized out>, this=this@entry=0x7f0f913702f0) at /usr/include/c++/7/bits/atomic_base.h:752
#5  std::atomic<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=<synthetic pointer>: <optimized out>, this=this@entry=0x7f0f913702f0) at /usr/include/c++/7/atomic:498
#6  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308
#7  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>: <optimized out>, newValue=<optimized out>, expectedValue=0x0, this=this@entry=0x7f0f913702f0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:273
#8  QBasicMutex::fastTryLock (current=<synthetic pointer>: <optimized out>, this=this@entry=0x7f0f913702f0) at thread/qmutex.h:109
#9  QMutex::lock (this=this@entry=0x7f0f913702f0) at thread/qmutex.cpp:231
#10 0x00007f0f8d5c375d in QCoreApplication::postEvent (receiver=0x564fc68e1b20, event=0x564fc74bb760, priority=0) at kernel/qcoreapplication.cpp:1531
#11 0x0000564fc4fdfd4f in ?? ()
#12 0x0000564fc4fc7aa4 in ?? ()
#13 0x00007f0f8d5fb4b9 in doActivate<false> (sender=0x564fc5ee63c0, signal_index=4, argv=0x7ffe90d3f360) at kernel/qobject.cpp:3882
#14 0x00007f0f8d5f5f92 in QMetaObject::activate (sender=sender@entry=0x564fc5ee63c0, m=m@entry=0x7f0f8eb91340 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe90d3f360) at kernel/qobject.cpp:3930
#15 0x00007f0f8e4a94a2 in QAction::triggered (this=this@entry=0x564fc5ee63c0, _t1=<optimized out>) at .moc/moc_qaction.cpp:381
#16 0x00007f0f8e4abb0c in QAction::activate (this=0x564fc5ee63c0, event=<optimized out>) at kernel/qaction.cpp:1161
#17 0x00007f0f8e4ac4a1 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1086
#18 0x00007f0f8e4af9ac in QApplicationPrivate::notify_helper (this=this@entry=0x564fc5d846e0, receiver=receiver@entry=0x564fc5ee63c0, e=e@entry=0x7ffe90d3f670) at kernel/qapplication.cpp:3685
#19 0x00007f0f8e4b6bb0 in QApplication::notify (this=0x7ffe90d3fba0, receiver=0x564fc5ee63c0, e=0x7ffe90d3f670) at kernel/qapplication.cpp:3431
#20 0x00007f0f8d5c04a8 in QCoreApplication::notifyInternal2 (receiver=0x564fc5ee63c0, event=0x7ffe90d3f670) at kernel/qcoreapplication.cpp:1075
#21 0x00007f0f8dbe8872 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#22 0x00007f0f8dbe893a in QShortcutMap::tryShortcut(QKeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007f0f8db9aa93 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007f0f8dbb9f67 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007f0f8dbbe9c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007f0f8db971cb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007f0f80027f9a in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#28 0x00007f0f86a7f417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f0f86a7f650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f0f86a7f6dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f0f8d61f7ac in QEventDispatcherGlib::processEvents (this=0x564fc5ddde80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x00007f0f8d5bed2a in QEventLoop::exec (this=this@entry=0x7ffe90d3fad0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#33 0x00007f0f8d5c84a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383
#34 0x0000564fc4fc6a5e in ?? ()
#35 0x00007f0f8cbc5b97 in __libc_start_main (main=0x564fc4fc6390, argc=1, argv=0x7ffe90d3fdf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe90d3fde8) at ../csu/libc-start.c:310
#36 0x0000564fc4fc6aea in _start ()

Possible duplicates by query: bug 402548, bug 383231, bug 382799, bug 379809, bug 378766.

Reported using DrKonqi
Comment 1 bugs.kde.org-1 2020-07-14 09:20:34 UTC
Same for me, on OpenSuse 15.2, but also happened before with OpenSuse 15.1. 
Hard to reproduce, but happens when closing tab after being open for a while.

yakuake 3.0.5+
konsole 20.04.2
Qt: 5.12.7
KDE Frameworks: 5.71.0

Thread 1 "yakuake" received signal SIGSEGV, Segmentation fault.
0x00007fffd4b6898f in Konsole::SessionController::<lambda()>::operator() (__closure=<optimized out>) at /usr/src/debug/konsole-20.04.2-lp152.1.1.x86_64/src/SessionController.cpp:1693

#0  0x00007fffd4b6898f in Konsole::SessionController::<lambda()>::operator() (__closure=<optimized out>) at /usr/src/debug/konsole-20.04.2-lp152.1.1.x86_64/src/SessionController.cpp:1693
#1  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#2  QtPrivate::Functor<Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#3  QtPrivate::QFunctorSlotObject<Konsole::SessionController::showDisplayContextMenu(const QPoint&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:439
#4  0x00007ffff2cd4d0f in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd190, r=0x5555560d4be0, this=0x55555681f890) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#5  QMetaObject::activate (sender=sender@entry=0x5555560d4be0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd190) at kernel/qobject.cpp:3784
#6  0x00007ffff2cd5307 in QMetaObject::activate (sender=sender@entry=0x5555560d4be0, m=m@entry=0x7ffff314b960 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd190) at kernel/qobject.cpp:3657
#7  0x00007ffff2cd53af in QObject::destroyed (this=this@entry=0x5555560d4be0, _t1=<optimized out>, _t1@entry=0x5555560d4be0) at .moc/moc_qobject.cpp:218
#8  0x00007ffff2cdc6b9 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:912
#9  0x00007fffd4b725f8 in Konsole::SessionController::~SessionController (this=0x5555560d4be0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-lp152.1.1.x86_64/src/SessionController.cpp:233
#10 0x00007fffd4b72699 in Konsole::SessionController::~SessionController (this=0x5555560d4be0, __in_chrg=<optimized out>) at /usr/src/debug/konsole-20.04.2-lp152.1.1.x86_64/src/SessionController.cpp:243
#11 0x00007ffff2cd57c0 in QObject::event (this=0x5555560d4be0, e=<optimized out>) at kernel/qobject.cpp:1252
#12 0x00007ffff3ad4a0c in QApplicationPrivate::notify_helper (this=this@entry=0x5555557f86b0, receiver=receiver@entry=0x5555560d4be0, e=e@entry=0x555556195b20) at kernel/qapplication.cpp:3701
#13 0x00007ffff3adc020 in QApplication::notify (this=0x7fffffffd900, receiver=0x5555560d4be0, e=0x555556195b20) at kernel/qapplication.cpp:3447
#14 0x00007ffff2ca50d8 in QCoreApplication::notifyInternal2 (receiver=0x5555560d4be0, event=0x555556195b20) at kernel/qcoreapplication.cpp:1088
#15 0x00007ffff2ca52ae in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x555556195b20) at kernel/qcoreapplication.cpp:1476
#16 0x00007ffff2ca7c97 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5555557f5970) at kernel/qcoreapplication.cpp:1825
#17 0x00007ffff2ca8238 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1679
#18 0x00007ffff2d02b63 in postEventSourceDispatch (s=0x5555558bf1b0) at kernel/qeventdispatcher_glib.cpp:276
#19 0x00007fffec2c8464 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fffec2c8800 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fffec2c888c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007ffff2d0217f in QEventDispatcherGlib::processEvents (this=0x5555557fefb0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#23 0x00007ffff2ca332a in QEventLoop::exec (this=this@entry=0x7fffffffd830, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#24 0x00007ffff2cac530 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#25 0x000055555556e0be in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/yakuake-20.04.2-lp152.1.1.x86_64/app/main.cpp:87
Comment 2 Justin Zobel 2022-10-12 03:50:03 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 frantisek 2022-10-14 13:18:54 UTC
I have a newer version (21.12.3) and I am not able to reproduce this bug anymore.
Comment 4 Bug Janitor Service 2022-10-29 05:02:36 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 5 Bug Janitor Service 2022-11-13 05:14:51 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!