GNOME Bugzilla – Bug 671346
Crash on incoming audio calls from Jitsu clients on Windows
Last modified: 2012-03-06 09:43:01 UTC
Created attachment 208990 [details] Log from empathy-call launched with EMPATHY_DEBUG=all Accepting an incoming audio call from a contact using Jitsu on Windows will crash the call windows. This is using Jitsu 1.0-beta1 and Empathy git rev. EMPATHY_3_3_90_2-5-g9cc2697, farstrem from git rev. 0.1.1-7-g6553314, telepathy-farstream-0.2.1-3-ge40399b and telepathy-gabble-0.15.4-78-g0a7c66f. This is where the stack trace ends during the crash:
+ Trace 229801
This seems due to gst-ffmpeg having some issues with the G722 codec. Put the snippet below in /usr/share/farstream/0.1/fsrtpconference/default-codec-preferences to disable G722 in farstream: [audio/G722] id=-1
Let's re-assign to gst-ffmpeg then.
> avcodec_encode_audio > from /usr/lib/x86_64-linux-gnu/libavcodec.so.53 Has this been reproduced with the/an internal libav snapshot that we ship as part of gst-ffmpeg?
No, it comes from the libavcodec53 4:0.8-1+b1 packages in debian/sid. This is a smaller testcase that shows the problem (thanks to sjoerd): gst-launch-0.10 audiotestsrc ! ffenc_g722 ! fakesink
Please report this bug to Debian then, unless you can reproduce it with the internal copy of libav (you need to rebuild gst-ffmpeg for this). This is a known bug with libavcodec from Debian/sid btw, so best would be to report it against libav directly. It's triggering this assertion in libav btw: /build/buildd-libav-extra_0.8.0.1+b1-amd64-PoqmIt/libav-extra-0.8.0.1+b1/libav/libavutil/mathematics.c:79: av_rescale_rnd: Assertion `c > 0' failed.
It seems it has already been fixed in libav 4:0.8-2, both empathy and the testcase worked. Thanks.