https://bugs.kde.org/show_bug.cgi?id=455819
Bug ID: 455819 Summary: System settings crashed while editing application in MIME types Product: systemsettings Version: unspecified Platform: Debian stable OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_filetypes Assignee: fa...@kde.org Reporter: alexcode...@gmail.com CC: plasma-b...@kde.org Target Milestone: --- Application: systemsettings5 (5.20.5) Qt Version: 5.15.2 Frameworks Version: 5.78.0 Operating System: Linux 5.10.0-13-amd64 x86_64 Windowing system: X11 Distribution: Debian GNU/Linux 11 (bullseye) -- Information about the crash: - What I was doing when the application crashed: I was creating a new custom filetype in a new category. I added a new application, based on xdg-open, and when I finished editing the settings and clicked "Apply", it crashed. The apllication has not been saved. Sorry for my English I'm French. P.S.: Where are kcm_filetypes.so debug symbols? I can't find them... -- Backtrace: Application: Configuration du système (systemsettings5), signal: Segmentation fault [KCrash Handler] #4 bm_find (uc=0xd519b42954d0, l=<optimized out>, index=<optimized out>, puc=0x7ffde277c43e, pl=pl@entry=1, skiptable=skiptable@entry=0x7ffde277abb8 '\001' <repeats 92 times>, cs=Qt::CaseSensitive) at text/qstringmatcher.cpp:75 #5 0x00007f8e15be9b95 in bm_find (cs=<optimized out>, skiptable=0x7ffde277abb8 '\001' <repeats 92 times>, pl=1, puc=<optimized out>, index=<optimized out>, l=<optimized out>, uc=<optimized out>) at text/qstringmatcher.cpp:67 #6 QStringMatcher::indexIn (this=0x7ffde277aba0, str=..., from=<optimized out>) at text/qstringmatcher.cpp:319 #7 0x00007f8e15be9bd5 in QStringMatcher::indexIn (this=this@entry=0x7ffde277aba0, str=..., from=from@entry=0) at ../../include/QtCore/../../src/corelib/text/qstringview.h:162 #8 0x00007f8e15bec617 in QString::replace (this=0x7ffde277c6c0, before=0x7ffde277c43e, blen=1, after=0x7ffde277c450, alen=2, cs=Qt::CaseSensitive) at text/qstring.cpp:3217 #9 0x00007f8e15bf7f5a in QString::replace (this=0x7ffde277c6c0, c=..., after=..., cs=Qt::CaseSensitive) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:201 #10 0x00007f8e160afcca in KConfigGroup::writeXdgListEntry(char const*, QStringList const&, QFlags<KConfigBase::WriteConfigFlag>) () from /lib/x86_64-linux-gnu/libKF5ConfigCore.so.5 #11 0x00007f8e160afdd5 in KConfigGroup::writeXdgListEntry(QString const&, QStringList const&, QFlags<KConfigBase::WriteConfigFlag>) () from /lib/x86_64-linux-gnu/libKF5ConfigCore.so.5 #12 0x00007f8dec0ecbc0 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_filetypes.so #13 0x00007f8dec0ef32f in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_filetypes.so #14 0x00007f8dec0ef6f8 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_filetypes.so #15 0x00007f8dec0e475c in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kcm_filetypes.so #16 0x00007f8e1730f4c7 in KCModuleProxy::save (this=<optimized out>) at ./src/kcmoduleproxy.cpp:226 #17 0x00007f8e17348721 in ModuleView::moduleSave (this=0x558b9e0e9350, module=<optimized out>) at ./core/ModuleView.cpp:307 #18 0x00007f8e173489fe in ModuleView::moduleSave (this=<optimized out>) at ./core/ModuleView.cpp:298 #19 0x00007f8e17343616 in ModuleView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffde277cb60) at ./obj-x86_64-linux-gnu/core/systemsettingsview_autogen/EWIEGA46WW/moc_ModuleView.cpp:133 #20 0x00007f8e15d815e0 in doActivate<false> (sender=0x558b9e0c2ed0, signal_index=9, argv=argv@entry=0x7ffde277cb60) at kernel/qobject.cpp:3898 #21 0x00007f8e15d7a900 in QMetaObject::activate (sender=sender@entry=0x558b9e0c2ed0, m=m@entry=0x7f8e16e07180 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffde277cb60) at kernel/qobject.cpp:3946 #22 0x00007f8e169f6e42 in QAbstractButton::clicked (this=this@entry=0x558b9e0c2ed0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308 #23 0x00007f8e169f77aa in QAbstractButtonPrivate::emitClicked (this=this@entry=0x558b9dff5660) at widgets/qabstractbutton.cpp:415 #24 0x00007f8e169f90ff in QAbstractButtonPrivate::click (this=this@entry=0x558b9dff5660) at widgets/qabstractbutton.cpp:408 #25 0x00007f8e169f92d1 in QAbstractButton::mouseReleaseEvent (this=0x558b9e0c2ed0, e=0x7ffde277d130) at widgets/qabstractbutton.cpp:1044 #26 0x00007f8e16949fae in QWidget::event (this=0x558b9e0c2ed0, event=0x7ffde277d130) at kernel/qwidget.cpp:9019 #27 0x00007f8e1690a15f in QApplicationPrivate::notify_helper (this=this@entry=0x558b9dd2e9e0, receiver=receiver@entry=0x558b9e0c2ed0, e=e@entry=0x7ffde277d130) at kernel/qapplication.cpp:3632 #28 0x00007f8e1691104b in QApplication::notify (this=0x7ffde277ce30, receiver=0x558b9e0c2ed0, e=0x7ffde277d130) at kernel/qapplication.cpp:3076 #29 0x00007f8e15d4afca in QCoreApplication::notifyInternal2 (receiver=0x558b9e0c2ed0, event=0x7ffde277d130) at kernel/qcoreapplication.cpp:1063 #30 0x00007f8e16910076 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x558b9e0c2ed0, event=event@entry=0x7ffde277d130, alienWidget=alienWidget@entry=0x558b9e0c2ed0, nativeWidget=0x558b9dfee6d0, buttonDown=buttonDown@entry=0x7f8e16e309f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614 #31 0x00007f8e16962011 in QWidgetWindow::handleMouseEvent (this=0x558b9e1a4820, event=0x7ffde277d3f0) at kernel/qwidgetwindow.cpp:683 #32 0x00007f8e1696533e in QWidgetWindow::event (this=0x558b9e1a4820, event=0x7ffde277d3f0) at kernel/qwidgetwindow.cpp:300 #33 0x00007f8e1690a15f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x558b9e1a4820, e=0x7ffde277d3f0) at kernel/qapplication.cpp:3632 #34 0x00007f8e15d4afca in QCoreApplication::notifyInternal2 (receiver=0x558b9e1a4820, event=0x7ffde277d3f0) at kernel/qcoreapplication.cpp:1063 #35 0x00007f8e16222583 in QGuiApplicationPrivate::processMouseEvent (e=0x558ba4bfd850) at kernel/qguiapplication.cpp:2282 #36 0x00007f8e161f864c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #37 0x00007f8e10bc37da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #38 0x00007f8e1387ce6b in g_main_dispatch (context=0x7f8e08005000) at ../../../glib/gmain.c:3325 #39 g_main_context_dispatch (context=0x7f8e08005000) at ../../../glib/gmain.c:4043 #40 0x00007f8e1387d118 in g_main_context_iterate (context=context@entry=0x7f8e08005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119 #41 0x00007f8e1387d1cf in g_main_context_iteration (context=0x7f8e08005000, may_block=may_block@entry=1) at ../../../glib/gmain.c:4184 #42 0x00007f8e15da251f in QEventDispatcherGlib::processEvents (this=0x558b9de07ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #43 0x00007f8e15d4998b in QEventLoop::exec (this=this@entry=0x7ffde277d720, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #44 0x00007f8e15d51c00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #45 0x00007f8e16215bdc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #46 0x00007f8e1690a0d5 in QApplication::exec () at kernel/qapplication.cpp:2824 #47 0x0000558b9dc9ad2c in main (argc=<optimized out>, argv=0x7ffde277d850) at ./app/main.cpp:209 [Inferior 1 (process 397764) detached] -- You are receiving this mail because: You are watching all bug changes.