GNOME Bugzilla – Bug 719356
critical warning _gst_util_uint64_scale in gst_pulsering_stream_latency_cb
Last modified: 2016-09-05 14:24:33 UTC
When playing a bit with a GstControlSource to fade volume over time, I got the below error; the same thing works find with an AlsaSink and in fact it does seem to work with the PulseSink as well, except for this critical warning. (test-player:23687): GStreamer-CRITICAL **: _gst_util_uint64_scale: assertion 'denom != 0' failed Program received signal SIGTRAP, Trace/breakpoint trap.
+ Trace 232839
Thread 140736934696704 (LWP 23753)
Do you have some example code that can reproduce this problem? The volume property on pulsesink is not controllable.
Yeah, there's another volume-element in the pipeline to do the controlling. It's a bit tricky to create a small test-case though... is there a way to do the controlling using gst-launch? (also, note that this problems seems to have come up with with fairly recent gstreamers, perhaps with 1.2?)
what is your pipeline? what control points are you applying to which element ?
Pipeline looks like something like: gst-launch-1.0 filesrc location=/home/djcb/Music/track.ogg ! decodebin ! equalizer-10bands ! volume ! pulsesink (I say 'something like' since the filesrc + decodebin is actually a playbin in the app, gst-launch doesn't allow me to specify the audio-sink property) I'm controlling the volume-element (I'm actually using two pipelines, and implement cross-fading by changing the volume in opposite directions). Looking at the code, (gstvolume.c), I suppose the 'rate' parameter is zero for some reason. I'm not doing anything with the rate though.
Created attachment 263556 [details] python test The attached test script seems to work perfectly. Does it fail with any file? or only specific ones ?
Oh, thanks for the effort! Can't reproduce it with that script; I'll try if I can modify it a bit so the problem is triggered.
(In reply to comment #6) > Can't reproduce it with that script; I'll try if I > can modify it a bit so the problem is triggered. djcb: Still the case?
Haven't seen this for quite a while -- feel free to close. Thanks!
Thanks!
I have just encountered the same. Unfortunately, there was no core dump. My pipeline is pulsesrc ! audioconvert ! audioresample ! audiocheblimit mode=1 cutoff=80 ! level post-messages=true interval=80ms ! fakesink sync=true silent=true I will try to catch core dump
My GStreamer version is 1.8.2. Using Ubuntu Linux 16.04. It seems that appport has caught stacktrace.
Created attachment 334810 [details] apport dump