pbutils: _post_missing_plugin_message raise gst_caps_is_fixed assertion
@gdesmott
Submitted by Guillaume Desmottes Link to original bug (#797113)
Description
- Build gst-transcoder https://github.com/pitivi/gst-transcoder
- Make sure you do NOT have a plugin, such as faac for example
- Try transcoding using this plugin: gst-transcoder-1.0 file:///home/cassidy/Downloads/h264_vorbis.mkv test.mp4 ./data/targets/file-extension/mp4.gep
0:00:00.732762743 21202 0x7fffd80ac590 ERROR encodebin gstencodebin.c:1166:_post_missing_plugin_message:<encodebin0>
Couldn't create encoder with preset (NULL) and preset name (NULL) for format audio/mpeg, mpegversion=(int)4, base-profile=(string)lc, rate=(int){ 48000, 96000 }, channels=(int)2; audio/mpeg, mpegversion=(int)4, base-profile=(string)lc, rate=(int){ 48000, 96000 }
** (gst-transcoder:21202): CRITICAL **: 18:44:08.873: gst_missing_encoder_message_new: assertion 'gst_caps_is_fixed (encode_caps)' failed
Thread 10 "queue3:src" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffcedf5700 (LWP 21223)]
0x00007ffff79057e5 in _g_log_abort () from /lib64/libglib-2.0.so.0
Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-26.fc28.x86_64 elfutils-libelf-0.173-1.fc28.x86_64 elfutils-libs-0.173-1.fc28.x86_64 expat-2.2.5-3.fc28.x86_64 glib2-2.56.1-4.fc28.x86_64 libX11-1.6.5-7.fc28.x86_64 libX11-xcb-1.6.5-7.fc28.x86_64 libXau-1.0.8-11.fc28.x86_64 libXext-1.3.3-8.fc28.x86_64 libXfixes-5.0.3-5.fc28.x86_64 libXrandr-1.5.1-5.fc28.x86_64 libXrender-0.9.10-5.fc28.x86_64 libblkid-2.32.1-1.fc28.x86_64 libdrm-2.4.93-1.fc28.x86_64 libffi-3.1-16.fc28.x86_64 libgcc-8.1.1-5.fc28.x86_64 libglvnd-1.1.0-1.fc28.x86_64 libglvnd-egl-1.1.0-1.fc28.x86_64 libglvnd-glx-1.1.0-1.fc28.x86_64 libgudev-232-3.fc28.x86_64 libmount-2.32.1-1.fc28.x86_64 libogg-1.3.2-10.fc28.x86_64 libpciaccess-0.13.4-8.fc28.x86_64 libselinux-2.8-1.fc28.x86_64 libunwind-1.2.1-5.fc28.x86_64 libuuid-2.32.1-1.fc28.x86_64 libva-2.1.0-1.fc28.x86_64 libva-intel-driver-2.1.0-2.fc28.x86_64 libvorbis-1.3.6-3.fc28.x86_64 libwayland-client-1.15.0-1.fc28.x86_64 libwayland-egl-1.15.0-1.fc28.x86_64 libwayland-server-1.15.0-1.fc28.x86_64 libxcb-1.13-1.fc28.x86_64 mesa-libgbm-18.0.5-3.fc28.x86_64 orc-0.4.28-2.fc28.x86_64 pcre-8.42-3.fc28.x86_64 pcre2-10.31-10.fc28.x86_64 systemd-libs-238-9.git0e0aa59.fc28.x86_64 x264-libs-0.152-5.20171224gite9a5903.fc28.x86_64 xz-libs-5.2.4-2.fc28.x86_64 zlib-1.2.11-8.fc28.x86_64
(gdb) bt
#0 0x00007ffff79057e5 in _g_log_abort () at /lib64/libglib-2.0.so.0
#1 0x00007ffff7906b1d in g_logv () at /lib64/libglib-2.0.so.0
#2 0x00007ffff7906cf3 in g_log () at /lib64/libglib-2.0.so.0
#3 0x00007ffff7108295 in gst_missing_encoder_message_new (element=element@entry=0x8961a0, encode_caps=encode_caps@entry=0x856630)
at ../subprojects/gst-plugins-base/gst-libs/gst/pbutils/missing-plugins.c:321
#4 0x00007ffff334a80b in _post_missing_plugin_message (ebin=0x8961a0, prof=0x872e40)
at ../subprojects/gst-plugins-base/gst/encoding/gstencodebin.c:1169
#5 0x00007ffff334a930 in _missing_plugin_probe (pad=pad@entry=0x7fffd80bd820, info=info@entry=0x7fffcedf4520, udata=<optimized out>)
at ../subprojects/gst-plugins-base/gst/encoding/gstencodebin.c:1183
#6 0x00007ffff73a1b3e in probe_hook_marshal (hook=0x7fffd8082180, data=0x7fffcedf4400) at ../subprojects/gstreamer/gst/gstpad.c:3557
#7 0x00007ffff78efd3c in g_hook_list_marshal () at /lib64/libglib-2.0.so.0
#8 0x00007ffff73a1247 in do_probe_callbacks (pad=pad@entry=0x7fffd80bd820, info=info@entry=0x7fffcedf4520, defaultval=defaultval@entry=GST_FLOW_OK)
at ../subprojects/gstreamer/gst/gstpad.c:3719
#9 0x00007ffff73a65be in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80bd820)
at ../subprojects/gstreamer/gst/gstpad.c:4298
#10 0x00007ffff73a65be in gst_pad_push_data (pad=pad@entry=0x7fffd80bd5d0, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#11 0x00007ffff73acb92 in gst_pad_push (pad=0x7fffd80bd5d0, buffer=0x7fffe8024520) at ../subprojects/gstreamer/gst/gstpad.c:4693
#12 0x00007ffff55bf4d0 in gst_base_transform_chain (pad=<optimized out>, parent=0x7fffd8034c10, buffer=<optimized out>)
at ../subprojects/gstreamer/libs/gst/base/gstbasetransform.c:2330
#13 0x00007ffff73a62b2 in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80bd380)
at ../subprojects/gstreamer/gst/gstpad.c:4318
#14 0x00007ffff73a62b2 in gst_pad_push_data (pad=pad@entry=0x7fffd80c4850, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#15 0x00007ffff73acb92 in gst_pad_push (pad=0x7fffd80c4850, buffer=0x7fffe8024520) at ../subprojects/gstreamer/gst/gstpad.c:4693
#16 0x00007ffff55bf4d0 in gst_base_transform_chain (pad=<optimized out>, parent=0x7fffd80c92d0, buffer=<optimized out>)
at ../subprojects/gstreamer/libs/gst/base/gstbasetransform.c:2330
#17 0x00007ffff73a62b2 in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80c4600)
at ../subprojects/gstreamer/gst/gstpad.c:4318
#18 0x00007ffff73a62b2 in gst_pad_push_data (pad=pad@entry=0x7fffd80c4cf0, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#19 0x00007ffff73acb92 in gst_pad_push (pad=0x7fffd80c4cf0, buffer=0x7fffe8024520) at ../subprojects/gstreamer/gst/gstpad.c:4693
#20 0x00007ffff55bf4d0 in gst_base_transform_chain (pad=<optimized out>, parent=0x7fffd80cd1c0, buffer=<optimized out>)
at ../subprojects/gstreamer/libs/gst/base/gstbasetransform.c:2330
---Type <return> to continue, or q <return> to quit---
#21 0x00007ffff73a62b2 in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80c4aa0)
at ../subprojects/gstreamer/gst/gstpad.c:4318
#22 0x00007ffff73a62b2 in gst_pad_push_data (pad=pad@entry=0x7fffd80c43b0, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#23 0x00007ffff73acb92 in gst_pad_push (pad=0x7fffd80c43b0, buffer=0x7fffe8024520) at ../subprojects/gstreamer/gst/gstpad.c:4693
#24 0x00007ffff55bf4d0 in gst_base_transform_chain (pad=<optimized out>, parent=0x7fffd80c8cd0, buffer=<optimized out>)
at ../subprojects/gstreamer/libs/gst/base/gstbasetransform.c:2330
#25 0x00007ffff73a62b2 in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80c4160)
at ../subprojects/gstreamer/gst/gstpad.c:4318
#26 0x00007ffff73a62b2 in gst_pad_push_data (pad=pad@entry=0x7fffd80bdcc0, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#27 0x00007ffff73acb92 in gst_pad_push (pad=0x7fffd80bdcc0, buffer=0x7fffe8024520) at ../subprojects/gstreamer/gst/gstpad.c:4693
#28 0x00007fffd43239dc in gst_audio_rate_chain (pad=<optimized out>, parent=<optimized out>, buf=<optimized out>)
at ../subprojects/gst-plugins-base/gst/audiorate/gstaudiorate.c:680
#29 0x00007ffff73a62b2 in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80bda70)
at ../subprojects/gstreamer/gst/gstpad.c:4318
#30 0x00007ffff73a62b2 in gst_pad_push_data (pad=pad@entry=0x7fffd80c4f40, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#31 0x00007ffff73acb92 in gst_pad_push (pad=pad@entry=0x7fffd80c4f40, buffer=buffer@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4693
#32 0x00007ffff3351710 in gst_stream_splitter_chain (pad=<optimized out>, parent=0x7fffd80561c0, buf=0x7fffe8024520)
at ../subprojects/gst-plugins-base/gst/encoding/gststreamsplitter.c:140
#33 0x00007ffff73a62b2 in gst_pad_chain_data_unchecked (data=0x7fffe8024520, type=4112, pad=0x7fffd80bc7f0)
at ../subprojects/gstreamer/gst/gstpad.c:4318
#34 0x00007ffff73a62b2 in gst_pad_push_data (pad=pad@entry=0x7fffd80bcc90, type=type@entry=4112, data=data@entry=0x7fffe8024520)
at ../subprojects/gstreamer/gst/gstpad.c:4574
#35 0x00007ffff73acb92 in gst_pad_push (pad=0x7fffd80bcc90, buffer=buffer@entry=0x7fffe8024520) at ../subprojects/gstreamer/gst/gstpad.c:4693
#36 0x00007ffff35947d7 in gst_queue_push_one (queue=0x7fffd802e990) at ../subprojects/gstreamer/plugins/elements/gstqueue.c:1384
#37 0x00007ffff35947d7 in gst_queue_loop (pad=<optimized out>) at ../subprojects/gstreamer/plugins/elements/gstqueue.c:1537
#38 0x00007ffff73d9a51 in gst_task_func (task=0x7fffe8020830) at ../subprojects/gstreamer/gst/gsttask.c:328
#39 0x00007ffff7928933 in g_thread_pool_thread_proxy () at /lib64/libglib-2.0.so.0
#40 0x00007ffff7927f2a in g_thread_proxy () at /lib64/libglib-2.0.so.0
#41 0x00007ffff68a4594 in start_thread () at /lib64/libpthread.so.0
#42 0x00007ffff6e26e6f in clone () at /lib64/libc.so.6