Bug 452499 - crash after closing splitview and then right clicking on toolbar icon
Summary: crash after closing splitview and then right clicking on toolbar icon
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-04-11 12:59 UTC by maxmustermann1884
Modified: 2022-04-11 13:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maxmustermann1884 2022-04-11 12:59:55 UTC
Application: konsole (21.12.3)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.17.1-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
launch konsole and open splitview
close active splitview
right click on toolbar

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = std::tuple containing = {[1] = 0x0, [2] = {<No data fields>}}}, <No data fields>}}
[KCrash Handler]
#6  0x00007faa9e54af46 in QMap<QString, QAction*>::value (adefaultValue=<optimized out>, akey=..., this=0x120) at /usr/include/qt/QtCore/qmap.h:665
#7  KActionCollection::action (name=..., this=0x563b5b0a5860) at /usr/src/debug/kxmlgui-5.92.0/src/kactioncollection.cpp:143
#8  KActionCollection::action (this=0x563b5b0a5860, name=...) at /usr/src/debug/kxmlgui-5.92.0/src/kactioncollection.cpp:138
#9  0x00007faa9e57a23a in KToolBarPrivate::findAction (this=this@entry=0x7faa9000c900, actionName=..., clientOut=clientOut@entry=0x0) at /usr/src/debug/kxmlgui-5.92.0/src/ktoolbar.cpp:624
#10 0x00007faa9e57e559 in KToolBarPrivate::slotContextAboutToShow (this=0x7faa9000c900) at /usr/src/debug/kxmlgui-5.92.0/src/ktoolbar.cpp:650
#11 operator() (__closure=<optimized out>) at /usr/src/debug/kxmlgui-5.92.0/src/ktoolbar.cpp:434
#12 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KToolBarPrivate::contextMenu(const QPoint&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#13 QtPrivate::Functor<KToolBarPrivate::contextMenu(const QPoint&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#14 QtPrivate::QFunctorSlotObject<KToolBarPrivate::contextMenu(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/qt/QtCore/qobjectdefs_impl.h:443
#15 0x00007faa9d400463 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false> (sender=0x563b5aee99d0, signal_index=7, argv=0x7ffd9c6557d0) at kernel/qobject.cpp:3886
#17 0x00007faa9e06bd5c in QMenuPrivate::popup(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=this@entry=0x563b5afdb6c0, p=..., atAction=atAction@entry=0x0, positionFunction=...) at widgets/qmenu.cpp:2410
#18 0x00007faa9e06df46 in QMenuPrivate::exec(QPoint const&, QAction*, std::function<QPoint (QSize const&)>) (this=0x563b5afdb6c0, p=..., action=action@entry=0x0, positionFunction=...) at widgets/qmenu.cpp:2697
#19 0x00007faa9e06e0a3 in QMenu::exec (this=<optimized out>, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2687
#20 0x00007faa9e57d955 in KToolBar::contextMenuEvent (event=0x7ffd9c6559e0, this=0x563b5ae71290) at /usr/include/c++/11.2.0/bits/unique_ptr.h:173
#21 KToolBar::contextMenuEvent (this=0x563b5ae71290, event=0x7ffd9c6559e0) at /usr/src/debug/kxmlgui-5.92.0/src/ktoolbar.cpp:946
#22 0x00007faa9df21b07 in QWidget::event (this=0x563b5ae71290, event=0x7ffd9c655dd0) at kernel/qwidget.cpp:8837
#23 0x00007faa9deeb1c6 in QApplicationPrivate::notify_helper (this=this@entry=0x563b5a4ff0d0, receiver=receiver@entry=0x563b5ae71290, e=e@entry=0x7ffd9c655dd0) at kernel/qapplication.cpp:3637
#24 0x00007faa9deef895 in QApplication::notify (this=0x7ffd9c655b70, receiver=0x563b5ae71290, e=0x7ffd9c655dd0) at kernel/qapplication.cpp:3243
#25 0x00007faa9d3cf5aa in QCoreApplication::notifyInternal2 (receiver=0x563b5ae71290, event=0x7ffd9c655dd0) at kernel/qcoreapplication.cpp:1064
#26 0x00007faa9df400af in QWidgetWindow::handleMouseEvent (this=0x563b5ae06e10, event=0x7ffd9c656180) at kernel/qwidgetwindow.cpp:691
#27 0x00007faa9df414ec in QWidgetWindow::event (this=0x563b5ae06e10, event=0x7ffd9c656180) at kernel/qwidgetwindow.cpp:300
#28 0x00007faa9deeb1c6 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563b5ae06e10, e=0x7ffd9c656180) at kernel/qapplication.cpp:3637
#29 0x00007faa9d3cf5aa in QCoreApplication::notifyInternal2 (receiver=0x563b5ae06e10, event=0x7ffd9c656180) at kernel/qcoreapplication.cpp:1064
#30 0x00007faa9d848230 in QGuiApplicationPrivate::processMouseEvent (e=0x563b5b088a20) at kernel/qguiapplication.cpp:2282
#31 0x00007faa9d8336e5 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#32 0x00007faa97277f60 in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#33 0x00007faa9b620163 in g_main_dispatch (context=0x7faa90005010) at ../glib/glib/gmain.c:3417
#34 g_main_context_dispatch (context=0x7faa90005010) at ../glib/glib/gmain.c:4135
#35 0x00007faa9b6769e9 in g_main_context_iterate.constprop.0 (context=context@entry=0x7faa90005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4211
#36 0x00007faa9b61d6c5 in g_main_context_iteration (context=0x7faa90005010, may_block=1) at ../glib/glib/gmain.c:4276
#37 0x00007faa9d41b57a in QEventDispatcherGlib::processEvents (this=0x563b5a5d48f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007faa9d3c788b in QEventLoop::exec (this=0x7ffd9c656510, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#39 0x00007faa9d3d2fd7 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00007faa9d843432 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#41 0x00007faa9dee954a in QApplication::exec () at kernel/qapplication.cpp:2829
#42 0x0000563b5a48dba5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole-21.12.3/src/main.cpp:242
[Inferior 1 (process 120909) detached]

Possible duplicates by query: bug 372743.

Reported using DrKonqi
Comment 1 maxmustermann1884 2022-04-11 13:01:40 UTC
only crashes when right clicking on icon in toolbar