[Bug 793081] GStreamer crashes when volume is set to 0 for raw PCM audio data with sink timestamp sync turned off

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 1 17:52:32 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793081

--- Comment #2 from Andrei Mikheev <mikheev at amazon.com> ---
Well, GStreamer is used as a binary library and all I can provide is this:
(<unknown>:94175): GStreamer-CRITICAL **: gst_event_new_gap: assertion
'GST_CLOCK_TIME_IS_VALID (timestamp)' failed
Exception: EXC_BAD_ACCESS (code=1, address=0x40)

Well, I just realized that gst-launch actually reports EOS and it is probably
not a reproduction of a problem, but here is the log anyway:

======== 8< ==============

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = audio/x-wav
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = NULL
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstWavParse:wavparse0.GstPad:src:
caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved,
channels=(int)2, channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/x-raw,
format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/x-raw,
format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad2:
caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved,
channels=(int)2, channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps =
audio/x-raw, format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:src: caps = audio/x-raw,
format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink.GstProxyPad:proxypad1:
caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved,
channels=(int)2, channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
Redistribute latency...
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstOsxAudioSink:autoaudiosink0-actual-sink-osxaudio.GstPad:sink:
caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved,
channels=(int)2, channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink: caps =
audio/x-raw, format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstVolume:volume0.GstPad:sink: caps = audio/x-raw,
format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps =
audio/x-raw, format=(string)S16LE, layout=(string)interleaved, channels=(int)2,
channel-mask=(bitmask)0x0000000000000003, rate=(int)44100
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.015417000
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

======== 8< ==============


And wave file is the first "raw pcm file example download" I found in google.
http://www.music.helsinki.fi/tmt/opetus/uusmedia/esim/a2002011001-e02.wav

I will try our code with these sink and source and will let you know the result
later today.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list