https://bugs.kde.org/show_bug.cgi?id=457652

            Bug ID: 457652
           Summary: Yakuake crash when closing tab while moving mouse with
                    Settings::focusFollowsMouse() == true
           Product: yakuake
           Version: 22.04.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: h...@kde.org
          Reporter: k...@sdas.de
  Target Milestone: ---

Application: yakuake (22.04.3)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.18.11-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
To reproduce:

Activate “Focus terminals when the mouse pointer is moved over them” in
settings. It seems to prevent Yakuake crashing, the setting needs to be off in
both Yakuake and Konsole.

Open two tabs, keep mouse moving over the terminal, e.g. a constant circular
motion. While moving the mouse, close the tab by exiting the shell, e.g. using
Ctrl-D. Yakuake crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault

[KCrash Handler]
#4  QWidget::focusWidget (this=0x0) at kernel/qwidget.h:132
#5  0x000055c9f5ebf815 in SessionStack::raiseSession (this=0x55c9f68d13e0,
sessionId=<optimized out>) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/session.h:49
#6  0x000055c9f5eb7040 in operator() (__closure=<optimized out>) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/mainwindow.cpp:107
#7  QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int,
QString>, void, MainWindow::MainWindow(QWidget*)::<lambda(int, QString)>
>::call (arg=<optimized out>, f=...) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#8  QtPrivate::Functor<MainWindow::MainWindow(QWidget*)::<lambda(int,
QString)>, 2>::call<QtPrivate::List<int, QString>, void> (arg=<optimized out>,
f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#9 
QtPrivate::QFunctorSlotObject<MainWindow::MainWindow(QWidget*)::<lambda(int,
QString)>, 2, QtPrivate::List<int, QString>, 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:443
#10 0x00007f6d107b7e6f in QtPrivate::QSlotObjectBase::call (a=0x7ffee276b500,
r=0x55c9f68d13e0, this=0x55c9f68aaef0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x55c9f672bd00, signal_index=14,
argv=0x7ffee276b500) at kernel/qobject.cpp:3886
#12 0x00007f6d107b122f in QMetaObject::activate
(sender=sender@entry=0x55c9f672bd00, m=<optimized out>,
local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffee276b500)
at kernel/qobject.cpp:3946
#13 0x000055c9f5ecb4e1 in TabBar::tabTitleEdited (_t2=..., _t1=<optimized out>,
this=0x55c9f672bd00) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/build/app/yakuake_autogen/EWIEGA46WW/moc_tabbar.cpp:362
#14 TabBar::setTabTitle (this=0x55c9f672bd00, sessionId=<optimized out>,
newTitle=..., interactive=<optimized out>) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/tabbar.cpp:882
#15 0x00007f6d107b7e9c in doActivate<false> (sender=0x55c9f68d13e0,
signal_index=13, argv=0x7ffee276b670) at kernel/qobject.cpp:3898
#16 0x00007f6d107b122f in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x55c9f5ee8100 <SessionStack::staticMetaObject>,
local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffee276b670)
at kernel/qobject.cpp:3946
#17 0x000055c9f5eb045d in SessionStack::titleChanged (_t2=..., _t1=<optimized
out>, this=<optimized out>) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/build/app/yakuake_autogen/EWIEGA46WW/moc_sessionstack.cpp:564
#18 SessionStack::qt_static_metacall (_o=0x55c9f68d13e0, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffee276b7a0) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/build/app/yakuake_autogen/EWIEGA46WW/moc_sessionstack.cpp:318
#19 0x00007f6d107b7e9c in doActivate<false> (sender=0x55c9f6ce36c0,
signal_index=4, argv=0x7ffee276b7a0) at kernel/qobject.cpp:3898
#20 0x00007f6d107b122f in QMetaObject::activate
(sender=sender@entry=0x55c9f6ce36c0, m=m@entry=0x55c9f5ee8140
<Session::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffee276b7a0) at kernel/qobject.cpp:3946
#21 0x000055c9f5ebebe2 in Session::titleChanged (_t2=..., _t1=<optimized out>,
this=0x55c9f6ce36c0) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/build/app/yakuake_autogen/EWIEGA46WW/moc_session.cpp:304
#22 Session::setTitle (terminalId=<optimized out>, title=...,
this=0x55c9f6ce36c0) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/session.cpp:370
#23 Session::setTitle (title=..., terminalId=<optimized out>,
this=0x55c9f6ce36c0) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/session.cpp:364
#24 Session::setActiveTerminal (this=0x55c9f6ce36c0, terminalId=<optimized
out>) at /usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/session.cpp:361
#25 0x00007f6d107b7e9c in doActivate<false> (sender=0x55c9f6b34870,
signal_index=4, argv=0x7ffee276b8c0) at kernel/qobject.cpp:3898
#26 0x00007f6d107b122f in QMetaObject::activate
(sender=sender@entry=0x55c9f6b34870, m=m@entry=0x55c9f5ee8000
<Terminal::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7ffee276b8c0) at kernel/qobject.cpp:3946
#27 0x000055c9f5ecc456 in Terminal::activated (_t1=<optimized out>,
this=0x55c9f6b34870) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/build/app/yakuake_autogen/EWIEGA46WW/moc_terminal.cpp:267
#28 Terminal::eventFilter (this=0x55c9f6b34870, event=0x7ffee276b9f0) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/terminal.cpp:131
#29 0x00007f6d10780d3b in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x55c9f6ee6b70, event=event@entry=0x7ffee276b9f0) at
kernel/qcoreapplication.cpp:1190
#30 0x00007f6d1132f40e in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55c9f6ee6b70, e=0x7ffee276b9f0) at
kernel/qapplication.cpp:3631
#31 0x00007f6d10780fb8 in QCoreApplication::notifyInternal2
(receiver=0x55c9f6ee6b70, event=0x7ffee276b9f0) at
kernel/qcoreapplication.cpp:1064
#32 0x00007f6d113338d9 in QApplicationPrivate::setFocusWidget
(reason=294105392, focus=<optimized out>) at kernel/qapplication.cpp:1726
#33 QApplicationPrivate::setFocusWidget (focus=focus@entry=0x55c9f6ee6b70,
reason=reason@entry=Qt::OtherFocusReason) at kernel/qapplication.cpp:1680
#34 0x00007f6d1136ad85 in QWidget::setFocus (reason=Qt::OtherFocusReason,
this=<optimized out>) at kernel/qwidget.cpp:6337
#35 QWidget::setFocus (this=0x55c9f6ee6b70,
reason=reason@entry=Qt::OtherFocusReason) at kernel/qwidget.cpp:6284
#36 0x000055c9f5ecc53a in QWidget::setFocus (this=<optimized out>,
this=<optimized out>) at /usr/include/qt5/QtWidgets/qwidget.h:420
#37 Terminal::eventFilter (this=0x55c9f6b34870, event=0x7ffee276bf60) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/terminal.cpp:139
#38 0x00007f6d10780d3b in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x55c9f6ee6b70, event=event@entry=0x7ffee276bf60) at
kernel/qcoreapplication.cpp:1190
#39 0x00007f6d1132f40e in QApplicationPrivate::notify_helper
(this=this@entry=0x55c9f65dd400, receiver=receiver@entry=0x55c9f6ee6b70,
e=e@entry=0x7ffee276bf60) at kernel/qapplication.cpp:3631
#40 0x00007f6d11337942 in QApplication::notify (this=<optimized out>,
receiver=0x55c9f6ee6b70, e=<optimized out>) at kernel/qapplication.cpp:3081
#41 0x00007f6d10780fb8 in QCoreApplication::notifyInternal2
(receiver=0x55c9f6ee6b70, event=0x7ffee276bf60) at
kernel/qcoreapplication.cpp:1064
#42 0x00007f6d11335abe in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x55c9f6ee6b70, event=event@entry=0x7ffee276bf60,
alienWidget=<optimized out>, nativeWidget=0x7ffee276c680,
buttonDown=buttonDown@entry=0x7f6d1187b330 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2619
#43 0x00007f6d11389a88 in QWidgetWindow::handleMouseEvent (this=0x55c9f69201c0,
event=0x7ffee276c210) at kernel/qwidgetwindow.cpp:683
#44 0x00007f6d1138cfe0 in QWidgetWindow::event (this=0x55c9f69201c0,
event=0x7ffee276c210) at kernel/qwidgetwindow.cpp:300
#45 0x00007f6d1132f41e in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55c9f69201c0, e=0x7ffee276c210) at
kernel/qapplication.cpp:3637
#46 0x00007f6d10780fb8 in QCoreApplication::notifyInternal2
(receiver=0x55c9f69201c0, event=0x7ffee276c210) at
kernel/qcoreapplication.cpp:1064
#47 0x00007f6d10be19b5 in QGuiApplicationPrivate::processMouseEvent
(e=0x55c9f6e84970) at kernel/qguiapplication.cpp:2282
#48 0x00007f6d10bb533c in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#49 0x00007f6d0b3a87fa in xcbSourceDispatch (source=<optimized out>) at
qxcbeventdispatcher.cpp:105
#50 0x00007f6d0e296ea0 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#51 0x00007f6d0e297258 in ?? () from /lib64/libglib-2.0.so.0
#52 0x00007f6d0e2972ec in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#53 0x00007f6d107d8456 in QEventDispatcherGlib::processEvents
(this=0x55c9f6755b40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#54 0x00007f6d1077fa2b in QEventLoop::exec (this=this@entry=0x7ffee276c540,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#55 0x00007f6d10787b96 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#56 0x00007f6d10bd4e0c in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1867
#57 0x00007f6d1132f395 in QApplication::exec () at kernel/qapplication.cpp:2829
#58 0x000055c9f5ea5915 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/yakuake-22.04.3-1.2.x86_64/app/main.cpp:72
[Inferior 1 (process 16262) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to