Bug#831909: gstreamer coredumps when playing wavs since the libavcodec upgrade

Sebastian Ramacher sramacher at debian.org
Sun Jul 24 12:53:57 UTC 2016


On 2016-07-24 14:19:36, Sebastian Ramacher wrote:
> Hi
> 
> On 2016-07-22 13:27:09, Faidon Liambotis wrote:
> > On Fri, Jul 22, 2016 at 10:21:05AM +0200, Sebastian Ramacher wrote:
> > > Unfortunately I am unable to reproduce the issue. Since there are some accounts
> > > of random crashes when building ffmpeg with tree vectorization enabled, I've
> > > uploaded 7:3.1.1-3 with vectorization disabled. Could you please check if the
> > > issue disappears with -3?
> > 
> > I upgraded all ffmpeg packages to 7:3.1.1-3 but I'm still experiencing
> > crashes.
> > 
> > I then installed libavcodec57-dbgsym, libgstreamer1.0-0-dbg,
> > gstreamer1.0-libav-dbg and gstreamer1.0-plugins-good-dbg. The full
> > backtrace is below. The "codec = <ff_h264_vaapi_encoder>" seems
> > relevant, since this is on an Intel Broadwell, which may not be the case
> > for you. This looks a lot like #831529, doesn't it?
> > 
> > I still don't exactly understand how H.264/VA-API are related when playing
> > just a .wav file, though... This was with the same gstreamer pipeline,
> >   gst-launch-1.0 filesrc location=/usr/share/sounds/purple/alert.wav  !
> >   wavparse ! audioconvert ! fakesink
> > 
> > 
> > #0  0x00007ffff6fc01c8 in __GI_raise (sig=sig at entry=6)
> >     at ../sysdeps/unix/sysv/linux/raise.c:54
> > #1  0x00007ffff6fc164a in __GI_abort () at abort.c:89
> > #2  0x00007fffeda6260b in init_context_defaults (s=s at entry=0x7ffff0095720, codec=codec at entry=0x7fffee3a8900 <ff_h264_vaapi_encoder>)
> >     at src/libavcodec/options.c:142
> > #3  0x00007fffeda626d6 in avcodec_alloc_context3 (codec=0x7fffee3a8900 <ff_h264_vaapi_encoder>) at src/libavcodec/options.c:163
> > #4  0x00007fffef360540 in gst_ffmpeg_cfg_install_property (klass=0x7ffff0095200, base=8) at gstavcfg.c:732
> > #5  0x00007fffef356e53 in gst_ffmpegvidenc_class_init (klass=0x7ffff0095200)
> >     at gstavvidenc.c:225
> > #6  0x00007ffff788c22d in g_type_class_ref (pclass=0x7ffff0094690, node=0x7ffff0094500) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./gobject/gtype.c:2241
> > #7  0x00007ffff788c22d in g_type_class_ref (type=type at entry=140737220527360)
> >     at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./gobject/gtype.c:2956
> > #8  0x00007ffff7b09da4 in gst_element_register (plugin=plugin at entry=0x69bbf0 [GstPlugin], name=name at entry=0x7ffff006d110 "avenc_h264_vaapi", rank=rank at entry=128, type=type at entry=140737220527360) at gstelementfactory.c:243
> > #9  0x00007fffef3575b3 in gst_ffmpegvidenc_register (plugin=plugin at entry=0x69bbf0 [GstPlugin]) at gstavvidenc.c:1009
> > #10 0x00007fffef349e20 in plugin_init (plugin=0x69bbf0 [GstPlugin])
> >     at gstav.c:158
> > #11 0x00007ffff7b2b537 in gst_plugin_register_func (plugin=0x69bbf0 [GstPlugin], desc=0x7fffef578180 <gst_plugin_desc>, user_data=0x0) at gstplugin.c:523
> > #12 0x00007ffff7b2d425 in _priv_gst_plugin_load_file_for_registry (filename=0x6c2e20 "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so", registry=0x61c150 [GstRegistry], registry at entry=0x0, error=error at entry=0x7ffff4de7bf0)
> >     at gstplugin.c:826
> > #13 0x00007ffff7b2dcea in gst_plugin_load_file (filename=<optimized out>, error=error at entry=0x7ffff4de7bf0) at gstplugin.c:680
> > #14 0x00007ffff7b2e12c in gst_plugin_load_by_name (name=0x6c218d "libav")
> >     at gstplugin.c:1265
> > #15 0x00007ffff7b2ea8d in gst_plugin_feature_load (feature=feature at entry=0x6e58a0 [GstTypeFindFactory]) at gstpluginfeature.c:111
> > #16 0x00007ffff7b547e3 in gst_type_find_factory_call_function (factory=0x6e58a0 [GstTypeFindFactory], find=0x7ffff4de7c90) at gsttypefindfactory.c:210
> > #17 0x00007ffff5d89421 in gst_type_find_helper_for_data (obj=obj at entry=0x812070 [GstWavParse], data=<optimized out>, size=<optimized out>, prob=prob at entry=0x7ffff4de7db4) at gsttypefindhelper.c:535
> > #18 0x00007ffff5d895a4 in gst_type_find_helper_for_buffer (obj=obj at entry=0x812070 [GstWavParse], buf=buf at entry=0x7ffff0003450, prob=prob at entry=0x7ffff4de7db4)
> >     at gsttypefindhelper.c:591
> > #19 0x00007ffff5b3546a in gst_wavparse_add_src_pad (wav=wav at entry=0x812070 [GstWavParse], buf=0x7ffff0003450) at gstwavparse.c:1908
> > #20 0x00007ffff5b35b47 in gst_wavparse_stream_data (wav=wav at entry=0x812070 [GstWavParse]) at gstwavparse.c:2061
> > #21 0x00007ffff5b3bbb1 in gst_wavparse_loop (pad=0x8042a0 [GstPad])
> >     at gstwavparse.c:2202
> > #22 0x00007ffff7b4fe71 in gst_task_func (task=0x81c050 [GstTask])
> >     at gsttask.c:332
> > #23 0x00007ffff75bc55e in g_thread_pool_thread_proxy (data=<optimized out>) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gthreadpool.c:307
> > #24 0x00007ffff75bbbc5 in g_thread_proxy (data=0x81a800) at /build/glib2.0-vjfO_h/glib2.0-2.48.1/./glib/gthread.c:780
> > #25 0x00007ffff7335464 in start_thread (arg=0x7ffff4de8700) at pthread_create.c:333
> > #26 0x00007ffff707430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
> 
> Thank you for the info. Could you please let us know the version of libva1 and
> i965-va-driver that you have installed?

… and the versions of all other libva1-* packages.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160724/c85b729b/attachment-0001.sig>


More information about the pkg-multimedia-maintainers mailing list