Bug 467653

Summary: Falkon crashes when opening the file picker
Product: [Applications] Falkon Reporter: Nelson <dubhuir>
Component: generalAssignee: David Rosca <nowrep>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nelson 2023-03-21 14:27:22 UTC
Application: falkon (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 5.19.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
Selecting the menu option to open a file crashes the program. Seems to be related to the file picker, as the crash also happens when trying to open or save a file on Okular, Gwenview, Kate and Krita, among others.

The crash can be reproduced every time.

-- Backtrace:
Application: Falkon (falkon), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139899944692032) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=139899944692032) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=139899944692032, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f3d09e42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f3d09e287f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007f3d0a2a2bbe in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f3d0a2ae24c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f3d0a2ae2b7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f3d0a2ae518 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007f3d0a690f85 in qBadAlloc () at global/qglobal.cpp:3371
#14 0x00007f3d0a6969a3 in QString::reallocData (this=this@entry=0x7ffee8964578, alloc=1073742055, grow=grow@entry=false) at text/qstring.cpp:2367
#15 0x00007f3d0a83894e in QString::reserve (asize=1073742054, this=0x7ffee8964578) at ../../include/QtCore/../../src/corelib/text/qstring.h:1316
#16 QConfFileSettingsPrivate::readIniSection (section=..., data=..., settingsMap=<optimized out>, codec=<optimized out>) at io/qsettings.cpp:1760
#17 0x00007f3d0a838be4 in QConfFileSettingsPrivate::ensureAllSectionsParsed (this=this@entry=0x560ef8d001a0, confFile=confFile@entry=0x560ef8d00290) at io/qsettings.cpp:1915
#18 0x00007f3d0a83ae96 in QConfFileSettingsPrivate::children (spec=QSettingsPrivate::ChildGroups, prefix=..., this=0x560ef8d001a0) at io/qsettings.cpp:1318
#19 QSettings::childGroups (this=this@entry=0x7ffee8964750) at io/qsettings.cpp:3232
#20 0x00007f3d0af91c4a in QFileDialogPrivate::restoreFromSettings (this=this@entry=0x560ef5120ae0) at dialogs/qfiledialog.cpp:2951
#21 0x00007f3d0af93bb7 in QFileDialogPrivate::init (this=0x560ef5120ae0, args=...) at dialogs/qfiledialog.cpp:3060
#22 0x00007f3d0af94b71 in QFileDialog::QFileDialog (this=0x7ffee89648f0, args=...) at dialogs/qfiledialog.cpp:393
#23 0x00007f3d0af94c36 in QFileDialog::getOpenFileUrl (parent=parent@entry=0x560ef724b6c0, caption=..., dir=..., filter=..., selectedFilter=selectedFilter@entry=0x0, options=..., supportedSchemes=...) at dialogs/qfiledialog.cpp:2262
#24 0x00007f3d0af94f06 in QFileDialog::getOpenFileName (parent=parent@entry=0x560ef724b6c0, caption=..., dir=..., filter=..., selectedFilter=selectedFilter@entry=0x0, options=...) at dialogs/qfiledialog.cpp:2213
#25 0x00007f3d0b6a42df in QzTools::getOpenFileName (name=..., parent=parent@entry=0x560ef724b6c0, caption=..., dir=..., filter=..., selectedFilter=0x0, options=...) at ./src/lib/tools/qztools.cpp:672
#26 0x00007f3d0b5379aa in BrowserWindow::openFile (this=0x560ef724b6c0) at ./src/lib/app/browserwindow.cpp:1161
#27 0x00007f3d0a8c74ab in QMetaMethod::invoke (this=<optimized out>, object=0x560ef724b6c0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2310
#28 0x00007f3d0a8cc656 in QMetaObject::invokeMethod (obj=0x560ef724b6c0, member=0x7f3d0b6f7b62 "openFile", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1522
#29 0x00007f3d0b54c4f4 in QMetaObject::invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=<optimized out>, obj=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:460
#30 MainMenu::callSlot (this=<optimized out>, slot=<optimized out>) at ./src/lib/app/mainmenu.cpp:670
#31 0x00007f3d0a8f4108 in doActivate<false> (sender=0x560ef777c760, signal_index=4, argv=0x7ffee8965370) at kernel/qobject.cpp:3935
#32 0x00007f3d0a8ed177 in QMetaObject::activate (sender=sender@entry=0x560ef777c760, m=m@entry=0x7f3d0b295d40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffee8965370) at kernel/qobject.cpp:3983
#33 0x00007f3d0ad65c56 in QAction::triggered (this=this@entry=0x560ef777c760, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#34 0x00007f3d0ad6894c in QAction::activate (this=0x560ef777c760, event=<optimized out>) at kernel/qaction.cpp:1161
#35 0x00007f3d0aef4a52 in QMenuPrivate::activateCausedStack (this=this@entry=0x560ef777e350, causedStack=..., action=action@entry=0x560ef777c760, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#36 0x00007f3d0aefc629 in QMenuPrivate::activateAction (this=0x560ef777e350, action=0x560ef777c760, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1461
#37 0x00007f3d0adaf97e in QWidget::event (this=0x560ef77780c0, event=0x7ffee8965980) at kernel/qwidget.cpp:9045
#38 0x00007f3d0ad6c793 in QApplicationPrivate::notify_helper (this=this@entry=0x560ef4611630, receiver=receiver@entry=0x560ef77780c0, e=e@entry=0x7ffee8965980) at kernel/qapplication.cpp:3640
#39 0x00007f3d0ad743d4 in QApplication::notify (this=<optimized out>, receiver=0x560ef77780c0, e=0x7ffee8965980) at kernel/qapplication.cpp:3084
#40 0x00007f3d0a8bc07a in QCoreApplication::notifyInternal2 (receiver=0x560ef77780c0, event=0x7ffee8965980) at kernel/qcoreapplication.cpp:1064
#41 0x00007f3d0ad72eb7 in QApplicationPrivate::sendMouseEvent (receiver=0x560ef77780c0, event=event@entry=0x7ffee8965980, alienWidget=0x0, nativeWidget=0x560ef77780c0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#42 0x00007f3d0adc9d13 in QWidgetWindow::handleMouseEvent (this=0x7f3cec00a7c0, event=0x7ffee8965c50) at kernel/qwidgetwindow.cpp:580
#43 0x00007f3d0adcc4a5 in QWidgetWindow::event (this=0x7f3cec00a7c0, event=0x7ffee8965c50) at kernel/qwidgetwindow.cpp:300
#44 0x00007f3d0ad6c793 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f3cec00a7c0, e=0x7ffee8965c50) at kernel/qapplication.cpp:3640
#45 0x00007f3d0a8bc07a in QCoreApplication::notifyInternal2 (receiver=0x7f3cec00a7c0, event=0x7ffee8965c50) at kernel/qcoreapplication.cpp:1064
#46 0x00007f3d00742a77 in QGuiApplicationPrivate::processMouseEvent (e=0x560ef814a8a0) at kernel/qguiapplication.cpp:2285
#47 0x00007f3d00716a5c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#48 0x00007f3cfc2f3dee in xcbSourceDispatch (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#49 0x00007f3d0131bd3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f3d013706c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f3d013193e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f3d0a915ad8 in QEventDispatcherGlib::processEvents (this=0x560ef46f1f20, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#53 0x00007f3d0a8ba99b in QEventLoop::exec (this=this@entry=0x7ffee8965f80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#54 0x00007f3d0a8c2f34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#55 0x00007f3d007364d0 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#56 0x00007f3d0ad6c709 in QApplication::exec () at kernel/qapplication.cpp:2832
#57 0x0000560ef29f3816 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main/main.cpp:74
[Inferior 1 (process 13506) detached]

Reported using DrKonqi