[Bug 796926] New: segfault when trying to postproc or decode on remote systems
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Aug 7 10:44:12 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796926
Bug ID: 796926
Summary: segfault when trying to postproc or decode on remote
systems
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: major
Priority: Normal
Component: gstreamer-vaapi
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: florent.thiery at ubicast.eu
QA Contact: gstreamer-bugs at lists.freedesktop.org
CC: bsreerenj at gmail.com, vjaquez at igalia.com
GNOME version: ---
$ gst-launch-1.0 videotestsrc ! vaapipostproc ! fakesink
Setting pipeline to PAUSED ...
0:00:00.038091895 28538 0x55f0f14a52f0 ERROR gldisplay
gstgldisplay_gbm.c:181:gst_gl_display_gbm_setup_drm: No connected DRM connector
found
i965_dri.so does not support the 0xffffffff PCI ID.
Caught SIGSEGV
Spinning. Please run 'gdb gst-launch-1.0 28538' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
Note that it also happens on a remote, non-headless system (i.e. over ssh but
with Xorg running):
$ gst-launch-1.0 filesrc location=/tmp/test ! h264parse ! vaapih264dec !
fakesink
Setting pipeline to PAUSED ...
i965_dri.so does not support the 0xffffffff PCI ID.
Caught SIGSEGV
Spinning. Please run 'gdb gst-launch-1.0 1785' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
It does not happen when running locally.
Discovered by trying to decode some samples (it does not matter if the file is
here or not):
$ gst-launch-1.0 filesrc location=/tmp/sample.h264 ! h264parse ! vaapih264dec !
fakesink
Setting pipeline to PAUSED ...
0:00:00.037243094 27959 0x5561e37b7cd0 ERROR gldisplay
gstgldisplay_gbm.c:181:gst_gl_display_gbm_setup_drm: No connected DRM connector
found
i965_dri.so does not support the 0xffffffff PCI ID.
Caught SIGSEGV
Spinning. Please run 'gdb gst-launch-1.0 27959' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.
It crashes with all other decoders too. Interestingly, it does not if an
encoder is present:
$ gst-launch-1.0 videotestsrc ! vaapih264enc ! vaapih264dec ! fakesink
NB: this is a regression, problem does not appear with 1.14.2
Trace:
#0 0x00007f996658c840 in nanosleep () at /usr/lib/libpthread.so.0
#1 0x00007f99668661b1 in g_usleep () at /usr/lib/libglib-2.0.so.0
#2 0x000055bd686823ca in fault_spin () at
../subprojects/gstreamer/tools/gst-launch.c:113
#3 0x000055bd686823ca in fault_handler_sighandler (signum=11) at
../subprojects/gstreamer/tools/gst-launch.c:94
#4 0x00007f996658d3b0 in <signal handler called> () at
/usr/lib/libpthread.so.0
#5 0x00007f9960e908e8 in xcb_writev () at /usr/lib/libxcb.so.1
#6 0x00007f99627e5f3e in _XSend () at /usr/lib/libX11.so.6
#7 0x00007f99627e6280 in _XFlush () at /usr/lib/libX11.so.6
#8 0x00007f99627e8e25 in _XGetRequest () at /usr/lib/libX11.so.6
#9 0x00007f99627dc56d in XQueryExtension () at /usr/lib/libX11.so.6
#10 0x00007f99627d00e2 in XInitExtension () at /usr/lib/libX11.so.6
#11 0x00007f99605b118f in XextAddDisplay () at /usr/lib/libXext.so.6
#12 0x00007f99616bdcc7 in () at /usr/lib/libXrandr.so.2
#13 0x00007f99616be341 in XRRQueryExtension () at /usr/lib/libXrandr.so.2
#14 0x00007f99633fa0d3 in check_extensions
(display=display at entry=0x55bd694e7530) at
../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_x11.c:118
#15 0x00007f99633fa1c3 in gst_vaapi_display_x11_bind_display
(base_display=0x55bd694e7530, native_display=<optimized out>)
at
../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay_x11.c:138
#16 0x00007f99633c5d14 in gst_vaapi_display_create (data=0x55bd695058e0,
init_type=GST_VAAPI_DISPLAY_INIT_FROM_NATIVE_DISPLAY, display=0x55bd694e7530)
at ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay.c:876
#17 0x00007f99633c5d14 in gst_vaapi_display_config (display=0x55bd694e7530,
init_type=GST_VAAPI_DISPLAY_INIT_FROM_NATIVE_DISPLAY, init_value=<optimized
out>)
at ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapidisplay.c:1165
#18 0x00007f996339e6ae in gst_vaapi_create_display_from_handle
(handle=0x55bd695058e0, display_type=GST_VAAPI_DISPLAY_TYPE_X11)
at ../subprojects/gstreamer-vaapi/gst/vaapi/gstvaapipluginutil.c:259
#19 0x00007f996339e6ae in gst_vaapi_create_display_from_egl
(native_display=0x55bd695058e0, display_type=<optimized out>,
gl_context=0x55bd6957f070, gl_display=0x55bd694f65b0)
at ../subprojects/gstreamer-vaapi/gst/vaapi/gstvaapipluginutil.c:260
#20 0x00007f996339e6ae in gst_vaapi_create_display_from_gl_context
(gl_context_object=<optimized out>) at
../subprojects/gstreamer-vaapi/gst/vaapi/gstvaapipluginutil.c:305
#21 0x00007f996339e6ae in gst_vaapi_ensure_display (element=0x55bd694ff9b0,
type=type at entry=GST_VAAPI_DISPLAY_TYPE_ANY) at
../subprojects/gstreamer-vaapi/gst/vaapi/gstvaapipluginutil.c:387
#22 0x00007f996339c0fe in gst_vaapi_plugin_base_ensure_display
(plugin=plugin at entry=0x55bd694ff9b0) at
../subprojects/gstreamer-vaapi/gst/vaapi/gstvaapipluginbase.c:395
#23 0x00007f996339a43e in gst_vaapidecode_start (vdec=0x55bd694ff9b0) at
../subprojects/gstreamer-vaapi/gst/vaapi/gstvaapidecode.c:1085
#24 0x00007f9963dbd393 in gst_video_decoder_change_state
(element=0x55bd694ff9b0, transition=GST_STATE_CHANGE_READY_TO_PAUSED)
at
../subprojects/gst-plugins-base/gst-libs/gst/video/gstvideodecoder.c:2507
#25 0x00007f9966b855ce in gst_element_change_state
(element=element at entry=0x55bd694ff9b0,
transition=transition at entry=GST_STATE_CHANGE_READY_TO_PAUSED)
at ../subprojects/gstreamer/gst/gstelement.c:2952
#26 0x00007f9966b85cee in gst_element_set_state_func (element=0x55bd694ff9b0,
state=GST_STATE_PAUSED) at ../subprojects/gstreamer/gst/gstelement.c:2906
#27 0x00007f9966b641c7 in gst_bin_element_set_state (next=GST_STATE_PAUSED,
current=GST_STATE_READY, start_time=0, base_time=0, element=0x55bd694ff9b0,
bin=0x55bd69502070)
at ../subprojects/gstreamer/gst/gstbin.c:2599
#28 0x00007f9966b641c7 in gst_bin_change_state_func (element=0x55bd69502070,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at
../subprojects/gstreamer/gst/gstbin.c:2941
#29 0x00007f9966b855ce in gst_element_change_state
(element=element at entry=0x55bd69502070,
transition=GST_STATE_CHANGE_READY_TO_PAUSED) at
../subprojects/gstreamer/gst/gstelement.c:2952
#30 0x00007f9966b85fce in gst_element_continue_state
(element=element at entry=0x55bd69502070, ret=ret at entry=GST_STATE_CHANGE_SUCCESS)
at ../subprojects/gstreamer/gst/gstelement.c:2660
#31 0x00007f9966b857b5 in gst_element_change_state
(element=element at entry=0x55bd69502070,
transition=transition at entry=GST_STATE_CHANGE_NULL_TO_READY)
at ../subprojects/gstreamer/gst/gstelement.c:2991
#32 0x00007f9966b85cee in gst_element_set_state_func (element=0x55bd69502070,
state=GST_STATE_PAUSED) at ../subprojects/gstreamer/gst/gstelement.c:2906
#33 0x000055bd68681ac4 in main (argc=<optimized out>, argv=<optimized out>) at
../subprojects/gstreamer/tools/gst-launch.c:1133
--
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