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 524937 - [playbin2] Playing local mp3 crashes playbin2
[playbin2] Playing local mp3 crashes playbin2
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.18
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-29 10:55 UTC by Alex Hixon
Modified: 2010-02-09 10:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex Hixon 2008-03-29 10:55:07 UTC
Playing a local MP3 file causes a crash within playbin2.
Running the same example pipeline below with filesrc location=xyz ! decodebin2 ! audioconvert ! alsasink works fine.

For example:

$ gst-launch-0.10 playbin2 uri="file:///home/alex/smallworld101806.mp3"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Caught SIGSEGV accessing address (nil)
  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/i686/cmov/libc.so.6
  • #2 ??
    from /usr/lib/libglib-2.0.so.0
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
    from /usr/lib/libglib-2.0.so.0
  • #9 ??
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
    from /lib/i686/cmov/libc.so.6
  • #16 ??
    from /lib/i686/cmov/libpthread.so.0
  • #17 ??
    from /lib/i686/cmov/libpthread.so.0
  • #18 g_thread_self
    from /usr/lib/libglib-2.0.so.0
  • #19 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #20 gst_bus_poll
  • #21 event_loop
  • #22 main
    at gst-launch.c line 729
  • #23 __libc_start_main
    from /lib/i686/cmov/libc.so.6
  • #24 _start
  • #0 __kernel_vsyscall
  • #1 __lll_unlock_wake
    from /lib/i686/cmov/libpthread.so.0
  • #2 _L_unlock_90
    from /lib/i686/cmov/libpthread.so.0
  • #3 __pthread_mutex_unlock_usercnt
  • #4 g_static_rec_mutex_unlock
    from /usr/lib/libglib-2.0.so.0
  • #5 gst_base_src_perform_seek
  • #6 gst_base_src_activate_push
  • #7 gst_pad_activate_push
  • #8 gst_pad_activate_default
    at gstpad.c line 569
  • #9 gst_pad_set_active
    at gstpad.c line 658
  • #10 activate_pads
  • #11 gst_iterator_fold
  • #12 iterator_activate_fold_with_resync
  • #13 gst_element_pads_activate
  • #14 gst_element_change_state_func
  • #15 gst_base_src_change_state
  • #16 gst_element_change_state
  • #17 gst_element_continue_state
  • #18 gst_element_change_state
  • #19 gst_element_set_state_func
  • #20 gst_element_set_state
  • #21 gst_bin_change_state_func
  • #22 gst_uri_decode_bin_change_state
  • #23 gst_element_change_state
  • #24 gst_element_continue_state
  • #25 gst_element_change_state
  • #26 gst_element_set_state_func
  • #27 gst_element_set_state
  • #28 setup_next_source
    at gstplaybin2.c line 1697
  • #29 gst_play_bin_change_state
  • #30 gst_element_change_state
  • #31 gst_element_continue_state
  • #32 gst_element_change_state
  • #33 gst_element_set_state_func
  • #34 gst_element_set_state
  • #35 main
    at gst-launch.c line 715
  • #36 __libc_start_main
    from /lib/i686/cmov/libc.so.6
  • #37 _start

I'll see if I can get any other filetypes to test in the meantime. OGGs seem to work OK.
Comment 1 Alex Hixon 2008-03-31 10:58:55 UTC
(gdb) bt
  • #0 gst_base_sink_pad_getcaps
    at gstbasesink.c line 421
  • #1 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #2 gst_pad_get_caps
    at gstpad.c line 2061
  • #3 gst_proxy_pad_do_getcaps
    at gstghostpad.c line 230
  • #4 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #5 gst_pad_get_caps
    at gstpad.c line 2061
  • #6 gst_pad_peer_get_caps
    at gstpad.c line 2101
  • #7 gst_base_transform_getcaps
    at gstbasetransform.c line 555
  • #8 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #9 gst_pad_get_caps
    at gstpad.c line 2061
  • #10 gst_pad_peer_get_caps
    at gstpad.c line 2101
  • #11 gst_base_transform_getcaps
    at gstbasetransform.c line 555
  • #12 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #13 gst_pad_get_caps
    at gstpad.c line 2061
  • #14 gst_pad_peer_get_caps
    at gstpad.c line 2101
  • #15 gst_base_transform_getcaps
    at gstbasetransform.c line 555
  • #16 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #17 gst_pad_get_caps
    at gstpad.c line 2061
  • #18 gst_proxy_pad_do_getcaps
    at gstghostpad.c line 230
  • #19 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #20 gst_pad_get_caps
    at gstpad.c line 2061
  • #21 gst_pad_peer_get_caps
    at gstpad.c line 2101
  • #22 intersect_caps_func
    at gstutils.c line 2449
  • #23 gst_iterator_fold
    at gstiterator.c line 503
  • #24 gst_pad_proxy_getcaps
    at gstutils.c line 2497
  • #25 gst_pad_get_caps_unlocked
    at gstpad.c line 1977

Comment 2 Wim Taymans 2008-04-01 14:06:48 UTC
please do in gdb:

thr apply all bt

to get a complete stacktrace of all threads.
Comment 3 Alex Hixon 2008-04-02 06:20:08 UTC
Appears to be due to the Bluez GStreamer element - removing libgstbluetooth.so from /usr/lib/gstreamer-0.10 seems to fix things.

Here's the requested stacktrace of all threads with the .so in place:

Thread 2 (Thread 0xb77e2b90 (LWP 30341))

  • #0 strncpy
    from /lib/i686/cmov/libc.so.6
  • #1 ??
    from /usr/lib/gstreamer-0.10/libgstbluetooth.so
  • #2 ??
  • #3 ??

I can also provide the GST_DEBUG output if you need, though, I think this bug needs to get reassigned and/or description modified.

Thanks for looking into this.
Comment 4 Alex Hixon 2009-09-20 05:37:09 UTC
Closing, fixed in trunk.
Comment 5 Tim-Philipp Müller 2010-02-09 10:13:18 UTC
Fixed in bluez-gstreamer I presume?