After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309834 - Totem crashes when trying to Play Disc 'cdrecorder'
Totem crashes when trying to Play Disc 'cdrecorder'
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal critical
: 0.8.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-08 18:42 UTC by Madhan Raj M
Modified: 2005-08-08 16:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Madhan Raj M 2005-07-08 18:42:41 UTC
Version details: CVS HEAD

1. Insert the CD in the CD-recorder.
2. Start Totem. Select Movie->Play Disc 'cdrecorder'
3. Crash
I can reproduce this all the time.

  • #0 cdparanoia_change_state
    at gstcdparanoia.c line 791
  • #1 gst_element_set_state_func
    at gstelement.c line 2872
  • #2 gst_element_set_state
    at gstelement.c line 2815
  • #3 bacon_video_widget_get_mrls
    at bacon-video-widget-gst.c line 2875
  • #4 totem_action_load_media
    at totem.c line 380
  • #5 totem_action_play_media
    at totem.c line 400
  • #6 on_play_disc_activate
    at totem-menu.c line 559
  • #7 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #8 IA__g_closure_invoke
    at gclosure.c line 437
  • #9 signal_emit_unlocked_R
    at gsignal.c line 2488
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2247
  • #11 IA__g_signal_emit
    at gsignal.c line 2291
  • #12 IA__gtk_widget_activate
    at gtkwidget.c line 3765
  • #13 IA__gtk_menu_shell_activate_item
    at gtkmenushell.c line 1057
  • #14 gtk_menu_shell_button_release
    at gtkmenushell.c line 663
  • #15 gtk_menu_button_release
    at gtkmenu.c line 2571
  • #16 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 IA__g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2526
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2257
  • #21 IA__g_signal_emit
    at gsignal.c line 2291
  • #22 gtk_widget_event_internal
    at gtkwidget.c line 3734
  • #23 IA__gtk_propagate_event
    at gtkmain.c line 2157
  • #24 IA__gtk_main_do_event
    at gtkmain.c line 1395
  • #25 gdk_event_dispatch
    at gdkevents-x11.c line 2262
  • #26 IA__g_main_context_dispatch
    at gmain.c line 1933
  • #27 g_main_context_iterate
    at gmain.c line 2564
  • #28 IA__g_main_loop_run
    at gmain.c line 2768
  • #29 IA__gtk_main
    at gtkmain.c line 974
  • #30 main
    at totem.c line 3506

Comment 1 Madhan Raj M 2005-07-08 18:45:30 UTC
(gdb) r
Starting program: /opt/gnome2/bin/totem
[Thread debugging using libthread_db enabled]
[New Thread -164067648 (LWP 5806)]
[New Thread -166413392 (LWP 5809)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -164067648 (LWP 5806)]
0xf5f88ec1 in cdparanoia_change_state (element=0x87e3380) at gstcdparanoia.c:791
791         GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,

and the Full stack trace is given above
Comment 2 Madhan Raj M 2005-07-08 18:50:18 UTC
I used an Audio CD.
Does Totem play audio CD or an error mesg should be displayed instead of crashing..
Comment 3 Madhan Raj M 2005-07-14 15:33:03 UTC


  • #0 cdparanoia_change_state
    at gstcdparanoia.c line 791

i dont have any file /dev/cdrom.
But i have a file /dev/hdc that corresponds to the cdrecorder. So, i created a
soft link
ln -s /dev/hdc /dev/cdrom
and it works fine.
But, it should automatically detect /dev/hdc rather than /dev/cdrom 
Comment 4 Bastien Nocera 2005-07-14 15:38:48 UTC
That's not current anymore. Could you please remove the /dev/cdrom symlink and
test the current CVS HEAD?
Comment 5 Bastien Nocera 2005-07-15 08:39:39 UTC
Looks like it could be a non-GStreamer specific problem.
Comment 6 Ronald Bultje 2005-07-15 09:26:05 UTC
Fixed. It's a crash in gstreamer's cdparanoia element.
Comment 7 Madhan Raj M 2005-07-15 17:35:15 UTC
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 cdparanoia_change_state
    at gstcdparanoia.c line 791
  • #1 gst_element_set_state_func
    at gstelement.c line 2872
  • #2 gst_element_set_state
    at gstelement.c line 2815
  • #3 bacon_video_widget_get_mrls
    at bacon-video-widget-gst.c line 2875
  • #4 totem_action_load_media
    at totem.c line 380
  • #5 totem_action_play_media
    at totem.c line 400
  • #6 on_play_disc_activate
    at totem-menu.c line 559

So, i'm not sure if this is a totem related bug or gstreamer bug.

Thanks
Madhan Raj M
Comment 8 Ronald Bultje 2005-07-15 19:06:03 UTC
GStreamer. I'll check.
Comment 9 Madhan Raj M 2005-08-08 16:47:54 UTC
Its working fine now.

Thanks Ronald.