Summary: | Crash when open kdevelop [ASSERT: "d->m_mimeType.isValid()" in file kio/src/core/kfileitem.cpp, line 742] | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | contact |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | grave | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
contact
2016-01-11 14:34:20 UTC
Could you debug what file/mimetype this is? Can you also try to run something like kmimetypefinder5 path/to/somefile.txt and see if that works? I have the feeling that something in your environment is messed up. Apparently, the problem comes with a odp file. Breakpoint 1, KFilePreviewGenerator::Private::resolveMimeType (this=0x297b660) at /home/mzimmer/kdesrc/kio/src/filewidgets/kfilepreviewgenerator.cpp:875 875 item.determineMimeType(); (gdb) printqs5dynamic item.d.d->m_strName (Qt5 QString)0x31e9ed8 length=12: "reunion3.odp" (gdb) c Continuing. ASSERT: "d->m_mimeType.isValid()" in file /home/mzimmer/kdesrc/kio/src/core/kfileitem.cpp, line 742 kmimetypefinder5 gives nothing for this file : ┌─[mzimmer@nyx][00:16][~] └> # kmimetypefinder5 reunion3.odp ┌─[mzimmer@nyx][00:17][~] └> # echo $? 0 If I remove this file, the problem occurs with an other. I followed https://community.kde.org/Frameworks/Building to build everything. I've got a separate user settings for KF5: export XDG_DATA_HOME=$HOME/.local5/share export XDG_CONFIG_HOME=$HOME/.config5 export XDG_CACHE_HOME=$HOME/.cache5 I am running gnome3 on archlinux. cpu : model name : Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz Linux nyx 4.1.15-1-lts #1 SMP Tue Dec 15 20:54:13 CET 2015 x86_64 GNU/Linux NVIDIA Corporation GF119 with nvidia module. Indeed it was a problem with my settings. I forgot to add /usr/share to $XDG_DATA_DIRS and /etc/xdg $XDG_CONFIG_DIRS. Thanks a lot. |