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 624591 - SEGV in pipeline with input-selector select-all=true
SEGV in pipeline with input-selector select-all=true
Status: RESOLVED DUPLICATE of bug 607513
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-17 02:30 UTC by Chris Shoemaker
Modified: 2010-08-24 07:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Shoemaker 2010-07-17 02:30:42 UTC
$/usr/bin/gst-launch-0.10 -evm alsasrc name=a_src device=hw:1 ! input-selector name=selector select-all=true ! alsasink name=speakers device=default alsasrc device=hw:0 ! selector.


Got message #305 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstAlsaSink\)\ speakers", object=(gpointer)NULL;
/GstPipeline:pipeline0/GstInputSelector:selector: active-pad = (GstSelectorPad) sink1
/GstPipeline:pipeline0/GstInputSelector:selector.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
Got message #306 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_LEAVE, owner=(GstElement)"\(GstAlsaSink\)\ speakers", object=(gpointer)NULL;
/GstPipeline:pipeline0/GstAlsaSink:speakers.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2
Got message #307 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstAlsaSink\)\ speakers", object=(gpointer)NULL;
/GstPipeline:pipeline0/GstInputSelector:selector: active-pad = (GstSelectorPad) sink1
Caught SIGSEGV accessing address 0x3400245f0
/GstPipeline:pipeline0/GstInputSelector:selector: active-pad = (GstSelectorPad) sink1
/GstPipeline:pipeline0/GstInputSelector:selector.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
Got message #308 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_LEAVE, owner=(GstElement)"\(GstAlsaSink\)\ speakers", object=(gpointer)NULL;
Spinning.  Please run 'gdb gst-launch 31422' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
/GstPipeline:pipeline0/GstAlsaSink:speakers.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2
Got message #309 from object "audiosinkringbuffer0" (stream-status): GstMessageStreamStatus, type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER, owner=(GstElement)"\(GstAlsaSink\)\ speakers", object=(gpointer)NULL;
/GstPipeline:pipeline0/GstInputSelector:selector: active-pad = (GstSelectorPad) sink0
Comment 1 Thiago Sousa Santos 2010-07-17 05:33:10 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Chris Shoemaker 2010-07-17 14:13:53 UTC
Caught SIGSEGV accessing address (nil)
/GstPipeline:pipeline0/GstInputSelector:selector: active-pad = (GstSelectorPad) sink1
  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??

Comment 3 Chris Shoemaker 2010-07-17 14:16:15 UTC
I haven't been able to figure out how to get a more useful stacktrace than this.

strace isn't so informative either:

poll([{fd=11, events=POLLIN}], 1, 213)  = 1 ([{fd=11, revents=POLLIN}])
read(11, "A", 1)                        = 1
poll([{fd=11, events=POLLIN}], 1, 212)  = 1 ([{fd=11, revents=POLLIN}])
read(11, "A", 1)                        = 1
poll([{fd=11, events=POLLIN}], 1, 210Caught SIGSEGV accessing address (nil)
Spinning.  Please run 'gdb gst-launch 17285' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
)  = 0 (Timeout)
poll([{fd=11, events=POLLIN}], 1, 249)  = 0 (Timeout)


valgrind just segfaults.
Comment 4 Tim-Philipp Müller 2010-07-18 19:14:26 UTC
 - What distro/version are you on?

 - What's the output of:

     - gst-inspect-0.10 alsasink | grep Version
     - gst-inspect-0.10 input-selector | grep Version
Comment 5 Chris Shoemaker 2010-07-19 15:38:18 UTC
Fedora 13

# gst-inspect-0.10 alsasink | grep Version
  Version:		0.10.29
# gst-inspect-0.10 input-selector | grep Version
  Version:		0.10.19

# rpm -qa |grep gst
gstreamer-plugins-base-0.10.29-1.fc13.x86_64
gstreamer-ffmpeg-0.10.10-2.fc13.x86_64
gstreamer-tools-0.10.29-2.fc13.x86_64
gstreamer-plugins-bad-0.10.19-1.fc13.x86_64
gstreamer-python-0.10.16-1.fc12.x86_64
gstreamer-debuginfo-0.10.29-2.fc13.x86_64
gstreamer-plugins-base-debuginfo-0.10.29-1.fc13.x86_64
gstreamer-plugins-bad-free-debuginfo-0.10.19-1.fc13.x86_64
gstreamer-plugins-ugly-0.10.15-1.fc13.x86_64
gstreamer-plugins-bad-free-0.10.19-1.fc13.x86_64
gstreamer-plugins-good-0.10.23-1.fc13.x86_64
gstreamer-0.10.29-2.fc13.x86_64
gstreamer-plugins-bad-nonfree-0.10.18-1.fc13.x86_64

# rpm -qa |grep alsa
alsa-utils-1.0.23-3.fc13.x86_64
alsa-lib-1.0.23-1.fc13.x86_64
alsa-lib-debuginfo-1.0.23-1.fc13.x86_64
Comment 6 Chris Shoemaker 2010-07-19 16:39:24 UTC
FYI, I've removed alsa from the equation.  Same crashes happen with this pipeline:

# gst-launch -evm audiotestsrc is-live=true ! input-selector name=selector select-all=true ! filesink location=/dev/null  audiotestsrc is-live=true ! selector.
Comment 7 Stefan Sauer (gstreamer, gtkdoc dev) 2010-08-24 07:58:26 UTC


  • #0 ??
  • #1 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.24.1/gobject/gobjectnotifyqueue.c line 120
  • #2 IA__g_object_notify
    at /build/buildd/glib2.0-2.24.1/gobject/gobject.c line 888
  • #3 gst_selector_pad_chain
    at gstinputselector.c line 622
  • #4 gst_pad_chain_data_unchecked
    at gstpad.c line 4182
  • #5 gst_pad_push_data
    at gstpad.c line 4411
  • #6 gst_base_src_loop
    at gstbasesrc.c line 2496
  • #7 gst_task_func
    at gsttask.c line 271
  • #8 default_func
    at gsttaskpool.c line 68
  • #9 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthreadpool.c line 315
  • #10 g_thread_create_proxy
    at /build/buildd/glib2.0-2.24.1/glib/gthread.c line 1893
  • #11 start_thread
    at pthread_create.c line 300
  • #12 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130

*** This bug has been marked as a duplicate of bug 607513 ***