Opened 12 months ago

Last modified 4 weeks ago

#10411 new defect

Crash on certain videos when transcoding to x265

Reported by: eygraber Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: crash libx265 x265
Cc: eygraber Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by eygraber)

Summary of the bug:

I have a specific video file that I try to transcode to x265. As soon as I start the transcode it crashes. This happens on versions 6.0 and 6.1, and 7.0. It doesn't happen on version 4.4.2 or 5.1.1.

I am attaching the console log and gdb info and a sample file that repros the issue.

How to reproduce:

% ffmpeg -i segfault.mkv -vcodec libx265 -acodec copy  out.mkv
ffmpeg version git-master, n6.0 and n6.1-dev
built on Ubuntu 22.04

Attachments (3)

gdb.txt (14.6 KB ) - added by eygraber 12 months ago.
GDB output
ffmpeg-20230611-023320.log (58.4 KB ) - added by eygraber 12 months ago.
Console output
segfault2.mkv (790.6 KB ) - added by eygraber 9 months ago.
Snippet of video that causes the segfault

Download all attachments as: .zip

Change History (12)

by eygraber, 12 months ago

Attachment: gdb.txt added

GDB output

by eygraber, 12 months ago

Attachment: ffmpeg-20230611-023320.log added

Console output

comment:1 by eygraber, 12 months ago

Description: modified (diff)

comment:2 by eygraber, 12 months ago

Description: modified (diff)
Version: 6.0git-master

comment:3 by Balling, 12 months ago

Sample?

comment:4 by eygraber, 12 months ago

I uploaded it to https://streams.videolan.org/upload/ with the filename segfault.mkv

comment:5 by eygraber, 9 months ago

If you need more samples I recently encountered a bunch of media that has a similar issue.

comment:6 by Balling, 9 months ago

Yes, please.

by eygraber, 9 months ago

Attachment: segfault2.mkv added

Snippet of video that causes the segfault

comment:7 by eygraber, 7 months ago

Still happening with 6.1 release

comment:8 by eygraber, 4 weeks ago

Still happening with ffmpeg 7.0 and x265 53afbf5f5

comment:9 by eygraber, 4 weeks ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.