Bug 283321
Summary: | kaudiocreator is locked out of accessing cd drive | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Joe Christy <joe.christy> |
Component: | kdemultimedia | Assignee: | Than Ngo <than> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7 | CC: | matt, rdieter, sdgs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-25 19:14:45 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joe Christy
2007-09-07 23:43:58 UTC
After submitting this report, I was interrupted just after inserting a CD, before I had a chance to kill the kio_audiocd with FD 13 open on /dev/scd0. When I returned, much my surprise, both kio_audiocd's that started upon CD insertion were dead, I was presented with the kded panel asking what I wanted to do, and selecting Extract and Encode Audio Tracks" worked as it should. I the performed the following experiment. I would simultaneously insert a CD and start a loop: [root@pequod ~]# while true; do date +"%H:%M:%S"; lsof | egrep "DEVICE|11,0"; sleep 5; done | tee /tmp/lsof-dev-scd0-p0 to watch when the processes accessing my cdrom-drive were born and died. I did this twice on my desktop (a whitebox I built myself w/ Intel 865PERL mobo and Pioneer DVD-RW DVR-108) and twice on my laptop (Thinkpad T42P w/ MATSHITA DVD-RAM UJ-812). There was some consistency to the results. On both machines, after 15-20 seconds the cdrom-drive would spin up and the two kio_audiocd processes would start, then, after about 3:30 on the desktp and 5:30 on the laptop the process with FD 14 open would die, and finally, 9 minutes and 30 seconds after the start of the experiment on either machine, the process with FD 13 open would die, the kded "What do you want to do window" would pop up, and selecting Extract and Encode Audio Tracks" worked properly. In conclusion I would refine this bug say that inserting a CD triggers a kio_audiocd to open FD 13 on the cdrom-drive, which, for nearly 10 minutes, blocks kded from querying the user about what to do and kaudiocreator from gaining the exclusive read access to the cdrom-drive it needs. I should also point out that there is no such problem inserting DVDs into the drives; the kded "What do you want to do" panel appears as soon as the drive spins up. *** Bug 188590 has been marked as a duplicate of this bug. *** Although I did not go as deep in detail as Joe, I can second the behaviour globally (bug 188590). The effect occurs on both my portable (f7, i386) as on my workstation (f7, x86_64). Has anyone reported this upstream to bugs.kde.org yet? Hint, hint... :) This is now KDE bz 150151 http://bugs.kde.org/show_bug.cgi?id=150151 However, the fact that the problem only occurred after I switched from FC6 to F7, which were using the same kdemultimedia versions at the time, and am using the same hardware, makes me wonder if this really is an upstream bug. My fingers are crossed; YMMV. Closing->upstream. Will continue to watch http://bugs.kde.org/135669 |