Bug 349295 - System Settings/Applications crashes on switching to file associations
Summary: System Settings/Applications crashes on switching to file associations
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_filetypes (show other bugs)
Version: 5.3.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: drkonqi
: 345915 350796 351445 352145 355012 356265 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-17 15:45 UTC by alan.henry.williams
Modified: 2020-12-18 12:45 UTC (History)
8 users (show)

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


Attachments
attachment-4568-0.html (38.62 KB, text/html)
2015-09-27 07:05 UTC, PeterH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alan.henry.williams 2015-06-17 15:45:13 UTC
Application: systemsettings5 (5.3.1)

Qt Version: 5.4.2
Operating System: Linux 4.0.4-303.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
- What I was doing when the application crashed:
Click on default applications (alternatively on locations.) Then click on file associations. Crash.

- Custom settings of the application:
None. Mouse selection set to single-click

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f864e4cb840 (LWP 18394))]

Thread 3 (Thread 0x7f8633182700 (LWP 18395)):
#0  0x00007f86487ed66d in poll () from /lib64/libc.so.6
#1  0x00007f864575e182 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f864575fd07 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f8635b669b9 in QXcbEventReader::run() () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f86493f7e3e in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f8644f1b555 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f86487f8f3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8625f4d700 (LWP 18396)):
#0  0x00007f8644f20530 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8628eaec4a in radeon_drm_cs_emit_ioctl () from /usr/lib64/dri/r600_dri.so
#2  0x00007f8628eae4b7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007f8644f1b555 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f86487f8f3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f864e4cb840 (LWP 18394)):
[KCrash Handler]
#5  0x00007f86494882e8 in operator==(QString const&, QString const&) () from /lib64/libQt5Core.so.5
#6  0x00007f86496624a6 in QMimeBinaryProvider::loadMimeTypePrivate(QMimeTypePrivate&) () from /lib64/libQt5Core.so.5
#7  0x00007f8649655caa in QMimeType::comment() const () from /lib64/libQt5Core.so.5
#8  0x00007f8622725dce in MimeTypeData::initFromQMimeType() () from /usr/lib64/qt5/plugins/kcm_filetypes.so
#9  0x00007f8622727a65 in MimeTypeData::MimeTypeData(QMimeType const&) () from /usr/lib64/qt5/plugins/kcm_filetypes.so
#10 0x00007f8622721e49 in TypesListItem::TypesListItem(TypesListItem*, QMimeType) () from /usr/lib64/qt5/plugins/kcm_filetypes.so
#11 0x00007f862271a5cf in FileTypesView::readFileTypes() () from /usr/lib64/qt5/plugins/kcm_filetypes.so
#12 0x00007f862271a868 in FileTypesView::load() () from /usr/lib64/qt5/plugins/kcm_filetypes.so
#13 0x00007f864cf755d9 in KCModule::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libKF5ConfigWidgets.so.5
#14 0x00007f8649608f41 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f864b10fd6b in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f864b0cd7ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f864b0d2e90 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f86495d767b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007f86495d97b7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007f864962e763 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007f8644166a8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f8644166e20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#23 0x00007f8644166ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f864962eb6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007f86495d4eba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f86495dca2c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#27 0x000000000040eb2c in main ()

Reported using DrKonqi
Comment 1 Christoph Feck 2015-08-02 09:46:58 UTC
*** Bug 350796 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2015-09-23 13:34:26 UTC
*** Bug 351445 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2015-09-23 14:19:25 UTC
*** Bug 345915 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2015-09-23 14:19:37 UTC
*** Bug 352145 has been marked as a duplicate of this bug. ***
Comment 5 Albert Astals Cid 2015-09-26 08:40:40 UTC
I can not reproduce this crash with the following combinations

systemsettings 5.4.1 + Qt 5.50
systemsettings 5.3.2 + Qt 5.4.1

Could any of you please install valgrind and then run
   valgring systemsettings5 
in a terminal, try to reproduce the crash and add here the valgrind output?
Comment 6 PeterH 2015-09-27 07:04:56 UTC
Created attachment 94739 [details]
attachment-4568-0.html

Running arch with kde desktop inside virtualbox on iMac running in El
Capitan Beta.

My output from systemsettings5 after selecting 'Applications/File
Associations' caused a crash.
.....
[peter@arch64 ~]$ valgrind systemsettings5
==593== Memcheck, a memory error detector
==593== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==593== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==593== Command: systemsettings5
==593==
pci id for fd 8: 80ee:beef, driver (null)
==593== Conditional jump or move depends on uninitialised value(s)
==593==    at 0x1EE739DE: crGetProcName (in /usr/lib/VBoxOGLcrutil.so)
==593==    by 0x1EB5BBED: ??? (in /usr/lib/VBoxOGL.so)
==593==    by 0x1EB5C098: ??? (in /usr/lib/VBoxOGL.so)
==593==    by 0x1EB4A041: ??? (in /usr/lib/VBoxOGL.so)
==593==    by 0x400F279: call_init.part.0 (in /usr/lib/ld-2.22.so)
==593==    by 0x400F38A: _dl_init (in /usr/lib/ld-2.22.so)
==593==    by 0x401382F: dl_open_worker (in /usr/lib/ld-2.22.so)
==593==    by 0x400F123: _dl_catch_error (in /usr/lib/ld-2.22.so)
==593==    by 0x4012FD0: _dl_open (in /usr/lib/ld-2.22.so)
==593==    by 0xEA2AFC8: ??? (in /usr/lib/libdl-2.22.so)
==593==    by 0x400F123: _dl_catch_error (in /usr/lib/ld-2.22.so)
==593==    by 0xEA2B5E0: ??? (in /usr/lib/libdl-2.22.so)
==593==
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
==593== Syscall param writev(vector[...]) points to uninitialised byte(s)
==593==    at 0x8DED84D: ??? (in /usr/lib/libc-2.22.so)
==593==    by 0xC024DA8: ??? (in /usr/lib/libxcb.so.1.1.0)
==593==    by 0xC02519C: ??? (in /usr/lib/libxcb.so.1.1.0)
==593==    by 0xC0258F6: ??? (in /usr/lib/libxcb.so.1.1.0)
==593==    by 0xC026522: ??? (in /usr/lib/libxcb.so.1.1.0)
==593==    by 0xC0265A0: xcb_wait_for_reply (in /usr/lib/libxcb.so.1.1.0)
==593==    by 0x16E0AA69: QXcbConnection::sync() (in
/usr/lib/libQt5XcbQpa.so.5.5.0)
==593==    by 0x16E28B4E: QXcbWindow::requestActivateWindow() (in
/usr/lib/libQt5XcbQpa.so.5.5.0)
==593==    by 0x6E0CDE3: QWindow::requestActivate() (in
/usr/lib/libQt5Gui.so.5.5.0)
==593==    by 0x41352D: SettingsBase::initApplication() (in
/usr/bin/systemsettings5)
==593==    by 0x418CB4: ??? (in /usr/bin/systemsettings5)
==593==    by 0x8567EB0: QObject::event(QEvent*) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==  Address 0x166591ce is 4,558 bytes inside a block of size 21,152
alloc'd
==593==    at 0x4C2AC85: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==593==    by 0xC02475B: xcb_connect_to_fd (in /usr/lib/libxcb.so.1.1.0)
==593==    by 0xC028490: xcb_connect_to_display_with_auth_info (in
/usr/lib/libxcb.so.1.1.0)
==593==    by 0xBD194B9: _XConnectXCB (in /usr/lib/libX11.so.6.3.0)
==593==    by 0xBD0A1E1: XOpenDisplay (in /usr/lib/libX11.so.6.3.0)
==593==    by 0x16E0D3C0:
QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int,
char const*) (in /usr/lib/libQt5XcbQpa.so.5.5.0)
==593==    by 0x16E1304C: QXcbIntegration::QXcbIntegration(QStringList
const&, int&, char**) (in /usr/lib/libQt5XcbQpa.so.5.5.0)
==593==    by 0x16BD023C: ??? (in /usr/lib/qt/plugins/platforms/libqxcb.so)
==593==    by 0x6DF5581: QPlatformIntegrationFactory::create(QString
const&, QStringList const&, int&, char**, QString const&) (in
/usr/lib/libQt5Gui.so.5.5.0)
==593==    by 0x6E017C1:
QGuiApplicationPrivate::createPlatformIntegration() (in
/usr/lib/libQt5Gui.so.5.5.0)
==593==    by 0x6E026DC: QGuiApplicationPrivate::createEventDispatcher()
(in /usr/lib/libQt5Gui.so.5.5.0)
==593==    by 0x853CDF5: QCoreApplication::init() (in
/usr/lib/libQt5Core.so.5.5.0)
==593==
==593== Invalid read of size 4
==593==    at 0x26689230: KCrash::setCrashHandler(void (*)(int)) (in
/usr/lib/libKF5Crash.so.5.14.0)
==593==    by 0x266896B3: KCrash::setDrKonqiEnabled(bool) (in
/usr/lib/libKF5Crash.so.5.14.0)
==593==    by 0x2668AA2C: ??? (in /usr/lib/libKF5Crash.so.5.14.0)
==593==    by 0x853B79C: qAddPreRoutine(void (*)()) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x400F279: call_init.part.0 (in /usr/lib/ld-2.22.so)
==593==    by 0x400F38A: _dl_init (in /usr/lib/ld-2.22.so)
==593==    by 0x401382F: dl_open_worker (in /usr/lib/ld-2.22.so)
==593==    by 0x400F123: _dl_catch_error (in /usr/lib/ld-2.22.so)
==593==    by 0x4012FD0: _dl_open (in /usr/lib/ld-2.22.so)
==593==    by 0xEA2AFC8: ??? (in /usr/lib/libdl-2.22.so)
==593==    by 0x400F123: _dl_catch_error (in /usr/lib/ld-2.22.so)
==593==    by 0xEA2B5E0: ??? (in /usr/lib/libdl-2.22.so)
==593==  Address 0x233edf90 is 0 bytes inside a block of size 3 alloc'd
==593==    at 0x4C29E6F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==593==    by 0x266891CD: KCrash::setCrashHandler(void (*)(int)) (in
/usr/lib/libKF5Crash.so.5.14.0)
==593==    by 0x266896B3: KCrash::setDrKonqiEnabled(bool) (in
/usr/lib/libKF5Crash.so.5.14.0)
==593==    by 0x2668AA2C: ??? (in /usr/lib/libKF5Crash.so.5.14.0)
==593==    by 0x853B79C: qAddPreRoutine(void (*)()) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x400F279: call_init.part.0 (in /usr/lib/ld-2.22.so)
==593==    by 0x400F38A: _dl_init (in /usr/lib/ld-2.22.so)
==593==    by 0x401382F: dl_open_worker (in /usr/lib/ld-2.22.so)
==593==    by 0x400F123: _dl_catch_error (in /usr/lib/ld-2.22.so)
==593==    by 0x4012FD0: _dl_open (in /usr/lib/ld-2.22.so)
==593==    by 0xEA2AFC8: ??? (in /usr/lib/libdl-2.22.so)
==593==    by 0x400F123: _dl_catch_error (in /usr/lib/ld-2.22.so)
==593==
("/usr/share/mime/all/all.xml")
("/usr/share/mime/all/allfiles.xml")
("/usr/share/mime/application/andrew-inset.xml")
("/usr/share/mime/application/annodex.xml")
("/usr/share/mime/application/atom+xml.xml")
("/usr/share/mime/application/dicom.xml")
("/usr/share/mime/application/ecmascript.xml")
("/usr/share/mime/application/epub+zip.xml")
("/usr/share/mime/application/font-woff.xml")
("/usr/share/mime/application/gml+xml.xml")
("/usr/share/mime/application/gnunet-directory.xml")
("/usr/share/mime/application/gzip.xml")
("/usr/share/mime/application/illustrator.xml")
("/usr/share/mime/application/javascript.xml")
("/usr/share/mime/application/json.xml")
("/usr/share/mime/application/mac-binhex40.xml")
("/usr/share/mime/application/mathematica.xml")
("/usr/share/mime/application/mathml+xml.xml")
("/usr/share/mime/application/mbox.xml")
("/usr/share/mime/application/metalink+xml.xml")
("/usr/share/mime/application/metalink4+xml.xml")
("/usr/share/mime/application/msword.xml")
("/usr/share/mime/application/msword-template.xml")
("/usr/share/mime/application/mxf.xml")
("/usr/share/mime/application/octet-stream.xml")
("/usr/share/mime/application/oda.xml")
("/usr/share/mime/application/ogg.xml")
("/usr/share/mime/application/oxps.xml")
("/usr/share/mime/application/pdf.xml")
("/usr/share/mime/application/pgp-encrypted.xml")
("/usr/share/mime/application/pgp-keys.xml")
("/usr/share/mime/application/pgp-signature.xml")
("/usr/share/mime/application/pkcs10.xml")
("/usr/share/mime/application/pkcs7-mime.xml")
("/usr/share/mime/application/pkcs7-signature.xml")
("/usr/share/mime/application/pkcs8.xml")
("/usr/share/mime/application/pkix-cert.xml")
("/usr/share/mime/application/pkix-crl.xml")
("/usr/share/mime/application/pkix-pkipath.xml")
("/usr/share/mime/application/postscript.xml")
("/usr/share/mime/application/prs.plucker.xml")
("/usr/share/mime/application/ram.xml")
("/usr/share/mime/application/rdf+xml.xml")
("/usr/share/mime/application/relax-ng-compact-syntax.xml")
("/usr/share/mime/application/relaxng.xml")
("/usr/share/mime/application/rss+xml.xml")
("/usr/share/mime/application/rtf.xml")
("/usr/share/mime/application/sdp.xml")
("/usr/share/mime/application/sieve.xml")
("/usr/share/mime/application/smil+xml.xml")
("/usr/share/mime/application/sql.xml")
("/usr/share/mime/application/vnd.adobe.flash.movie.xml")
("/usr/share/mime/application/vnd.android.package-archive.xml")
("/usr/share/mime/application/vnd.apple.mpegurl.xml")
("/usr/share/mime/application/vnd.corel-draw.xml")
("/usr/share/mime/application/vnd.debian.binary-package.xml")
("/usr/share/mime/application/vnd.emusic-emusic_package.xml")
("/usr/share/mime/application/vnd.google-earth.kml+xml.xml")
("/usr/share/mime/application/vnd.google-earth.kmz.xml")
("/usr/share/mime/application/vnd.hp-hpgl.xml")
("/usr/share/mime/application/vnd.hp-pcl.xml")
("/usr/share/mime/application/vnd.iccprofile.xml")
("/usr/share/mime/application/vnd.kde.fontspackage.xml")
("/usr/share/mime/application/vnd.kde.kpatience.savedgame.xml")
("/usr/share/mime/application/vnd.kde.kpatience.savedstate.xml")
("/usr/share/mime/application/vnd.kde.kphotoalbum-import.xml")
("/usr/share/mime/application/vnd.kde.okular-archive.xml")
("/usr/share/mime/application/vnd.lotus-1-2-3.xml")
("/usr/share/mime/application/vnd.lotus-wordpro.xml")
("/usr/share/mime/application/vnd.mozilla.xul+xml.xml")
("/usr/share/mime/application/vnd.ms-access.xml")
("/usr/share/mime/application/vnd.ms-asf.xml")
("/usr/share/mime/application/vnd.ms-cab-compressed.xml")
("/usr/share/mime/application/vnd.ms-excel.xml")
("/usr/share/mime/application/vnd.ms-excel.addin.macroEnabled.12.xml")
("/usr/share/mime/application/vnd.ms-excel.sheet.binary.macroEnabled.12.xml")
Got name "application/vnd.ms-excel.sheet.binary.macroEnabled.12" in file
"application/vnd.ms-excel.sheet.binary.macroenabled.12.xml" expected
"application/vnd.ms-excel.sheet.binary.macroenabled.12"
("/usr/share/mime/application/vnd.ms-excel.sheet.binary.macroenabled.12.xml")
Got name "application/vnd.ms-excel.sheet.binary.macroEnabled.12" in file
"application/vnd.ms-excel.sheet.binary.macroenabled.12.xml" expected
"application/vnd.ms-excel.sheet.binary.macroenabled.12"
("/usr/share/mime/application/vnd.ms-excel.sheet.macroEnabled.12.xml")
Got name "application/vnd.ms-excel.sheet.macroEnabled.12" in file
"application/vnd.ms-excel.sheet.macroenabled.12.xml" expected
"application/vnd.ms-excel.sheet.macroenabled.12"
("/usr/share/mime/application/vnd.ms-excel.sheet.macroenabled.12.xml")
Got name "application/vnd.ms-excel.sheet.macroEnabled.12" in file
"application/vnd.ms-excel.sheet.macroenabled.12.xml" expected
"application/vnd.ms-excel.sheet.macroenabled.12"
("/usr/share/mime/application/vnd.ms-excel.template.macroEnabled.12.xml")
Got name "application/vnd.ms-excel.template.macroEnabled.12" in file
"application/vnd.ms-excel.template.macroenabled.12.xml" expected
"application/vnd.ms-excel.template.macroenabled.12"
("/usr/share/mime/application/vnd.ms-excel.template.macroenabled.12.xml")
Got name "application/vnd.ms-excel.template.macroEnabled.12" in file
"application/vnd.ms-excel.template.macroenabled.12.xml" expected
"application/vnd.ms-excel.template.macroenabled.12"
("/usr/share/mime/application/vnd.ms-htmlhelp.xml")
("/usr/share/mime/application/vnd.ms-powerpoint.xml")
("/usr/share/mime/application/vnd.ms-powerpoint.addin.macroEnabled.12.xml")
("/usr/share/mime/application/vnd.ms-powerpoint.presentation.macroEnabled.12.xml")
Got name "application/vnd.ms-powerpoint.presentation.macroEnabled.12" in
file "application/vnd.ms-powerpoint.presentation.macroenabled.12.xml"
expected "application/vnd.ms-powerpoint.presentation.macroenabled.12"
("/usr/share/mime/application/vnd.ms-powerpoint.presentation.macroenabled.12.xml")
Got name "application/vnd.ms-powerpoint.presentation.macroEnabled.12" in
file "application/vnd.ms-powerpoint.presentation.macroenabled.12.xml"
expected "application/vnd.ms-powerpoint.presentation.macroenabled.12"
("/usr/share/mime/application/vnd.ms-powerpoint.slide.macroEnabled.12.xml")
("/usr/share/mime/application/vnd.ms-powerpoint.slideshow.macroEnabled.12.xml")
("/usr/share/mime/application/vnd.ms-powerpoint.template.macroEnabled.12.xml")
Got name "application/vnd.ms-powerpoint.template.macroEnabled.12" in file
"application/vnd.ms-powerpoint.template.macroenabled.12.xml" expected
"application/vnd.ms-powerpoint.template.macroenabled.12"
("/usr/share/mime/application/vnd.ms-powerpoint.template.macroenabled.12.xml")
Got name "application/vnd.ms-powerpoint.template.macroEnabled.12" in file
"application/vnd.ms-powerpoint.template.macroenabled.12.xml" expected
"application/vnd.ms-powerpoint.template.macroenabled.12"
("/usr/share/mime/application/vnd.ms-publisher.xml")
("/usr/share/mime/application/vnd.ms-tnef.xml")
("/home/peter/.local/share/mime/application/vnd.ms-word.xml",
"/usr/share/mime/application/vnd.ms-word.xml")
("/usr/share/mime/application/vnd.ms-word.document.macroEnabled.12.xml")
Got name "application/vnd.ms-word.document.macroEnabled.12" in file
"application/vnd.ms-word.document.macroenabled.12.xml" expected
"application/vnd.ms-word.document.macroenabled.12"
("/usr/share/mime/application/vnd.ms-word.document.macroenabled.12.xml")
Got name "application/vnd.ms-word.document.macroEnabled.12" in file
"application/vnd.ms-word.document.macroenabled.12.xml" expected
"application/vnd.ms-word.document.macroenabled.12"
("/usr/share/mime/application/vnd.ms-word.template.macroEnabled.12.xml")
Got name "application/vnd.ms-word.template.macroEnabled.12" in file
"application/vnd.ms-word.template.macroenabled.12.xml" expected
"application/vnd.ms-word.template.macroenabled.12"
("/usr/share/mime/application/vnd.ms-word.template.macroenabled.12.xml")
Got name "application/vnd.ms-word.template.macroEnabled.12" in file
"application/vnd.ms-word.template.macroenabled.12.xml" expected
"application/vnd.ms-word.template.macroenabled.12"
("/usr/share/mime/application/vnd.ms-works.xml")
("/usr/share/mime/application/vnd.ms-wpl.xml")
("/usr/share/mime/application/vnd.nintendo.snes.rom.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.chart.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.chart-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.database.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.formula.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.formula-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.graphics.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.graphics-flat-xml.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.graphics-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.image.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.presentation.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.presentation-flat-xml.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.presentation-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.spreadsheet.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.spreadsheet-flat-xml.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.spreadsheet-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.text.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.text-flat-xml.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.text-master.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.text-master-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.text-template.xml")
("/usr/share/mime/application/vnd.oasis.opendocument.text-web.xml")
("/usr/share/mime/application/vnd.openofficeorg.extension.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.presentationml.presentation.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.presentationml.slide.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.presentationml.slideshow.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.presentationml.template.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.spreadsheetml.template.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.wordprocessingml.document.xml")
("/usr/share/mime/application/vnd.openxmlformats-officedocument.wordprocessingml.template.xml")
("/usr/share/mime/application/vnd.palm.xml")
("/usr/share/mime/application/vnd.rn-realmedia.xml")
("/usr/share/mime/application/vnd.stardivision.calc.xml")
("/usr/share/mime/application/vnd.stardivision.chart.xml")
("/usr/share/mime/application/vnd.stardivision.draw.xml")
("/usr/share/mime/application/vnd.stardivision.impress.xml")
("/usr/share/mime/application/vnd.stardivision.mail.xml")
("/usr/share/mime/application/vnd.stardivision.math.xml")
("/usr/share/mime/application/vnd.stardivision.writer.xml")
("/home/peter/.local/share/mime/application/vnd.sun.xml.base.xml",
"/usr/share/mime/application/vnd.sun.xml.base.xml")
("/usr/share/mime/application/vnd.sun.xml.calc.xml")
("/usr/share/mime/application/vnd.sun.xml.calc.template.xml")
("/usr/share/mime/application/vnd.sun.xml.draw.xml")
("/usr/share/mime/application/vnd.sun.xml.draw.template.xml")
("/usr/share/mime/application/vnd.sun.xml.impress.xml")
("/usr/share/mime/application/vnd.sun.xml.impress.template.xml")
("/usr/share/mime/application/vnd.sun.xml.math.xml")
("/usr/share/mime/application/vnd.sun.xml.writer.xml")
("/usr/share/mime/application/vnd.sun.xml.writer.global.xml")
("/usr/share/mime/application/vnd.sun.xml.writer.template.xml")
("/usr/share/mime/application/vnd.symbian.install.xml")
("/usr/share/mime/application/vnd.tcpdump.pcap.xml")
("/usr/share/mime/application/vnd.visio.xml")
("/usr/share/mime/application/vnd.wordperfect.xml")
("/usr/share/mime/application/winhlp.xml")
("/usr/share/mime/application/x-7z-compressed.xml")
("/usr/share/mime/application/x-abiword.xml")
("/usr/share/mime/application/x-accountwizard-package.xml")
("/usr/share/mime/application/x-ace.xml")
("/usr/share/mime/application/x-alz.xml")
("/usr/share/mime/application/x-amipro.xml")
("/usr/share/mime/application/x-aportisdoc.xml")
("/usr/share/mime/application/x-apple-diskimage.xml")
("/usr/share/mime/application/x-applix-spreadsheet.xml")
("/usr/share/mime/application/x-applix-word.xml")
("/usr/share/mime/application/x-arc.xml")
("/usr/share/mime/application/x-archive.xml")
("/usr/share/mime/application/x-arj.xml")
("/usr/share/mime/application/x-asp.xml")
("/usr/share/mime/application/x-awk.xml")
("/usr/share/mime/application/x-bcpio.xml")
("/usr/share/mime/application/x-bittorrent.xml")
("/usr/share/mime/application/x-blender.xml")
("/usr/share/mime/application/x-bzdvi.xml")
("/usr/share/mime/application/x-bzip.xml")
("/usr/share/mime/application/x-bzip-compressed-tar.xml")
("/usr/share/mime/application/x-bzpdf.xml")
("/usr/share/mime/application/x-bzpostscript.xml")
("/usr/share/mime/application/x-cabri.xml")
("/usr/share/mime/application/x-cb7.xml")
("/usr/share/mime/application/x-cbr.xml")
("/usr/share/mime/application/x-cbt.xml")
("/usr/share/mime/application/x-cbz.xml")
("/usr/share/mime/application/x-ccmx.xml")
("/usr/share/mime/application/x-cd-image.xml")
("/usr/share/mime/application/x-cda.xml")
("/usr/share/mime/application/x-cdrdao-toc.xml")
("/usr/share/mime/application/x-chess-fen.xml")
("/usr/share/mime/application/x-chess-pgn.xml")
("/usr/share/mime/application/x-cisco-vpn-settings.xml")
("/usr/share/mime/application/x-class-file.xml")
("/usr/share/mime/application/x-cmakecache.xml")
("/usr/share/mime/application/x-compress.xml")
("/usr/share/mime/application/x-compressed-tar.xml")
("/usr/share/mime/application/x-core.xml")
("/usr/share/mime/application/x-cpio.xml")
("/usr/share/mime/application/x-cpio-compressed.xml")
("/usr/share/mime/application/x-csh.xml")
("/usr/share/mime/application/x-cue.xml")
("/usr/share/mime/application/x-dar.xml")
("/usr/share/mime/application/x-dbf.xml")
("/usr/share/mime/application/x-dc-rom.xml")
("/usr/share/mime/application/x-designer.xml")
("/home/peter/.local/share/mime/application/x-desktop.xml",
"/usr/share/mime/application/x-desktop.xml")
("/usr/share/mime/application/x-dia-diagram.xml")
("/usr/share/mime/application/x-dia-shape.xml")
("/usr/share/mime/application/x-docbook+xml.xml")
("/usr/share/mime/application/x-drgeo.xml")
("/usr/share/mime/application/x-dvi.xml")
("/usr/share/mime/application/x-e-theme.xml")
("/usr/share/mime/application/x-egon.xml")
("/usr/share/mime/application/x-executable.xml")
("/usr/share/mime/application/x-fictionbook+xml.xml")
("/usr/share/mime/application/x-fluid.xml")
("/usr/share/mime/application/x-font-afm.xml")
("/usr/share/mime/application/x-font-bdf.xml")
("/usr/share/mime/application/x-font-dos.xml")
("/usr/share/mime/application/x-font-framemaker.xml")
("/usr/share/mime/application/x-font-libgrx.xml")
("/usr/share/mime/application/x-font-linux-psf.xml")
("/usr/share/mime/application/x-font-otf.xml")
("/usr/share/mime/application/x-font-pcf.xml")
("/usr/share/mime/application/x-font-snf.xml")
("/usr/share/mime/application/x-font-speedo.xml")
("/usr/share/mime/application/x-font-sunos-news.xml")
("/usr/share/mime/application/x-font-tex.xml")
("/usr/share/mime/application/x-font-tex-tfm.xml")
("/usr/share/mime/application/x-font-ttf.xml")
("/usr/share/mime/application/x-font-ttx.xml")
("/usr/share/mime/application/x-font-type1.xml")
("/usr/share/mime/application/x-font-vfont.xml")
("/usr/share/mime/application/x-frame.xml")
("/usr/share/mime/application/x-gameboy-rom.xml")
("/usr/share/mime/application/x-gamecube-rom.xml")
("/usr/share/mime/application/x-gba-rom.xml")
("/usr/share/mime/application/x-gdbm.xml")
("/usr/share/mime/application/x-gedcom.xml")
("/usr/share/mime/application/x-genesis-rom.xml")
("/usr/share/mime/application/x-gettext-translation.xml")
("/usr/share/mime/application/x-glade.xml")
("/usr/share/mime/application/x-gnucash.xml")
("/usr/share/mime/application/x-gnumeric.xml")
("/usr/share/mime/application/x-gnuplot.xml")
("/usr/share/mime/application/x-go-sgf.xml")
("/usr/share/mime/application/x-graphite.xml")
("/usr/share/mime/application/x-gtk-builder.xml")
("/usr/share/mime/application/x-gtktalog.xml")
("/usr/share/mime/application/x-gz-font-linux-psf.xml")
("/usr/share/mime/application/x-gzdvi.xml")
("/usr/share/mime/application/x-gzpdf.xml")
("/usr/share/mime/application/x-gzpostscript.xml")
("/usr/share/mime/application/x-hdf.xml")
("/usr/share/mime/application/x-hwp.xml")
("/usr/share/mime/application/x-hwt.xml")
("/usr/share/mime/application/x-ica.xml")
("/usr/share/mime/application/x-icq.xml")
("/usr/share/mime/application/x-iff.xml")
("/usr/share/mime/application/x-ipod-firmware.xml")
("/usr/share/mime/application/x-it87.xml")
("/usr/share/mime/application/x-iwork-keynote-sffkey.xml")
("/usr/share/mime/application/x-java.xml")
("/usr/share/mime/application/x-java-applet.xml")
("/usr/share/mime/application/x-java-archive.xml")
("/usr/share/mime/application/x-java-jce-keystore.xml")
("/usr/share/mime/application/x-java-jnlp-file.xml")
("/usr/share/mime/application/x-java-keystore.xml")
("/usr/share/mime/application/x-java-pack200.xml")
("/usr/share/mime/application/x-jbuilder-project.xml")
("/usr/share/mime/application/x-k3b.xml")
("/usr/share/mime/application/x-karbon.xml")
("/usr/share/mime/application/x-kcachegrind.xml")
("/usr/share/mime/application/x-kchart.xml")
("/usr/share/mime/application/x-kcsrc.xml")
("/usr/share/mime/application/x-kexi-connectiondata.xml")
("/usr/share/mime/application/x-kexiproject-shortcut.xml")
("/usr/share/mime/application/x-kexiproject-sqlite2.xml")
("/usr/share/mime/application/x-kexiproject-sqlite3.xml")
("/usr/share/mime/application/x-kformula.xml")
("/usr/share/mime/application/x-kgeo.xml")
("/usr/share/mime/application/x-kgetlist.xml")
("/usr/share/mime/application/x-khtml-adaptor.xml")
("/usr/share/mime/application/x-kig.xml")
("/usr/share/mime/application/x-killustrator.xml")
("/usr/share/mime/application/x-kivio.xml")
("/usr/share/mime/application/x-kmplot.xml")
("/usr/share/mime/application/x-kns.xml")
("/usr/share/mime/application/x-kolf.xml")
("/usr/share/mime/application/x-kommander.xml")
("/usr/share/mime/application/x-kontour.xml")
("/usr/share/mime/application/x-kopete-emoticons.xml")
("/usr/share/mime/application/x-kourse.xml")
("/usr/share/mime/application/x-kpovmodeler.xml")
("/usr/share/mime/application/x-kpresenter.xml")
("/usr/share/mime/application/x-krita.xml")
("/usr/share/mime/application/x-kseg.xml")
("/usr/share/mime/application/x-kspread.xml")
("/usr/share/mime/application/x-kspread-crypt.xml")
("/usr/share/mime/application/x-ksysguard.xml")
("/usr/share/mime/application/x-ksysv-package.xml")
("/usr/share/mime/application/x-ktheme.xml")
("/usr/share/mime/application/x-kudesigner.xml")
("/usr/share/mime/application/x-kugar.xml")
("/usr/share/mime/application/x-kvtml.xml")
("/usr/share/mime/application/x-kwallet.xml")
("/usr/share/mime/application/x-kword.xml")
("/usr/share/mime/application/x-kword-crypt.xml")
("/usr/share/mime/application/x-kwordquiz.xml")
("/usr/share/mime/application/x-lha.xml")
("/usr/share/mime/application/x-lhz.xml")
("/usr/share/mime/application/x-lrzip.xml")
("/usr/share/mime/application/x-lrzip-compressed-tar.xml")
("/usr/share/mime/application/x-lyx.xml")
("/usr/share/mime/application/x-lz4.xml")
("/usr/share/mime/application/x-lzip.xml")
("/usr/share/mime/application/x-lzma.xml")
("/usr/share/mime/application/x-lzma-compressed-tar.xml")
("/usr/share/mime/application/x-lzop.xml")
("/usr/share/mime/application/x-m4.xml")
("/usr/share/mime/application/x-macbinary.xml")
("/usr/share/mime/application/x-magicpoint.xml")
("/usr/share/mime/application/x-markaby.xml")
("/usr/share/mime/application/x-matroska.xml")
("/usr/share/mime/application/x-mif.xml")
("/usr/share/mime/application/x-mimearchive.xml")
("/usr/share/mime/application/x-mobipocket-ebook.xml")
("/usr/share/mime/application/x-mozilla-bookmarks.xml")
("/usr/share/mime/application/x-ms-dos-executable.xml")
("/usr/share/mime/application/x-ms-shortcut.xml")
("/usr/share/mime/application/x-ms-wim.xml")
("/usr/share/mime/application/x-msi.xml")
("/usr/share/mime/application/x-mswinurl.xml")
("/usr/share/mime/application/x-mswrite.xml")
("/usr/share/mime/application/x-msx-rom.xml")
("/usr/share/mime/application/x-n64-rom.xml")
("/usr/share/mime/application/x-nautilus-link.xml")
("/usr/share/mime/application/x-navi-animation.xml")
("/usr/share/mime/application/x-nes-rom.xml")
("/usr/share/mime/application/x-netcdf.xml")
("/usr/share/mime/application/x-netshow-channel.xml")
("/usr/share/mime/application/x-nintendo-ds-rom.xml")
("/usr/share/mime/application/x-nzb.xml")
("/usr/share/mime/application/x-object.xml")
("/usr/share/mime/application/x-ole-storage.xml")
("/usr/share/mime/application/x-oleo.xml")
("/usr/share/mime/application/x-pagemaker.xml")
("/usr/share/mime/application/x-pak.xml")
("/usr/share/mime/application/x-par2.xml")
("/usr/share/mime/application/x-partial-download.xml")
("/usr/share/mime/application/x-pc-engine-rom.xml")
("/usr/share/mime/application/x-pef-executable.xml")
("/usr/share/mime/application/x-perl.xml")
("/usr/share/mime/application/x-php.xml")
("/usr/share/mime/application/x-pkcs12.xml")
("/usr/share/mime/application/x-pkcs7-certificates.xml")
("/usr/share/mime/application/x-planperfect.xml")
("/usr/share/mime/application/x-plasma.xml")
("/usr/share/mime/application/x-pocket-word.xml")
("/usr/share/mime/application/x-profile.xml")
("/usr/share/mime/application/x-pw.xml")
("/usr/share/mime/application/x-python-bytecode.xml")
("/usr/share/mime/application/x-qpress.xml")
("/usr/share/mime/application/x-qtiplot.xml")
("/usr/share/mime/application/x-quanta.xml")
("/usr/share/mime/application/x-quattropro.xml")
("/usr/share/mime/application/x-quicktime-media-link.xml")
("/usr/share/mime/application/x-qw.xml")
("/usr/share/mime/application/x-rar.xml")
("/usr/share/mime/application/x-raw-disk-image.xml")
("/usr/share/mime/application/x-raw-disk-image-xz-compressed.xml")
("/usr/share/mime/application/x-riff.xml")
("/usr/share/mime/application/x-rpm.xml")
==593== Invalid read of size 8
==593==    at 0x83E93A0: operator==(QString const&, QString const&) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x85C6D03: ??? (in /usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x85BA539: QMimeType::comment() const (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x268ABBBE: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268AD684: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A7C68: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A03EE: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A0687: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x5A7F5A8: ??? (in /usr/lib/libKF5ConfigWidgets.so.5.14.0)
==593==    by 0x8567EB0: QObject::event(QEvent*) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x6604C5A: QWidget::event(QEvent*) (in
/usr/lib/libQt5Widgets.so.5.5.0)
==593==    by 0x65C200B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/libQt5Widgets.so.5.5.0)
==593==  Address 0x1668aef0 is 0 bytes after a block of size 16 alloc'd
==593==    at 0x4C29E6F: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==593==    by 0x83BD000: QListData::detach(int) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x8363CF7: ??? (in /usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x85C6CE6: ??? (in /usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x85BA539: QMimeType::comment() const (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x268ABBBE: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268AD684: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A7C68: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A03EE: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A0687: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x5A7F5A8: ??? (in /usr/lib/libKF5ConfigWidgets.so.5.14.0)
==593==    by 0x8567EB0: QObject::event(QEvent*) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==
==593== Invalid read of size 4
==593==    at 0x83E93A8: operator==(QString const&, QString const&) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x85C6D03: ??? (in /usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x85BA539: QMimeType::comment() const (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x268ABBBE: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268AD684: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A7C68: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A03EE: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x268A0687: ??? (in /usr/lib/qt/plugins/kcm_filetypes.so)
==593==    by 0x5A7F5A8: ??? (in /usr/lib/libKF5ConfigWidgets.so.5.14.0)
==593==    by 0x8567EB0: QObject::event(QEvent*) (in
/usr/lib/libQt5Core.so.5.5.0)
==593==    by 0x6604C5A: QWidget::event(QEvent*) (in
/usr/lib/libQt5Widgets.so.5.5.0)
==593==    by 0x65C200B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/libQt5Widgets.so.5.5.0)
==593==  Address 0x4 is not stack'd, malloc'd or (recently) free'd
==593==
KCrash: Application 'systemsettings5' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 valgrind systemsettings5



On 26 September 2015 at 09:40, Albert Astals Cid <aacid@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=349295
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>                  CC|                            |aacid@kde.org
>
> --- Comment #5 from Albert Astals Cid <aacid@kde.org> ---
> I can not reproduce this crash with the following combinations
>
> systemsettings 5.4.1 + Qt 5.50
> systemsettings 5.3.2 + Qt 5.4.1
>
> Could any of you please install valgrind and then run
>    valgring systemsettings5
> in a terminal, try to reproduce the crash and add here the valgrind output?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 7 Albert Astals Cid 2015-09-27 14:08:30 UTC
Ok, the valgrind trace looks quite clear, a shame none of us devels can reproduce.
Comment 8 PeterH 2015-09-27 16:01:38 UTC
The trace hiccups after ("/usr/share/mime/application/x-rpm.xml"). The next entry on my system is for x-ruby and it doesn't show. The same thing happens in gdb at the same point in enumerating file associations. 
I removed the file at /usr/share/mime/application/x-ruby.xml and I don't get a crash any more.
Also, Dolphin used to crash whenever I moved the mouse pointer over a ruby file. Now it doesn't crash and I can launch gvim by a single click, as I wanted.
This seems to be a fix but I suspect the file will be regenerated. I think there is something wrong with the way it is generated (in update-mime-database?).
Comment 9 Albert Astals Cid 2015-09-27 23:14:27 UTC
Can you confirm that running
  update-mime-database /usr/share/mime
as root recreates that .xml file and the crash is back?
Comment 10 PeterH 2015-09-28 06:46:12 UTC
I have run
'sudo update-mime-database /usr/share/mime/'
and that recreated the file x-ruby.xml in /usr/share/mime/application/.

After that Dolphin crashed on mouse pointer touching a ruby source file (as it did before I had removed x-ruby.xml) and systemsettings5 also crashed when selecting 'Applications/File Associations' (as it did before I had removed x-ruby.xml).

I removed the file x-ruby.xml from /usr/share/mime/application/ and then did not get any crashes from Dolphin or systemsettings5.

I rebooted arch. Twice it failed to bring up the login screen, just staying black. The third attempt to reboot gave me login (maybe some part of systemd initialisation doesn't complete?). The file x-ruby.xml had not been re-created and I did not get any crashes from Dolphin or systemsettings5.
Comment 11 David Faure 2015-09-28 07:14:11 UTC
How many files under /usr/share/mime/packages/ mention x-ruby? This is the source of the generated file /usr/share/mime/application/x-ruby.xml

Any chance for recompiling qt with debug symbols?
Comment 12 David Faure 2015-09-28 07:15:29 UTC
Also check ~/.local/share/mime....
Comment 13 PeterH 2015-09-28 08:52:03 UTC
There is one file, freedesktop.org.xml, in /usr/share/mime/packages/ that mentions ruby, in 4 different places:
Quote
[peter@arch64 packages]$ grep ruby *
freedesktop.org.xml:  <mime-type type="application/x-ruby">
freedesktop.org.xml:      <match value="/bin/env ruby" type="string" offset="2:16"/>
freedesktop.org.xml:      <match value="/bin/ruby" type="string" offset="2:16"/>
freedesktop.org.xml:    <sub-class-of type="application/x-ruby"/>
/Quote

In ~/.local/share/mime/packages there is one file mentioning ruby:
Quote
[peter@arch64 packages]$ grep ruby *
application-x-ruby.xml:    <mime-type type="application/x-ruby">
/Quote

I might be able to recompile qt with debug, but I haven't done that before and would have to find out how to do it.
Comment 14 David Faure 2015-09-28 12:32:21 UTC
Same backtrace as in https://bugs.kde.org/show_bug.cgi?id=343581 interestingly.
Comment 15 Christoph Feck 2015-11-16 01:25:22 UTC
*** Bug 355012 has been marked as a duplicate of this bug. ***
Comment 16 Christoph Feck 2017-01-04 14:48:06 UTC
*** Bug 356265 has been marked as a duplicate of this bug. ***
Comment 17 Justin Zobel 2020-11-26 22:38:54 UTC
Thanks for the reports and troubleshooting work you've done.

As this report is quite old, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 18 Bug Janitor Service 2020-12-11 04:33:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 19 alan.henry.williams 2020-12-18 12:45:05 UTC
Not sure why this has surfaced now, AFAIK it was fixed in 5.3.1 or 5.3.2.

I can confirm I cannot reproduce it in either Ubuntu 20.04/ Plasma 5.18.5
or Fedora 33/ Plasma 5.20.4.