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 304797 - totem gets SIGBUS when passed a CD device on the command line
totem gets SIGBUS when passed a CD device on the command line
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: GStreamer backend
1.0.x
Other Linux
: Urgent critical
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
: 308259 308723 308943 310784 315377 315738 318536 322879 324306 325954 341326 378814 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-05-19 19:46 UTC by Bill Nottingham
Modified: 2006-11-25 12:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
totem-block-devices-parse.patch (5.64 KB, patch)
2005-05-20 23:42 UTC, Bastien Nocera
committed Details | Review

Description Bill Nottingham 2005-05-19 19:46:41 UTC
Version details: 1.0.2
Distribution/Version: Fedora Core 4 (devel)

Not recalling if there was a way to pass a CD totem on the commandline, I just ran:

totem /dev/cdrom

It SIGBUSed.

Program received signal SIGBUS, Bus error.

Thread NaN (LWP 11630)

  • #0 memcpy
    from /lib/libc.so.6
  • #1 g_memdup
    from /usr/lib/libglib-2.0.so.0
  • #2 gst_buffer_default_copy
    at gstbuffer.c line 163
  • #3 gst_data_copy
    at gstdata.c line 108
  • #4 g_value_get_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #7 gst_buffer_store_add_buffer
    at gstbufferstore.c line 304
  • #8 gst_type_find_element_chain
    at gsttypefindelement.c line 644
  • #9 gst_pad_call_chain_function
    at gstpad.c line 4539
  • #10 gst_pad_push
    at gstpad.c line 3335
  • #11 get_group_schedule_function
    at gstoptimalscheduler.c line 1416
  • #12 gst_opt_scheduler_schedule_run_queue
    at gstoptimalscheduler.c line 1222
  • #13 gst_opt_scheduler_iterate
    at gstoptimalscheduler.c line 1331
  • #14 gst_scheduler_iterate
    at gstscheduler.c line 744
  • #15 gst_bin_iterate_func
    at gstbin.c line 1281
  • #16 gst_marshal_BOOLEAN__VOID
    at gstmarshal.c line 509
  • #17 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gst_bin_iterate
    at gstbin.c line 1341
  • #23 gst_thread_main_loop
    at gstthread.c line 675
  • #24 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #25 start_thread
    from /lib/libpthread.so.0
  • #26 clone
    from /lib/libc.so.6

Comment 1 Bastien Nocera 2005-05-20 23:42:54 UTC
Created attachment 46698 [details] [review]
totem-block-devices-parse.patch

Check the type of data on the disc when we're passed a block device. This
doesn't fix it for audio CDs though.
Comment 2 Teppo Turtiainen 2005-06-26 13:27:59 UTC
*** Bug 308723 has been marked as a duplicate of this bug. ***
Comment 3 Teppo Turtiainen 2005-06-26 13:29:02 UTC
*** Bug 308259 has been marked as a duplicate of this bug. ***
Comment 4 Teppo Turtiainen 2005-06-26 13:31:22 UTC
*** Bug 308943 has been marked as a duplicate of this bug. ***
Comment 5 Teppo Turtiainen 2005-06-26 13:36:34 UTC
A crasher with a patch and duplicates. Upping Priority and Severity accordingly.
Comment 6 Bastien Nocera 2005-07-12 10:27:29 UTC
The original bug was fixed by this commit.

2005-07-11  Bastien Nocera  <hadess@hadess.net>

        * src/plparse/totem-disc.c: (totem_cd_detect_type_with_url),
        (totem_cd_detect_type):
        * src/plparse/totem-pl-parser.c:
        * src/totem-menu.c: (on_play_disc_activate):
        * src/totem-uri.c: (totem_is_media), (totem_is_block_device):
        * src/totem-uri.h:
        * src/totem.c: (totem_action_load_media_device),
        (totem_action_play_media_device), (totem_action_play_media),
        (totem_action_open_files_list), (totem_action_open_dialog),
        (on_open1_activate), (main):
        * src/totem.h:

        Only support opening discs through either their mountpoint (data
        discs, VCD, DVD), or block device path (all discs)
        cd:, vcd: and dvd: are gone
Comment 7 Teppo Turtiainen 2005-07-18 18:56:05 UTC
*** Bug 310784 has been marked as a duplicate of this bug. ***
Comment 8 Brent Smith (smitten) 2005-09-12 23:51:17 UTC
*** Bug 315738 has been marked as a duplicate of this bug. ***
Comment 9 Sebastien Bacher 2005-10-11 14:26:44 UTC
*** Bug 318536 has been marked as a duplicate of this bug. ***
Comment 10 Christian Kirbach 2005-12-18 17:44:44 UTC
*** Bug 324306 has been marked as a duplicate of this bug. ***
Comment 11 Christian Kirbach 2005-12-18 17:45:47 UTC
*** Bug 322879 has been marked as a duplicate of this bug. ***
Comment 12 Christian Kirbach 2005-12-18 17:46:29 UTC
*** Bug 315377 has been marked as a duplicate of this bug. ***
Comment 13 Christian Kirbach 2006-01-06 16:47:37 UTC
*** Bug 325954 has been marked as a duplicate of this bug. ***
Comment 14 James "Doc" Livingston 2006-05-12 05:01:47 UTC
*** Bug 341326 has been marked as a duplicate of this bug. ***
Comment 15 Jens Granseuer 2006-11-25 12:11:41 UTC
*** Bug 378814 has been marked as a duplicate of this bug. ***