Summary: | dolphin crashes on opening .ods | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Thomas Bettler <thomas.bettler> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | frank78ac, thomas.bettler |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.11.1 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | New crash information added by DrKonqi |
Description
Thomas Bettler
2013-09-26 21:36:48 UTC
Thanks for the bug report! Looks like it crashes in the KRun class from the KIO library. I'll post the code before the assert below. static QStringList supportedProtocols(const KService& _service) { // Check which protocols the application supports. // This can be a list of actual protocol names, or just KIO for KDE apps. QStringList supportedProtocols = _service.property("X-KDE-Protocols").toStringList(); KRunMX1 mx1(_service); QString exec = _service.exec(); if (mx1.expandMacrosShellQuote(exec) && !mx1.hasUrls) { Q_ASSERT(supportedProtocols.isEmpty()); // huh? If you support protocols you need %u or %U... } See https://bugs.gentoo.org/show_bug.cgi?id=482036 *** This bug has been marked as a duplicate of bug 321787 *** Created attachment 83526 [details]
New crash information added by DrKonqi
dolphin (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.5
- What I was doing when the application crashed:
open any .ods file in dolphin makes dolphin crash
-- Backtrace (Reduced):
#11 0x00007fbd6877c7a3 in supportedProtocols (_service=...) at /var/tmp/portage/kde-base/kdelibs-4.11.3/work/kdelibs-4.11.3/kio/kio/krun.cpp:377
#12 0x00007fbd687817f7 in resolveURLs (_service=..., _urls=...) at /var/tmp/portage/kde-base/kdelibs-4.11.3/work/kdelibs-4.11.3/kio/kio/krun.cpp:742
#13 KRun::run (_service=..., _urls=..., window=window@entry=0x0, tempFiles=tempFiles@entry=false, suggestedFileName=..., asn=...) at /var/tmp/portage/kde-base/kdelibs-4.11.3/work/kdelibs-4.11.3/kio/kio/krun.cpp:1007
#14 0x00007fbd68785db2 in KRun::runUrl (u=..., _mimetype=..., window=0x0, tempFile=tempFile@entry=false, runExecutables=<optimized out>, suggestedFileName=..., asn=...) at /var/tmp/portage/kde-base/kdelibs-4.11.3/work/kdelibs-4.11.3/kio/kio/krun.cpp:190
#15 0x00007fbd687864d7 in KRun::foundMimeType (this=0x12fe500, type=...) at /var/tmp/portage/kde-base/kdelibs-4.11.3/work/kdelibs-4.11.3/kio/kio/krun.cpp:1509
Solution for gentoo: compile kdelibs w/o debug use flag https://bugs.gentoo.org/show_bug.cgi?id=482036 |