v4l2h264dec Raspberry PI

Nicolas Dufresne nicolas at ndufresne.ca
Sat May 18 13:04:20 UTC 2019


Le sam. 18 mai 2019 04 h 56, horai <ivo.hora at seznam.cz> a écrit :

> Hello,
>
> This is a backtrace of following pipeline, the stream is feeded from
> gst-rtsp-server:
> gst-launch- 1.0 e -vvv rtspsrc location="rtsp://10.0.0.2:8555/test"
> latency=200 ! rtph264depay ! h264parse ! v4l2h264dec capture-io-mode=4 !
> clutterautovideosink
>
> Thread 15 "rtpjitterbuffer" received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x6a2fe470 (LWP 23488)]
> 0x75f807d0 in gst_v4l2_buffer_pool_orphan (bpool=0x121614)
>     at gstv4l2bufferpool.c:982
> 982       if (!GST_V4L2_ALLOCATOR_CAN_ORPHAN_BUFS (pool->vallocator))
>

Thanks, that's really what I was looking for. I suspect the vallocator
(v4l2 allocator) pointer is NULL here, hence the crash. This orphaning code
is brand new, so that looks like a regression. You may file a bug report,
otherwise I will do. I don't have a recent PI at hand, but I suspect I will
be able to reproduce this on other device.

(gdb) bt
> #0  0x75f807d0 in gst_v4l2_buffer_pool_orphan (bpool=0x121614)
>     at gstv4l2bufferpool.c:982
> #1  0x75f942d8 in gst_v4l2_video_dec_set_format (decoder=0x114170,
>     state=0x6f227f00) at gstv4l2videodec.c:249
> #2  0x7621c6ec in gst_video_decoder_setcaps (decoder=0x114170,
> caps=0x6ab18228)
>     at gstvideodecoder.c:712
> #3  0x7621dc28 in gst_video_decoder_sink_event_default (decoder=0x114170,
>     event=0x6ab1a0c0) at gstvideodecoder.c:1101
> #4  0x75f96ad4 in gst_v4l2_video_dec_sink_event (decoder=0x114170,
>     event=0x6ab1a0c0) at gstv4l2videodec.c:887
> #5  0x7621eaf0 in gst_video_decoder_sink_event (pad=0x104650,
> parent=0x114170,
>     event=0x6ab1a0c0) at gstvideodecoder.c:1367
> #6  0x76ed7e18 in gst_pad_send_event_unchecked (pad=0x104650,
>     event=0x6ab1a0c0, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
>     at gstpad.c:5765
> #7  0x76ed6630 in gst_pad_push_event_unchecked (pad=0x1044f8,
>     event=0x6ab1a0c0, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
>     at gstpad.c:5410
> #8  0x76ed0284 in push_sticky (pad=0x1044f8, ev=0x6a2fcb58,
>     user_data=0x6a2fcb98) at gstpad.c:3926
> #9  0x76ec3fec in events_foreach (pad=0x1044f8, func=0x76ed0140
> <push_sticky>,
>     user_data=0x6a2fcb98) at gstpad.c:608
> #10 0x76ed0718 in check_sticky (pad=0x1044f8, event=0x6ab1a0c0)
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190518/1afe8e2b/attachment.html>


More information about the gstreamer-devel mailing list