After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763523 - Segfault when playing video using opencv
Segfault when playing video using opencv
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-12 07:35 UTC by tripzero.kev
Modified: 2018-05-04 12:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test script to play video with cv2 (363 bytes, text/x-python)
2016-03-12 07:35 UTC, tripzero.kev
Details

Description tripzero.kev 2016-03-12 07:35:11 UTC
Created attachment 323744 [details]
test script to play video with cv2

Backtrace:

libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
[New Thread 0x7fffa7a3d700 (LWP 2839)]

Thread 15 "queue:src" received signal SIGSEGV, Segmentation fault.

Thread 140736005920512 (LWP 2839)

  • #0 gst_vaapipostproc_transform_caps_impl
    at gstvaapipostproc.c line 1117
  • #1 gst_vaapipostproc_transform_caps
    at gstvaapipostproc.c line 1153
  • #2 ??
    from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
  • #3 ??
    from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0
  • #4 gst_pad_query
    from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
  • #5 gst_pad_peer_query
    from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
  • #6 gst_pad_peer_query_caps
    from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0


Steps to reproduce:
1. Download sample h264 video https://s3.amazonaws.com/x265.org/video/BigBuckBunny_2000h264.mp4
2. build and install opencv master from https://github.com/Itseez/opencv.git (make sure gstreamer is enabled)
3. run testcvplay.py (attached): python testcvplay.py /path/to/BigBuckBunny_2000h264.mp4

Segfault!
Comment 1 sreerenj 2016-03-24 16:35:09 UTC
gstreamer-vaapi is the part of upstream now,
please file bug against GStreamer, with component as gstreamer-vaapi in future.
Comment 2 Víctor Manuel Jáquez Leal 2018-05-04 12:34:03 UTC
The code related with vaapipostproc negotiation has changed a lot since this bug was filed.

Please test it with a the latest version of gstreamer-vaapi and reopen if the problem persist.