Bug 448347

Summary: dolphin crashed when clicking address bar
Product: [Applications] dolphin Reporter: redkurn
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kfm-devel
Priority: NOR Keywords: drkonqi
Version: 21.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description redkurn 2022-01-13 07:21:01 UTC
Application: dolphin (21.12.1)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.0-arch1-1 x86_64
Windowing System: X11
Distribution: EndeavourOS
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
clicking address bar to copy path

- Unusual behavior I noticed:
dolphin crashed
icons on desktop have also been unresponsive occasionally

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0xffffffffffffffea in  ()
#5  0x00007fe3ff40b3fe in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5
#6  0x00007fe3f8d2b79a in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () at /usr/lib/libQt5QuickTemplates2.so.5
#7  0x00007fe3ff801171 in QShortcutMap::hasShortcutForKeySequence(QKeySequence const&) const () at /usr/lib/libQt5Gui.so.5
#8  0x00007fe3fffbb3d2 in QLineEdit::createStandardContextMenu() () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fe400e5de6f in KLineEdit::createStandardContextMenu() () at /usr/lib/libKF5Completion.so.5
#10 0x00007fe400e5ed79 in KLineEdit::contextMenuEvent(QContextMenuEvent*) () at /usr/lib/libKF5Completion.so.5
#11 0x00007fe3ffeafd47 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fe3fff7f41b in QComboBox::contextMenuEvent(QContextMenuEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007fe3ffeafd47 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007fe3ffe791a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fe3ffe7d875 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fe3ff40501a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007fe3ffecdfaf in  () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fe3ffecf3dc in  () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fe3ffe791a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fe3ff40501a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#21 0x00007fe3ff7d6f60 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#22 0x00007fe3ff7c25e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#23 0x00007fe3f988fd90 in  () at /usr/lib/libQt5XcbQpa.so.5
#24 0x00007fe3fd0a2fd3 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#25 0x00007fe3fd0f9049 in  () at /usr/lib/libglib-2.0.so.0
#26 0x00007fe3fd0a0545 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#27 0x00007fe3ff4502da in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#28 0x00007fe3ff3fd2db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#29 0x00007fe3ff408a47 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#30 0x000055c6e681e1b1 in  ()
#31 0x00007fe3fedbfb25 in __libc_start_main () at /usr/lib/libc.so.6
#32 0x000055c6e681e98e in  ()
[Inferior 1 (process 23089) detached]

Possible duplicates by query: bug 446902, bug 441729, bug 441006, bug 440153, bug 437968.

Reported using DrKonqi
Comment 1 Nate Graham 2022-01-19 21:27:20 UTC
This is an upstream bug in Qt which was fixed with https://codereview.qt-project.org/c/qt/qtdeclarative/+/371842. It will be backported to the KDE patch collection soon; see https://invent.kde.org/qt/qt/qtquickcontrols2/-/merge_requests/3

Thanks so much to Nicolas Fella for discovering this and backporting it!