[konsole] [Bug 470240] Konsole crashes while periodically right clicking on "New tab"

Tomaz Canabrava tcanabrava at kde.org
Thu May 25 09:28:03 BST 2023


Ok... two things from what I can see:
This doesn't looks like it's from konsole (but from frameworks), and it
also looks like impossible to happen (looking at the source code)

https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kactioncollection.cpp#L139

This is the line that your backtrace complains, but it's just a memory
access to an existing member. By any chance is there a possibility of wrong
libraries? this *might* explains it.
anyone else from frameworks can take a look here? I'm puzzled.


On Thu, May 25, 2023 at 10:12 AM drygdryg <bugzilla_noreply at kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=470240
>
> --- Comment #2 from drygdryg <drygdryg2014 at yandex.ru> ---
> (In reply to tcanabrava from comment #1)
> > Created attachment 159234 [details]
> > attachment-3136977-0.html
> >
> > Can you allow debuginfod to download the crash information? from that
> > backtrace there's nothing from konsole.
> >
> >
> > On Thu, May 25, 2023 at 9:49 AM drygdryg <bugzilla_noreply at kde.org>
> wrote:
> >
> > > https://bugs.kde.org/show_bug.cgi?id=470240
> > >
> > >             Bug ID: 470240
> > >            Summary: Konsole crashes while periodically right clicking
> on
> > >                     "New tab"
> > >     Classification: Applications
> > >            Product: konsole
> > >            Version: 23.04.1
> > >           Platform: Archlinux
> > >                 OS: Linux
> > >             Status: REPORTED
> > >           Keywords: drkonqi
> > >           Severity: crash
> > >           Priority: NOR
> > >          Component: general
> > >           Assignee: konsole-devel at kde.org
> > >           Reporter: drygdryg2014 at yandex.ru
> > >   Target Milestone: ---
> > >
> > > Application: konsole (23.04.1)
> > >
> > > Qt Version: 5.15.9
> > > Frameworks Version: 5.106.0
> > > Operating System: Linux 6.3.3-zen1-1-zen x86_64
> > > Windowing System: X11
> > > Distribution: "Arch Linux"
> > > DrKonqi: 5.27.5 [KCrashBackend]
> > >
> > > -- Information about the crash:
> > > Konsole crashes while periodically right clicking on "New tab". Desktop
> > > theme:
> > > Breezee.
> > >
> > > The crash can be reproduced sometimes.
> > >
> > > -- Backtrace:
> > > Application: Konsole (konsole), signal: Segmentation fault
> > >
> > > [KCrash Handler]
> > > #4  0x00007f5435861713 in ?? () from /usr/lib/libKF5XmlGui.so.5
> > > #5  0x00007f543586518b in
> KToolBar::contextMenuEvent(QContextMenuEvent*) ()
> > > from /usr/lib/libKF5XmlGui.so.5
> > > #6  0x00007f54351af789 in QWidget::event(QEvent*) () from
> > > /usr/lib/libQt5Widgets.so.5
> > > #7  0x00007f543517893f in QApplicationPrivate::notify_helper(QObject*,
> > > QEvent*)
> > > () from /usr/lib/libQt5Widgets.so.5
> > > #8  0x00007f543517e2c4 in QApplication::notify(QObject*, QEvent*) ()
> from
> > > /usr/lib/libQt5Widgets.so.5
> > > #9  0x00007f543449ab18 in QCoreApplication::notifyInternal2(QObject*,
> > > QEvent*)
> > > () from /usr/lib/libQt5Core.so.5
> > > #10 0x00007f54351cd664 in ?? () from /usr/lib/libQt5Widgets.so.5
> > > #11 0x00007f54351cec27 in ?? () from /usr/lib/libQt5Widgets.so.5
> > > #12 0x00007f543517893f in QApplicationPrivate::notify_helper(QObject*,
> > > QEvent*)
> > > () from /usr/lib/libQt5Widgets.so.5
> > > #13 0x00007f543449ab18 in QCoreApplication::notifyInternal2(QObject*,
> > > QEvent*)
> > > () from /usr/lib/libQt5Core.so.5
> > > #14 0x00007f543494121c in
> > >
> > >
> QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
> > > () from /usr/lib/libQt5Gui.so.5
> > > #15 0x00007f543492a955 in
> > >
> > >
> QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > > () from /usr/lib/libQt5Gui.so.5
> > > #16 0x00007f542db2f710 in ?? () from /usr/lib/libQt5XcbQpa.so.5
> > > #17 0x00007f543263c53b in g_main_context_dispatch () from
> > > /usr/lib/libglib-2.0.so.0
> > > #18 0x00007f5432699219 in ?? () from /usr/lib/libglib-2.0.so.0
> > > #19 0x00007f543263b1a2 in g_main_context_iteration () from
> > > /usr/lib/libglib-2.0.so.0
> > > #20 0x00007f54344e9f0c in
> > >
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> > > ()
> > > from /usr/lib/libQt5Core.so.5
> > > #21 0x00007f5434499824 in
> > > QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> > > /usr/lib/libQt5Core.so.5
> > > #22 0x00007f543449acc3 in QCoreApplication::exec() () from
> > > /usr/lib/libQt5Core.so.5
> > > #23 0x000055c60bc85b6d in ?? ()
> > > #24 0x00007f5433c39850 in ?? () from /usr/lib/libc.so.6
> > > #25 0x00007f5433c3990a in __libc_start_main () from /usr/lib/libc.so.6
> > > #26 0x000055c60bc86445 in ?? ()
> > > [Inferior 1 (process 97033) detached]
> > >
> > > Reported using DrKonqi
> > >
> > > --
> > > You are receiving this mail because:
> > > You are the assignee for the bug.
>
> Application: Konsole (konsole), signal: Segmentation fault
> Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() =
> <optimized
> out>}
> [KCrash Handler]
> #6  0x00007f2b208aa6f6 in QMap<QString, QAction*>::value
> (adefaultValue=<optimized out>, akey=..., this=0x50) at
> /usr/include/qt/QtCore/qmap.h:665
> #7  KActionCollection::action (this=0x557f0851e5d0, name=...) at
> /usr/src/debug/kxmlgui/kxmlgui-5.106.0/src/kactioncollection.cpp:139
> #8  0x00007f2b208da722 in KToolBarPrivate::findAction
> (this=this at entry=0x557f07ebeb40, actionName=..., clientOut=clientOut at entry
> =0x0)
> at /usr/src/debug/kxmlgui/kxmlgui-5.106.0/src/ktoolbar.cpp:635
> #9  0x00007f2b208dec59 in KToolBarPrivate::slotContextAboutToShow
> (this=0x557f07ebeb40) at
> /usr/src/debug/kxmlgui/kxmlgui-5.106.0/src/ktoolbar.cpp:661
> #10 operator() (__closure=<optimized out>) at
> /usr/src/debug/kxmlgui/kxmlgui-5.106.0/src/ktoolbar.cpp:445
> #11 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
> #12 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
> #13 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
> #14 0x00007f2b1f4cffe7 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
> #15 doActivate<false> (sender=0x557f08492cf0, signal_index=7,
> argv=0x7ffee4aac1c0) at kernel/qobject.cpp:3923
> #16 0x00007f2b202f91af in QMenuPrivate::popup(QPoint const&, QAction*,
> std::function<QPoint (QSize const&)>) (this=this at entry=0x557f084245b0,
> p=...,
> atAction=atAction at entry=0x0, positionFunction=...) at
> widgets/qmenu.cpp:2410
> #17 0x00007f2b202fb3c1 in QMenuPrivate::exec(QPoint const&, QAction*,
> std::function<QPoint (QSize const&)>) (this=0x557f084245b0, p=...,
> action=action at entry=0x0, positionFunction=...) at widgets/qmenu.cpp:2697
> #18 0x00007f2b202fb513 in QMenu::exec (this=<optimized out>, p=...,
> action=action at entry=0x0) at widgets/qmenu.cpp:2687
> #19 0x00007f2b208de0b4 in KToolBar::contextMenuEvent (event=<optimized
> out>,
> this=0x557f07e20f10) at
> /usr/src/debug/kxmlgui/kxmlgui-5.106.0/src/ktoolbar.cpp:964
> #20 KToolBar::contextMenuEvent (this=0x557f07e20f10, event=<optimized
> out>) at
> /usr/src/debug/kxmlgui/kxmlgui-5.106.0/src/ktoolbar.cpp:958
> #21 0x00007f2b201af789 in QWidget::event (this=0x557f07e20f10,
> event=0x7ffee4aac7c0) at kernel/qwidget.cpp:8849
> #22 0x00007f2b2017893f in QApplicationPrivate::notify_helper
> (this=this at entry=0x557f07a57900, receiver=receiver at entry=0x557f07e20f10,
> e=e at entry=0x7ffee4aac7c0) at kernel/qapplication.cpp:3640
> #23 0x00007f2b2017e2c4 in QApplication::notify (this=<optimized out>,
> receiver=0x557f07e20f10, e=0x7ffee4aac7c0) at kernel/qapplication.cpp:3246
> #24 0x00007f2b1f49ab18 in QCoreApplication::notifyInternal2
> (receiver=0x557f07e20f10, event=0x7ffee4aac7c0) at
> kernel/qcoreapplication.cpp:1064
> #25 0x00007f2b1f49ab67 in QCoreApplication::forwardEvent
> (receiver=<optimized
> out>, event=<optimized out>, originatingEvent=<optimized out>) at
> kernel/qcoreapplication.cpp:1079
> #26 0x00007f2b201cd664 in QWidgetWindow::handleMouseEvent
> (this=this at entry=0x557f07f5aef0, event=event at entry=0x7ffee4aacb60) at
> kernel/qwidgetwindow.cpp:692
> #27 0x00007f2b201cec27 in QWidgetWindow::event (this=0x557f07f5aef0,
> event=0x7ffee4aacb60) at kernel/qwidgetwindow.cpp:300
> #28 0x00007f2b2017893f in QApplicationPrivate::notify_helper
> (this=<optimized
> out>, receiver=0x557f07f5aef0, e=0x7ffee4aacb60) at
> kernel/qapplication.cpp:3640
> #29 0x00007f2b1f49ab18 in QCoreApplication::notifyInternal2
> (receiver=0x557f07f5aef0, event=0x7ffee4aacb60) at
> kernel/qcoreapplication.cpp:1064
> #30 0x00007f2b1f49aba3 in QCoreApplication::sendSpontaneousEvent
> (receiver=<optimized out>, event=<optimized out>) at
> kernel/qcoreapplication.cpp:1474
> #31 0x00007f2b1f94121c in QGuiApplicationPrivate::processMouseEvent
> (e=0x7f2b0c005e30) at kernel/qguiapplication.cpp:2285
> #32 0x00007f2b1f92a955 in QWindowSystemInterface::sendWindowSystemEvents
> (flags=flags at entry=...) at kernel/qwindowsysteminterface.cpp:1169
> #33 0x00007f2b18f60710 in xcbSourceDispatch (source=<optimized out>) at
>
> /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
> #34 0x00007f2b1d63c53b in g_main_dispatch (context=0x7f2b14000ee0) at
> ../glib/glib/gmain.c:3460
> #35 g_main_context_dispatch (context=0x7f2b14000ee0) at
> ../glib/glib/gmain.c:4200
> #36 0x00007f2b1d699219 in g_main_context_iterate.constprop.0
> (context=0x7f2b14000ee0, block=1, dispatch=1, self=<optimized out>) at
> ../glib/glib/gmain.c:4276
> #37 0x00007f2b1d63b1a2 in g_main_context_iteration (context=0x7f2b14000ee0,
> may_block=1) at ../glib/glib/gmain.c:4343
> #38 0x00007f2b1f4e9f0c in QEventDispatcherGlib::processEvents
> (this=0x557f07b24690, flags=...) at kernel/qeventdispatcher_glib.cpp:423
> #39 0x00007f2b1f499824 in QEventLoop::exec (this=this at entry
> =0x7ffee4aacf00,
> flags=..., flags at entry=...) at
> ../../include/QtCore/../../src/corelib/global/qflags.h:69
> #40 0x00007f2b1f49acc3 in QCoreApplication::exec () at
> ../../include/QtCore/../../src/corelib/global/qflags.h:121
> #41 0x00007f2b1f93b7c2 in QGuiApplication::exec () at
> kernel/qguiapplication.cpp:1870
> #42 0x00007f2b20176cda in QApplication::exec () at
> kernel/qapplication.cpp:2832
> #43 0x0000557f06c79b6d in main (argc=<optimized out>, argv=<optimized
> out>) at
> /usr/src/debug/konsole/konsole-23.04.1/src/main.cpp:271
> [Inferior 1 (process 103414) detached]
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20230525/7a054b02/attachment.htm>


More information about the konsole-devel mailing list