[FFmpeg-devel] Crash in Niagara Workbench Streaming with FFmpeg 7.0.1+ (H.264 Codec) on Initial Attempts

Frank Plowman post at frankplowman.com
Fri Nov 22 20:06:42 EET 2024


On 22/11/2024 15:07, Kumar, Rahul via ffmpeg-devel wrote:
> I am experiencing a crash in Niagara Workbench when streaming video with the H.264 codec. The crash occurs during the first 3-4 attempts to initialize the stream but then stabilizes afterward. This issue started after upgrading FFmpeg from 6.0 to 7.0.1. Updating to 7.1 also did not resolve the issue.
> 
> Steps to Reproduce:
> 1. Use Niagara Workbench configured with FFmpeg 7.0.1.
> 2. Attempt to stream video using the H.264 codec (MaxPro camera driver in Niagara).
> 3. Observe crashes during the first few streaming attempts.
> 
> Observations:
> * FFmpeg 6.0 works without crashes.
> * Logs suggest a potential issue in memory allocation or initialization during early attempts.
> * Crash logs point to ntdll.dll, which might indicate heap corruption.
> 
> Environment:
> * OS: Windows 10 Enterprise
> * Niagara Workbench Version: [Your Version]
> * FFmpeg Versions Tested: 6.0(working fine), 7.0.1(crashing), 7.1(crashing)
> 
> Can you please suggest if any changes between FFmpeg 6.0 and 7.0.1 in the H.264 codec or JNI integration could cause this behavior? Could this be related to recently resolved issues like CVE-2024-7055 or others?
> 
> 
> Regards,
> Rahul Kumar,
> Honeywell

Hi Rahul,

Are you able to provide steps and/or bitstreams which reproduce this
issue using FFmpeg alone and not in Niagara Workbench?  There are a
number of reasons using FFmpeg 7.0.1 could crash this software which are
not due to bugs in FFmpeg.  Most notably, does the software actually
support FFmpeg 7?  This is a major version bump and so FFmpeg 7 is not
ABI- or API-compatible with FFmpeg 6.

All the best,
Frank



More information about the ffmpeg-devel mailing list