Summary: | Knotify crash | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Dave Plater <dplater> |
Component: | knotify | Assignee: | Jacopo De Simoi <wilderkde> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dplater, hendrikw, mkyral, thomasbelvin |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.5.85 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
Dave Plater
2010-11-26 19:54:24 UTC
Created attachment 53786 [details]
New crash information added by DrKonqi
knotify4 (4.0) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1
- What I was doing when the application crashed:
Once again it is triggered by the device notifier or related app. After reporting this bug for the first time, I restarted device notifier and it stated it could not find /dev/sr0. This time I ejected a dvd I had just written with k3b and it loaded itself again. After this behaviour repeated a few times I tried command line eject as root only to have the dvd reload again, so I opened device notifier settings and disabled auto mounting, closed settings and the crash occurred.
The device notifier started displaying two dvds after the first eject and unwanted reload. I have replaced the dvd with an audio cd while the drawer was open before it reloaded itself and after the first reload device notifier displayed the dvd title with the lower display indicating an audio cd next to the title and the upper one still indicating a video dvd. After ejecting and allowing the unwanted reload, the upper display is "CD-R" with the audio cd icon and the lower is "Audio CD" with the audio cd icon.
-- Backtrace (Reduced):
#6 Solid::StorageAccess::isAccessible (this=0x0) at /usr/src/debug/kdelibs-4.5.80/solid/solid/storageaccess.cpp:68
#7 0x0000000000419530 in KSolidNotify::isSafelyRemovable (this=<value optimized out>, udi=...) at /usr/src/debug/kdebase-runtime-4.5.80/knotify/ksolidnotify.cpp:106
#8 0x000000000041a188 in KSolidNotify::storageEjectDone (this=0x752440, error=Solid::NoError, errorData=..., udi=...) at /usr/src/debug/kdebase-runtime-4.5.80/knotify/ksolidnotify.cpp:192
#9 0x000000000041a9ad in KSolidNotify::qt_metacall (this=0x752440, _c=<value optimized out>, _id=<value optimized out>, _a=0x7ffffb837e90)
at /usr/src/debug/kdebase-runtime-4.5.80/build/knotify/ksolidnotify.moc:84
[...]
#11 0x00007f4ec23c62ab in Solid::OpticalDrive::ejectDone (this=<value optimized out>, _t1=Solid::NoError, _t2=<value optimized out>, _t3=<value optimized out>)
at /usr/src/debug/kdelibs-4.5.80/build/solid/solid/opticaldrive.moc:173
More relevant info I overlooked : K3b's device information reported the dvd at the time when the device notifier reported the audio cd as the previously loaded dvd. From the backtrace it's very likely a missing check in the caller. So not libsolid's fault. Created attachment 53787 [details]
New crash information added by DrKonqi
knotify4 (4.0) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.1
- What I was doing when the application crashed:
I'm trying to make 5 copies of the above mentioned audio cd, after reading the original normally k3b ejects and then asks for a blank cd. This time it ejected and reloaded the master and I had to use the eject button on the notification widget to enable me to load the first blank (this time the drawer stayed out for me to load the blank and device notifier indicates only one cd), this is when this crash happened.
After writing the first cd k3b is now behaving as expected but I'm getting a crash after each copied cd is ejected.
Is there a way to temporarily disable something or do I need to live with it?
I'm not going to send aymore bt's they appear identical and this bug is easy for me to reproduce.
Possibly relevant is :
I have a modern mother board with only one pata ide port and this runs my hard drive and dvd drive. This slows the system when the dvd is in use. Bear this in mind if you have difficulty in reproducing.
Please ask if you need further info.
-- Backtrace (Reduced):
#6 Solid::StorageAccess::isAccessible (this=0x0) at /usr/src/debug/kdelibs-4.5.80/solid/solid/storageaccess.cpp:68
#7 0x0000000000419530 in KSolidNotify::isSafelyRemovable (this=<value optimized out>, udi=...) at /usr/src/debug/kdebase-runtime-4.5.80/knotify/ksolidnotify.cpp:106
#8 0x000000000041a188 in KSolidNotify::storageEjectDone (this=0x765710, error=Solid::NoError, errorData=..., udi=...) at /usr/src/debug/kdebase-runtime-4.5.80/knotify/ksolidnotify.cpp:192
#9 0x000000000041a9ad in KSolidNotify::qt_metacall (this=0x765710, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff1908a1e0)
at /usr/src/debug/kdebase-runtime-4.5.80/build/knotify/ksolidnotify.moc:84
[...]
#11 0x00007f0d307022ab in Solid::OpticalDrive::ejectDone (this=<value optimized out>, _t1=Solid::NoError, _t2=<value optimized out>, _t3=<value optimized out>)
at /usr/src/debug/kdelibs-4.5.80/build/solid/solid/opticaldrive.moc:173
Exact sequence of events after completing copy #4 1. k3b ejects 2. k3b's "Waiting for Disc - K3b" notification widget appears. 3. After a few seconds the notification sound is heard and crash notifier appears. Previous comment please replace "copy #4" with "copy #3" ATM device notifier is displaying two cds as reported earlier. copy #4 failed to eject using k3b's notifier eject button and cd ejects then reloads with no crash. Device notifier now displays on cd device. Ejecting with k3b again. Cd ejects and reloads, device notifier (in future dn = device notifier) shows 2 cds. Will eject and load new blank before drawer closes. Copy #4 completes and Comment #5 sequence ending in Crash handler repeats. At least the drawer stays out. Loading cd for last copy #5. This last disk went smoothly, ejected and the drawer stayed out. *** Bug 258104 has been marked as a duplicate of this bug. *** Believe it or not, I found this bug on my own today, I confirm and will fix soon! SVN commit 1201500 by jacopods: Do not crash when ejecting an optical device BUG: 258010 M +7 -1 ksolidnotify.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1201500 *** Bug 258843 has been marked as a duplicate of this bug. *** *** Bug 259078 has been marked as a duplicate of this bug. *** It looks like the crash might be fixed in 4.5.85, I now get the message box saying it can't find /dev/sr0 and no crash but I still have a problem with the cd tray ejecting and then loading again, also the display of the last ejected disc along with the one I just inserted by holding the drawer open and changing discs. |