Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Random crash after running for a long time #613

@gaetanaxs

Description

@gaetanaxs

We found a random crash issue after running encoder for a long time (e.g. 40 hours). The crash happens randomly when we run command like below:

ffmpeg -y -stream_loop -1 -c:v h264 -i 1.mp4 -an -c:v libsvt_hevc -rc 1 -preset 9 -r 25 -flags +cgop -g 8 -keyint_min 8 -forced-idr 1 -hielevel 0 -pred_struct 0 -bf 0 -la_depth -1 -sc_detection 0 -vf scale=w=1280:h=720 -b:v 500000 -maxrate:v 1000000 -bufsize:v 1500000 -f segment -segment_time 0.32 ./seq1_%d.mp4

With gdb, we captured two crash core dumps as follows:
1st time crash --
image
2nd time crash --
image

Both of them point to the function of EncodeQuantizedCoefficients_SSE2 in https://github.com/OpenVisualCloud/SVT-HEVC/blob/master/Source/Lib/Codec/EbEntropyCoding.c

It seems that sometimes the while(1) loop cannot be ended up successfully, leading to the final crash.

Could you help us have a look on it? Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions