Summary: | Dolphin crashed after right-clicking an AMR audio file and selecting "Properties" | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Mark Haferkamp <markhkamp> |
Component: | kdecore | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | arjunak234, basu123ra, cfeck, editheraven, egorov, frank78ac, fuckel, gac1618, korusiewicz, markhkamp, moicemoi, null |
Priority: | NOR | Keywords: | drkonqi |
Version: | 4.14.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=341826 https://bugs.kde.org/show_bug.cgi?id=341680 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
example .amr file that crashes Dolphin on right-click -> Properties
minimal test case for right-click -> Properties on some files crashing Dolphin New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Mark Haferkamp
2015-02-07 03:07:13 UTC
Created attachment 90959 [details]
example .amr file that crashes Dolphin on right-click -> Properties
This is the welcome message made by the Sprint Voicemail Android app when I first ran it. Right-clicking it and selecting Properties causes the crash, so I believe it's a representative test case.
*** This bug has been marked as a duplicate of bug 341826 *** Created attachment 90971 [details]
minimal test case for right-click -> Properties on some files crashing Dolphin
I trimmed down the example crashing .amr file to a 6-byte file that causes the same crash. Hopefully the smaller file makes analysis easier for any developer interested in fixing this issue.
Opening the file in Okteta, the hex values of the bytes are "23 21 41 4D 52 0A", corresponding to "#!AMR\n" in ASCII and UTF-8 alike. Changing any byte in the file results in Dolphin not crashing (at least if the byte's one more or one less than the original). So I think this may have something to do with Dolphin doing the wrong thing in response to the 6-byte "magic number" headers in AMR files.
Because the crash is now narrowed down to something that is in UTF-8, this bug cannot be a duplicate of crashing from opening Properties in a non-UTF-8 file, so I'm reopening it.
Thanks for the test case. I can confirm the crash. In debug mode, it crashes in an assert statement for me: ASSERT: "d" in file /home/kde-devel/kde/src/kde/kdelibs/kdecore/util/ksharedptr.h, line 126 I'll reassign to kdelibs. I've also tried to reproduce the crash in the KF5-based version of Dolphin, but it shows the Properties dialog fine here, so it seems that the bug is only in kdelibs 4.x and has been fixed in KF5. (In reply to Mark Haferkamp from comment #3) > Because the crash is now narrowed down to something that is in UTF-8, this > bug cannot be a duplicate of crashing from opening Properties in a non-UTF-8 > file I'm not sure. It's not uncommon that there are many different ways to reproduce crashes which share the same root cause. Considering that the backtraces are the same, it seems quite likely that this is also the case here, but to be sure, someone would have to investigate this in more detail. One thing i noticed is that in the frameworks version, the file's mimetype is correctly detected and it gets the 'audio-*' icon whereas in the other one, it doesn't and gets the 'application-octet-stream' icon.
> dolphin(10799) KMimeType::findByUrlHelper: Glob file refers to "audio/AMR" but this mimetype does not exist!
#0 0x00007ffff365c5f1 in KSycocaEntry::name() const (this=0x0) at /usr/src/debug/kdelibs-4.14.3/kdecore/sycoca/ksycocaentry.cpp:159
#1 0x00007ffff5beef9f in KDEPrivate::KFilePropsPlugin::KFilePropsPlugin(KPropertiesDialog*) (this=this@entry=0x104f370, _props=<optimized out>)
at /usr/src/debug/kdelibs-4.14.3/kio/kfile/kpropertiesdialog.cpp:735
#2 0x00007ffff5bf7f1f in KPropertiesDialog::KPropertiesDialogPrivate::insertPages() (this=this@entry=0x10c7240) at /usr/src/debug/kdelibs-4.14.3/kio/kfile/kpropertiesdialog.cpp:491
#3 0x00007ffff5bf855d in KPropertiesDialog::KPropertiesDialogPrivate::init() (this=0x10c7240) at /usr/src/debug/kdelibs-4.14.3/kio/kfile/kpropertiesdialog.cpp:347
#4 0x00007ffff5bf8b67 in KPropertiesDialog::KPropertiesDialog(KFileItemList const&, QWidget*) (this=0xf95cd0, _items=..., parent=<optimized out>)
at /usr/src/debug/kdelibs-4.14.3/kio/kfile/kpropertiesdialog.cpp:246
#5 0x00007ffff78a2075 in DolphinViewActionHandler::slotProperties() (this=this@entry=0x7a1830) at /home/arjun/src/kde-baseapps/dolphin/src/views/dolphinviewactionhandler.cpp:591
*** Bug 344362 has been marked as a duplicate of this bug. *** (In reply to Mark Haferkamp from comment #3) > Created attachment 90971 [details] > minimal test case for right-click -> Properties on some files crashing > Dolphin Strange, it doesn't crash on my machine. dolphin 4:4.14.2-1 kdelibs 4:4.14.2-5 Qt 4.8.6 Operating System: Linux 3.16.0-4-amd64 x86_64 Distribution: Debian Jessie (8.0) Created attachment 92105 [details] New crash information added by DrKonqi dolphin (14.12.3) on KDE Platform 4.14.6 using Qt 4.8.6 The same behavior whith certificate files (*.cer, e.g. this one https://www.masterkey.ua/ca/certs/masterkey.cmp2.2014.cer) from Dolphin or Krusader, right-click properties or Alt+Enter keystroke anyway. -- Backtrace (Reduced): #7 KSycocaEntry::name (this=0x0) at /usr/src/debug/kdelibs-4.14.6/kdecore/sycoca/ksycocaentry.cpp:159 #8 0x00007f34c727755f in KDEPrivate::KFilePropsPlugin::KFilePropsPlugin (this=this@entry=0x1489720, _props=<optimized out>) at /usr/src/debug/kdelibs-4.14.6/kio/kfile/kpropertiesdialog.cpp:735 #9 0x00007f34c72804df in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=this@entry=0x1076220) at /usr/src/debug/kdelibs-4.14.6/kio/kfile/kpropertiesdialog.cpp:491 #10 0x00007f34c7280b1d in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x1076220) at /usr/src/debug/kdelibs-4.14.6/kio/kfile/kpropertiesdialog.cpp:347 #11 0x00007f34c7281127 in KPropertiesDialog::KPropertiesDialog (this=0x13cbd10, _items=..., parent=<optimized out>) at /usr/src/debug/kdelibs-4.14.6/kio/kfile/kpropertiesdialog.cpp:246 *** Bug 351323 has been marked as a duplicate of this bug. *** *** Bug 351129 has been marked as a duplicate of this bug. *** This is affecting me, too, on Kubuntu 15.04 with KDE Plasma 5.3.2 & Dolphin 15.04.0, KDE Development Platform 4.14.8. Running from Konsole gives the following: dolphin(2738) KMimeType::findByUrlHelper: Glob file refers to "audio/AMR" but this mimetype does not exist! dolphin(2738) KMimeType::findByUrlHelper: Glob file refers to "audio/AMR" but this mimetype does not exist! KCrash: Application 'dolphin' crashing... KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit KCrash: Connect sock_file=/home/travlr/.kde/socket-legacy/kdeinit4__0 [1]+ Stopped dolphin QSocketNotifier: Invalid socket 12 and type 'Read', disabling... Unable to start Dr. Konqi Not forwarding the crash to Apport. Created attachment 94450 [details]
New crash information added by DrKonqi
dolphin (15.04.0) on KDE Platform 4.14.8 using Qt 4.8.6
Trying to access properties of *.amr file, crashes Dolphin. Crash occurs both by right-click->Properties and alt+return.
-- Backtrace (Reduced):
#7 KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8 0x00007f3b477af8ff in KDEPrivate::KFilePropsPlugin::KFilePropsPlugin (this=0x1711220, _props=0x0) at ../../kio/kfile/kpropertiesdialog.cpp:744
#9 0x00007f3b477b888f in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=this@entry=0x1693800) at ../../kio/kfile/kpropertiesdialog.cpp:500
#10 0x00007f3b477b8ecd in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x1693800) at ../../kio/kfile/kpropertiesdialog.cpp:356
#11 0x00007f3b477b94d7 in KPropertiesDialog::KPropertiesDialog (this=0x16184d0, _items=..., parent=<optimized out>) at ../../kio/kfile/kpropertiesdialog.cpp:255
*** Bug 366215 has been marked as a duplicate of this bug. *** Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. 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! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now 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 Thank you for helping us make KDE software even better for everyone! |