Closed rxtsolar closed 4 years ago
@rxtsolar Thanks for reporting this crash and providing much appreciated detail on how to reproduce. We verified your steps and will look into this bug in more detail.
I verified that the crash no longer happens with the patch above. Thanks!
Thanks for your verification, @rxtsolar ! We will go through the review and merging process for PR #462 soon.
I got a crash when encoding a video with resolution 720x1440. However, I tested videos with 1440x720 or even 960x1920 do not have such issue.
Here is an example.
Sample file 720x1440.yuv can be generated with ffmpeg. I used 1 frame for simplicity.
Source code is downloaded from https://github.com/OpenVisualCloud/SVT-HEVC/archive/v1.4.3.tar.gz. I also tried current master, it has the same issue.
My environment is docker on my mac book with clean Ubuntu 18.04. I also tested on AWS EC2 with Ubuntu and got the same crash.
Some debugging shows that SvtHevcEncApp crashes at EbEncDecProcess.c:1626
where segmentPtr->rowArray[rowSegmentIndex + 1].assignmentMutex is NULL.