GNOME Bugzilla – Bug 624591
SEGV in pipeline with input-selector select-all=true
Last modified: 2010-08-24 07:58:26 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
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!
Caught SIGSEGV accessing address (nil) /GstPipeline:pipeline0/GstInputSelector:selector: active-pad = (GstSelectorPad) sink1
+ Trace 222887
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.
- 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
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
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.
+ Trace 223375
*** This bug has been marked as a duplicate of bug 607513 ***