[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#694670: kscd does not play any CD



clone 694670 -1
retitle -1 crash with no optical drive
forwarded 694670 https://bugs.kde.org/show_bug.cgi?id=293766
thanks

Hi,

Alle venerdì 30 novembre 2012, Michael Stapelberg ha scritto:
> I think we are in fact dealing with two separate issues here:

That's what I was saying, yes :-P

> 1. The segfault I reported happens when there is no optical drive
>    recognized on the system. My ThinkPad X200 does not have an
> optical drive, but there is one in the docking station.
> Unfortunately, it only works correctly when the notebook is booted
> with the docking station attached.
> 
>    That is, when submitting the backtrace, I had not booted the
> notebook in the docking station, so that the optical drive was not
> detected. Simplifying this, I suppose the same crash will happen
> when you disconnect the OD in your computer on purpose, or rmmod the
> driver.
> 
>    This issue can be put into a separate bugreport. Should I file a
>    separate issue or do you want to open it?

I will just clone this bug, so backlog etc is preserved.
Let's continue that issue on the new bug.

> 2. After rebooting my notebook in the docking station and inserting
> an audio CD into the optical drive, kscd does not crash anymore when
> I press the play button.
> 
>    However, neither does it actually play the CD. In the terminal in
>    which I started it, I get:
> 
> QDBusConnection: session D-Bus connection created before
> QCoreApplication. Application may misbehave. Setting new source
> New source:  QUrl( "" )
> Transitioning to state "playing"
> State change
> Moving from "null" 0 to "ready" 1
> 1
> Transitioning to state "null"
> 
>    And that’s it. The application itself shows the title of the first
>    track scrolling by but remains at 00:00 and does not play
> anything, even after many minutes. I attached a screenshot.
> 
>    Using mplayer cdda://0 -cdrom-device /dev/sr0 works fine.
> 
>    I noticed that /dev/cdrom was not present on my system, so I used
>    ln -s /dev/sr0 /dev/cdrom and that made kscd work. Its output in
> the terminal is now:
> 
> QDBusConnection: session D-Bus connection created before
> QCoreApplication. Application may misbehave. Setting new source
> New source:  QUrl( "" )
> Transitioning to state "playing"
> State change
> Moving from "null" 0 to "ready" 1
> Duration message
> Duration message
> State change
> Stream changed to cdda://
> Moving from "ready" 1 to "paused" 4
> State change
> Moving from "paused" 4 to "playing" 2
> Transitioning to state "paused"
> State change
> Moving from "playing" 2 to "paused" 4

Interesting; possibly it won't change much, but what if (without the 
symlink you just created) you install phonon-backend-vlc, make it the 
default in `kcmshell4 phonon` and try again?

Also, you might want to enable the two debug areas for kscd in 
`kdebugdialog`, and rerun kscd.

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: