Bug 471237

Summary: Settings app crash when attempting to import VPN configuration file
Product: [Applications] systemsettings Reporter: fsouza.bruno
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: jschrode, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 5.27.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description fsouza.bruno 2023-06-19 18:56:47 UTC
Application: systemsettings (5.27.5)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.2.9-300.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Before even selecting a file, the application crash.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd333410a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007fd33395b4e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007fd33395e9b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007fd3384e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fd3397eafc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#9  0x00007fd3397f0bab in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#10 0x00007fd3384e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007fd339c539d7 in KIO::SlaveInterface::error(int, QString const&) () from /lib64/libKF5KIOCore.so.5
#12 0x00007fd339c58afe in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#13 0x00007fd339c537fb in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#14 0x00007fd339c56121 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#15 0x00007fd3384e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007fd3384ded0b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007fd3391aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007fd3384b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fd3384b7635 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007fd338506c3f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007fd336f1339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007fd336f71438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#23 0x00007fd336f10a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007fd338506729 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007fd3384b2b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007fd3393cd72b in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#27 0x00007fd3393cd604 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#28 0x00007fd3393e2f47 in QFileDialog::getOpenFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () from /lib64/libQt5Widgets.so.5
#29 0x00007fd3393e3040 in QFileDialog::getOpenFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) () from /lib64/libQt5Widgets.so.5
#30 0x00007fd304fe71a7 in KCMNetworkmanagement::onRequestCreateConnection(int, QString const&, QString const&, bool) () from /usr/lib64/qt5/plugins/plasma/kcms/systemsettings_qwidgets/kcm_networkmanagement.so
#31 0x00007fd3384e85e8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#32 0x00007fd336298929 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#33 0x00007fd3362f4a6a in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#34 0x00007fd3361c73b3 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#35 0x00007fd3361c91b2 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#36 0x00007fd3361e6d1c in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#37 0x00007fd3361ea53f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#38 0x00007fd33617a4b2 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#39 0x00007fd336310740 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#40 0x00007fd3362bec31 in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#41 0x00007fd3362bfeb0 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#42 0x00007fd3362f4507 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#43 0x00007fd3384e8130 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#44 0x00007fd336298929 in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#45 0x00007fd3362f4a6a in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#46 0x00007fd3361c73b3 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#47 0x00007fd3361c91b2 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#48 0x00007fd3361e6d1c in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#49 0x00007fd3361ea53f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#50 0x00007fd33617a4b2 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#51 0x00007fd336310740 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#52 0x00007fd3362bec31 in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#53 0x00007fd3362bfeb0 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#54 0x00007fd3362f4507 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#55 0x00007fd3384e8130 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#56 0x00007fd33371f631 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#57 0x00007fd33373a761 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#58 0x00007fd3368a15f8 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#59 0x00007fd3391aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#60 0x00007fd3384b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#61 0x00007fd3368bd156 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#62 0x00007fd3368be8e3 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#63 0x00007fd3368bfb4c in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#64 0x00007fd338978775 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#65 0x00007fd3391aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#66 0x00007fd3384b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#67 0x00007fd33896cc6b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#68 0x00007fd33894acfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#69 0x00007fd335f639e4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#70 0x00007fd336f1339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#71 0x00007fd336f71438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#72 0x00007fd336f10a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#73 0x00007fd338506729 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#74 0x00007fd3384b2b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#75 0x00007fd3384baddb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#76 0x0000564138b155a8 in main ()
[Inferior 1 (process 28910) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-06-21 18:15:13 UTC

*** This bug has been marked as a duplicate of bug 470845 ***
Comment 2 Jos 2023-07-07 18:22:51 UTC
Created attachment 160129 [details]
New crash information added by DrKonqi

systemsettings (5.27.6) using Qt 5.15.10

VPN config import dialog crashes system settings

-- Backtrace (Reduced):
#4  0x00007f0a7f797a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f0a7fcc14e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f0a7fcc49b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f0a848e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f0a85b77fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5