Resolve "GStreamer-CRITICAL **: 13:33:23.770: gst_buffer_resize_range: assertion 'bufmax >= bufoffs + offset + size' failed" warning on gstreamer version 1.16 on ubuntu-20.04

Bug #1962134 reported by kunal das
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gstreamer1.0 (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned

Bug Description

Following gstreamer critical warning observed on gstreamer version 1.16 on ubuntu-20.04 with nvidia specific gst-v4l2 decoder pipeline:
"GStreamer-CRITICAL **: 13:33:23.770: gst_buffer_resize_range: assertion 'bufmax >= bufoffs + offset + size' failed"

It seems fix for the issue is already incorporated on gstreamer version 1.18 with below:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/a1b41b2b2493069365a8274c6a544e6799a5a8df

We need to backport above fix on top of gst-1.16 on ubuntu-20.04 in order to have out-of-box fix available with default gstreamer-1.0 version 1.16 on ubuntu-20.04

Revision history for this message
Loïc Minier (lool) wrote :

This patch landed upstream in 1.17.90, marking only bionic and focal as possibly affected

Changed in gstreamer1.0 (Ubuntu):
status: New → Fix Released
Revision history for this message
Loïc Minier (lool) wrote :

Would you be able to share a reproducing pipeline? ideally that can be run on vanilla Ubuntu rather than on specific hardware or with Nvidia added plugins

Revision history for this message
kunal das (kudas) wrote :

Hi Loïc Minier (lool), Thanks for the quick reply.

We have observed this issue with nvidia platform for now using the nvidia gst-v4l2 decoder plugin pipeline.

Though seems same issue was reported and aknowledged by gstreamer maintainers with fix provided in upstream gstreamer version 1.17.90.
Hence we can refer original bug reported to gstreamer maintainers for additional reference of reproducing pipeline on non-nvidia platform/plugins.
We can provide reproducing pipeline on nvidia platforms for the same if needed.

We are looking forward to get this fix backported to default gstreamer-1.0 version 1.16 on ubuntu-20.04

Please let us know the feasibility of mentioned request.

Revision history for this message
Loïc Minier (lool) wrote :

Hi Kunal,
It might be tricky to organise testing on Jetson platforms for people that will prepare the fix.

In any case, could you share instructions to reproduce? If there's a way to craft a test pipeline that trigger the issue without Jetson hardware, that would be best.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gstreamer1.0 (Ubuntu Bionic):
status: New → Confirmed
Changed in gstreamer1.0 (Ubuntu Focal):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.