[gstreamer-bugs] [Bug 309834] Totem crashes when trying to Play Disc 'cdrecorder'
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Fri Jul 15 10:35:15 PDT 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=309834
GStreamer | gst-plugins | Ver: HEAD CVS
------- Additional Comments From Madhan Raj M 2005-07-15 17:35 -------
This crash was due to gstreamer's cdparanoia and its fixed now.
Now when i try to play the disc, its showing a error
ERROR (0x9ac40a8 - 311513:09:17.838811000) cdparanoia(14983)
gstcdparanoia.c(792):cdparanoia_open:<cdparanoia0> Could not open CD device for
reading.
ERROR (0x9ac40a8 - 311513:09:17.839848000) cdparanoia(14983)
gstcdparanoia.c(792):cdparanoia_open:<cdparanoia0> cdda_identify failed
And a Error Mesg dialog
***************************************************************************
Totem could not play this media (Audio CD) although a plugin is present to
handle it.
You might want to check that a disc is present in the drive and that it is
correctly configured.
***************************************************************************
But when i create a symlink, (ln -s /dev/hdc /dev/cdrom)
it works fine,..
When i was trying to check what was happening, i was able to figure out that the
1. crash was due to the gstreamer's cdparanoia element.
2. Totem identifies the cdrecorder correctly as /dev/hdc.
--------------------------------------------------------------------------------
#0 0xf5f88ec1 in cdparanoia_change_state (element=0x90059b0) at gstcdparanoia.c:791
__msg = (gchar *) 0x8ff1068 "/dev/cdrom"
__dbg = (gchar *) 0x90059b0 "\230Q"
cdparanoia = (CDParanoia *) 0x90059b0
__PRETTY_FUNCTION__ = "cdparanoia_change_state"
#1 0xf6d299c8 in gst_element_set_state_func (element=0x90059b0,
state=GST_STATE_PAUSED) at gstelement.c:2872
oclass = (GstElementClass *) 0x9005198
curpending = GST_STATE_READY
return_val = GST_STATE_SUCCESS
__PRETTY_FUNCTION__ = "gst_element_set_state_func"
#2 0xf6d2916d in gst_element_set_state (element=0x90059b0,
state=GST_STATE_PAUSED) at gstelement.c:2815
klass = (GstElementClass *) 0x9005198
ret = 151015832
__PRETTY_FUNCTION__ = "gst_element_set_state"
#3 0x0806f947 in bacon_video_widget_get_mrls (bvw=0x90059b0,
type=MEDIA_TYPE_CDDA) at bacon-video-widget-gst.c:2875
cdda = (GstElement *) 0x90059b0
tracks = 636772332492159320
fmt = 6
mrls = (gchar **) 0x9001261
__PRETTY_FUNCTION__ = "bacon_video_widget_get_mrls"
#4 0x0805caf0 in totem_action_load_media (totem=0x8e0e2b0,
type=MEDIA_TYPE_CDDA) at totem.c:380
mrls = (char **) 0x2
msg = 0x2 <Address 0x2 out of bounds>
#5 0x0805f6ca in totem_action_play_media (totem=0x8e0e2b0, type=0) at totem.c:400
mrl = 0x2 <Address 0x2 out of bounds>
#6 0x08069dc9 in on_play_disc_activate (menu_item=0x90010b8, totem=0x8e0e2b0)
at totem-menu.c:559
type = MEDIA_TYPE_CDDA
error = (GError *) 0x0
device_path = 0x9001258 "/dev/hdc"
__PRETTY_FUNCTION__ = "on_play_disc_activate"
--------------------------------------------------------------------------------
3. But when it calls the gstreamer functions, the device has a value /dev/cdrom
in it instead of /dev/hdc. I'm not sure whether /dev/hdc given to the gstreamer
functions. But the gstreamer functions initialise the device with /dev/cdrom
So, i'm not sure if this is a totem related bug or gstreamer bug.
Thanks
Madhan Raj M
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list