Bug 456587 - Gmail File Picker Crashes Firefox
Summary: Gmail File Picker Crashes Firefox
Status: RESOLVED DOWNSTREAM
Alias: None
Product: unknown
Classification: Bugzilla Internals
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-11 12:52 UTC by gtx.swift
Modified: 2022-07-14 14:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gtx.swift 2022-07-11 12:52:37 UTC
Application: kmozillahelper (5.0.6)

Qt Version: 5.15.5
Frameworks Version: 5.95.0
Operating System: Linux 5.18.9-2-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.2 [KCrashBackend]

-- Information about the crash:
I try to reply to email & add a document. The file picker launches but clicking on Documents folder crashes Firefox.

The crash can be reproduced every time.

-- Backtrace:
Application: Mozilla Firefox (kmozillahelper), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f3e5cf3c040 in KDirModel::data(QModelIndex const&, int) const () from /lib64/libKF5KIOWidgets.so.5
#5  0x00007f3e5b92fe01 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /lib64/libQt5Core.so.5
#6  0x00007f3e5cf4be83 in ?? () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f3e5cf2730f in ?? () from /lib64/libKF5KIOWidgets.so.5
#8  0x00007f3e5cf2b18c in ?? () from /lib64/libKF5KIOWidgets.so.5
#9  0x00007f3e5cf2b919 in KFileItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /lib64/libKF5KIOWidgets.so.5
#10 0x00007f3e5c8fbc47 in QTreeViewPrivate::widthHintForIndex(QModelIndex const&, int, QStyleOptionViewItem const&, int) const () from /lib64/libQt5Widgets.so.5
#11 0x00007f3e5c900452 in QTreeView::sizeHintForColumn(int) const () from /lib64/libQt5Widgets.so.5
#12 0x00007f3e5c8a1e61 in ?? () from /lib64/libQt5Widgets.so.5
#13 0x00007f3e5c8aa746 in QHeaderView::viewportEvent(QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f3e5b965d3b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f3e5c61f40e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f3e5b965fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f3e5c657ad8 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /lib64/libQt5Widgets.so.5
#18 0x00007f3e5c658aad in QWidget::setGeometry(QRect const&) () from /lib64/libQt5Widgets.so.5
#19 0x00007f3e5c70d99a in QAbstractScrollAreaPrivate::layoutChildren_helper(bool*, bool*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f3e5c70df0a in QAbstractScrollAreaPrivate::layoutChildren() () from /lib64/libQt5Widgets.so.5
#21 0x00007f3e5c70f46f in QAbstractScrollArea::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f3e5c61f41e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f3e5b965fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#24 0x00007f3e5c657ad8 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /lib64/libQt5Widgets.so.5
#25 0x00007f3e5c658aad in QWidget::setGeometry(QRect const&) () from /lib64/libQt5Widgets.so.5
#26 0x00007f3e5c90a68d in QTreeView::updateGeometries() () from /lib64/libQt5Widgets.so.5
#27 0x00007f3e5c661763 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f3e5c70c59e in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007f3e5b965d3b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007f3e5c61f40e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f3e5b965fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#32 0x00007f3e5c657ad8 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /lib64/libQt5Widgets.so.5
#33 0x00007f3e5c658aad in QWidget::setGeometry(QRect const&) () from /lib64/libQt5Widgets.so.5
#34 0x00007f3e5c70d99a in QAbstractScrollAreaPrivate::layoutChildren_helper(bool*, bool*) () from /lib64/libQt5Widgets.so.5
#35 0x00007f3e5c70df0a in QAbstractScrollAreaPrivate::layoutChildren() () from /lib64/libQt5Widgets.so.5
#36 0x00007f3e5b991760 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#37 0x00007f3e5c70c59e in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#38 0x00007f3e5c61f41e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007f3e5b965fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#40 0x00007f3e5b968f51 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#41 0x00007f3e5b9bdc53 in ?? () from /lib64/libQt5Core.so.5
#42 0x00007f3e59e3dea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#43 0x00007f3e59e3e258 in ?? () from /lib64/libglib-2.0.so.0
#44 0x00007f3e59e3e2ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#45 0x00007f3e5b9bd456 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#46 0x00007f3e5b964a2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#47 0x00007f3e5c8273a7 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#48 0x00007f3e5c82728a in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#49 0x000055694aeba525 in ?? ()
#50 0x000055694aeb9b99 in Helper::readCommand() ()
#51 0x00007f3e5b99ce6f in ?? () from /lib64/libQt5Core.so.5
#52 0x00007f3e5b99ffef in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib64/libQt5Core.so.5
#53 0x00007f3e5b9a07f5 in QSocketNotifier::event(QEvent*) () from /lib64/libQt5Core.so.5
#54 0x00007f3e5c61f41e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#55 0x00007f3e5b965fb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#56 0x00007f3e5b9bdf3d in ?? () from /lib64/libQt5Core.so.5
#57 0x00007f3e59e3dea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#58 0x00007f3e59e3e258 in ?? () from /lib64/libglib-2.0.so.0
#59 0x00007f3e59e3e2ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#60 0x00007f3e5b9bd456 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#61 0x00007f3e5b964a2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#62 0x00007f3e5b96cb96 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#63 0x000055694aeb0cf9 in main ()
[Inferior 1 (process 16650) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-07-13 19:41:24 UTC
> Application: Mozilla Firefox (kmozillahelper), signal: Segmentation fault
Crashing in openSUSE-patched code to make Firefox show the KDE file dialog. This issue is going to be in there. In addition, this is unnecessary nowadays; you can force unpatched Firefox to use the KDE file dialog using the XDG portals system. See https://www.shernet.com/linux/native-kde-file-dialogs-in-firefox/
Comment 2 gtx.swift 2022-07-13 20:00:48 UTC
Sure works here! Thx!

Libre Office still crashes with files dialogue, Related?
Comment 3 Nate Graham 2022-07-14 14:45:03 UTC
Not related.