Crashes when encoding some videos with the `-mcstf --ctu 32` option

Issue #943 resolved
sommio created an issue
  • OS: Arch Linux (via ALHP)
  • extra-x86-64-v3/x265 3.6-1.1

I get a crash with x265 when encoding certain videos with the `-mcstf --ctu 32` option, and this problem can be reproduced on Debian Sid as well.

❯ x265 --input in.y4m --y4m --output test.hevc --mcstf --ctu 32
y4m  [info]: 1920x1080 fps 24000/1001 i420p8 sar 1:1 frames 0 - 23 of 24
raw  [info]: output file: test.hevc
x265 [info]: HEVC encoder version 3.6
x265 [info]: build info [Linux][GCC 14.1.1][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 3
x265 [info]: Keyframe min / max / scenecut / bias  : 23 / 250 / 40 / 5.00 
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / off / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-28.0 / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp
x265 [info]: tools: b-intra strong-intra-smoothing lslices=6 deblock sao
zsh: segmentation fault (core dumped)  x265 --input in.y4m --y4m --output test.hevc --mcstf --ctu 32
[Thread debugging using libthread_db enabled]                                                                         
Using host libthread_db library "/usr/lib/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--c
Core was generated by `x265 --input in.y4m --y4m --output test.hevc --mcstf --ctu 32'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007bd4bf32513e in x265::TemporalFilter::motionErrorLumaSAD (this=0x609325593bf0, orig=<optimized out>, 
    buffer=<optimized out>, x=160, y=0, dx=<optimized out>, dy=-764, bs=8, besterror=0)
    at /usr/src/debug/x265/x265_git/source/common/temporalfilter.cpp:253
Downloading source file /usr/src/debug/x265/x265_git/source/common/temporalfilter.cpp
253                 for (int x1 = 0; x1 < bs; x1++)                                                                   
[Current thread is 1 (Thread 0x7bd4b0c006c0 (LWP 115545))]
(gdb) bt full
#0  0x00007bd4bf32513e in x265::TemporalFilter::motionErrorLumaSAD (this=0x609325593bf0, orig=<optimized out>, 
    buffer=<optimized out>, x=160, y=0, dx=<optimized out>, dy=-764, bs=8, besterror=0)
    at /usr/src/debug/x265/x265_git/source/common/temporalfilter.cpp:253
        x1 = <optimized out>
        yOffset = <optimized out>
        sourceRow = <optimized out>
        y1 = 1
        yFilter = 0x7bd4c0320040 <s_interpolationFilter+128>
        tempArray = {{-1329681232, 31700, 16, 0, -1329681272, 31700, 0, 0, -1329681584, 31700, -1093485130, 31700, 
            0, 16842752, -1329681312, 31700, -1329681712, 31700, -1329681312, 31700, 0, 0, 0, 0, 0, 0, -1186136064, 
            -211656596, -1329674200, 31700, -1329681632, 31700, 4, 0, 1536375, 0, 5, 0, 625626512, 24723, 
            -1329681536, 31700, -1088915072, 31700, 0, 0, -1088915072, 31700, 1, 0, 1, 1, 1, 0, -1186136064, 
            -211656596, 5, 0, -1329674240, 31700, 5, 0, -1329681520, 31700}, {1344, 1344, 1344, 1344, 1344, 1344, 
            1344, 1344, 9, 0, -1088908599, 31700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1329681352, 31700, -1070014248, 
            31700, 0, 0, 0, 0, 9, 0, 7788, 0, 1, 31700, 9, 0, 0, 0, 235, 235, 9, 0, -1329674240, 31700, 249, 31700, 
            625626512, 24723, 9, 0 <repeats 13 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 
            0 <repeats 42 times>, 1342177280, 0 <repeats 13 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 1344, 
            1344, 0 <repeats 41 times>, 1346502656, 0 <repeats 14 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 
            1344, 1344, 0 <repeats 40 times>, 1346519552, 0 <repeats 15 times>}, {1344, 1344, 1344, 1344, 1344, 
            1344, 1344, 1344, 0 <repeats 39 times>, 1346519618, 0 <repeats 16 times>}, {1344, 1344, 1344, 1344, 
            1344, 1344, 1344, 1344, 0 <repeats 37 times>, 1107296256, 1347437122, 0 <repeats 17 times>}, {1344, 
            1344, 1344, 1344, 1344, 1344, 1344, 1344, 0 <repeats 36 times>, 1346502656, 1346519618, 
            0 <repeats 18 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 0 <repeats 35 times>, 
            1111638528, 1346519632, 0 <repeats 19 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 
            0 <repeats 34 times>, 1346519618, 1346519618, 0 <repeats 20 times>}, {1344, 1344, 1344, 1344, 1344, 
            1344, 1344, 1344, 0 <repeats 32 times>, 1107296256, 1112556098, 1346519618, 0 <repeats 21 times>}, {
            1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 0 <repeats 56 times>}, {1344, 1344, 1344, 1344, 1344, 
            1344, 1344, 1344, 0 <repeats 56 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 
            0 <repeats 56 times>}, {1344, 1344, 1344, 1344, 1344, 1344, 1344, 1344, 0 <repeats 56 times>}, {
            0 <repeats 64 times>} <repeats 11 times>, {0 <repeats 20 times>, -1082828231, 31700, -1088953165, 31700, 
            0, 0, 67, 0, 67, 679265, 425853, 32, 268, 0, 9, 67, 536, 0, -1623354224, 31700, 48, 8159, -1329674895, 
            31700, 10, 31700, 626635160, 24723, 16907232, 1, 120, 0, -1329674928, 31700, -1082828256, 31700, 
            -1329674768, 31700, 120, 31700, 320017172, 336860179, 336860180, 336860180}, {320082964, 320017172, 
            320017171, 320017171, 320017427, 336859923, 336860180, 336860180, 336860180, 320017428, 320017171, 
            320017171, 4883, 0, -1717986918, 1069128089, 336860180, 336860180, -1093495563, 31700, 320017171, 
            336794387, 0, 0, -1329671948, 31700, 0, 0, -1329671992, 31700, 0, 0, -1329674576, 31700, -1093485130, 
            31700, 320017171, 336860180, -1329672032, 31700, -1329674704, 31700, -1329672032, 31700, 3, 0, 4, 0, 
            -1631711192, 31700, 320082707, 1, -1093485552, 31700, -1329674672, 31700, -1329672080, 31700, 2, 4, 3, 
            0, -1186136064, -211656596}, {3, 0, -1329674560, 31700, 4, 0, -1329674240, 31700, 2, 0, 3, 0, 
            -1329663120, 31700, -1088893163, 31700, -1329669856, 31700, -1329672032, 31700, -1329663120, 31700, 
            -1088897695, 31700, 0, 0, 0, 0, 0, 0, 0, 0, -1329669856, 31700, 625626512, 24723, -1329669904, 31700, 
            -1329672072, 31700, -1329670143, 31700, -1329669896, 31700, 4, 0, 3, 0, -1329672032, 31700, -1329671992, 
            31700, -1329669816, 31700, 3, 5, 625626600, 24723, -1329674240, 31700, 0, 0, 0, 1}, {-1635890000, 31700, 
            -1633800720, 31700, -1631711440, 31700, -1629622160, 31700, -1627532880, 31700, -1625443600, 31700, 
            0 <repeats 28 times>, -1637979184, 31700, -1635889904, 31700, -1633800624, 31700, -1631711344, 31700, 
            -1629622064, 31700, -1627532784, 31700, -1625443504, 31700, -1623354224, 31700, -1621264944, 31700, 
            -1619175664, 31700, 0, 0, 0, 0}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, 
          {0 <repeats 64 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {
--Type <RET> for more, q to quit, c to continue without paging--c
            0 <repeats 64 times>}, {0, 0, 0, 0, -1070014248, 31700, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 
            0 <repeats 14 times>, 4, 0, 0, 0, 0, 0, 0, 0, 0, -1623354320, 31700, -1621265040, 31700, -1619175760, 
            31700, 0 <repeats 14 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {
            0 <repeats 64 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {0 <repeats 64 times>}, {
            0 <repeats 32 times>, 625626512, 24723, 0, 0, 15, 0, 16, 0, 17, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 
            0 <repeats 11 times>}, {0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 625626512, 24723, -1329674240, 31700, 
            0 <repeats 48 times>}, {0 <repeats 64 times>} <repeats 11 times>, {0 <repeats 56 times>, 1, 0, 
            -1093747487, 31700, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, -1092379016, 31700, 2, 0, -1329666288, 31700, 1, 0, 
            -1093720455, 31700, -1329664256, 31700, 4, 0, -4, 0, 2, 0, -1329665856, 31700, -1093716460, 31700, 
            775022784, 12336, -1093718121, 31700, 0, -1610612736, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163840, 0, 160, 
            0 <repeats 17 times>}, {0, 0, -1093717537, 31700, 0, 1, 6, 0, 102, 0, 4, 0, -1092103232, 31700, 
            2147483647, 1, -1329666352, 31700, 0, 3014656, 1, 46, -1329666350, 31700, 2, 0, -1329665408, 31700, 2, 
            0, 0, 0, -4, 31700, 0, 0, 0, 0, 0, 0, 895, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 0, -1329666240, 31700, 2, 0, 
            -1329666336, 31700, 0, 0, -1329666288, 31700, 2, 0}, {0, 1048576, 0, 0, 0, 0, 0, 0, 0, 0, -1186136064, 
            -211656596, 0, 0, -1092103232, 31700, 0, 0, -1329665408, 31700, -1092334822, 31700, -1092327405, 31700, 
            -1329665600, 31700, -1093710396, 31700, -1329665728, 31700, -1329665728, 31700, -1329664256, 31700, 
            -1329665432, 31700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1092334822, 31700, -1092327405, 31700, 
            0 <repeats 14 times>}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1186136064, -211656596, 0, 0, -1093720455, 31700, 
            -1070532175, 31700, -1070535728, 31700, -1329664176, 31700, -1329664256, 31700, -1329664272, 31700, 
            -1093684292, 31700, -1, -1, -1093720455, 31700, -1677717248, 31700, -1070520281, 31700, -1329664112, 
            31700, -1329664192, 31700, -1329664208, 31700, -1093684292, 31700, -1, -1, -1329664329, 0, -1070520388, 
            31700, -1070520400, 31700, 0, 0, 0, 1, 100, 32, 0, 0, 0, 0, -1329664267, 31700}, {1, 0, -1088931652, 
            31700, 0, 0, 0, 0, 4, 0, -1628916416, 31700, 72, 0, -1629622064, 31700, -1629622064, 31700, -1628916096, 
            31700, 625626512, 24723, 625093824, 24723, -1329663200, 31700, 4, 0, 625626512, 24723, 4, 0, 
            -1677703904, 31700, -1629622160, 31700, -1329663056, 31700, -1088929998, 31700, 0, -939524096, 0, 0, 0, 
            0, 0, 0, 0, 0, 0, 0, -1629622160, 31700, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {-1617047392, 31700, 4, 0, 0, 0, 
            0, 0, 0, 0, -1093717537, 31700, 0, 1, 625093824, 24723, -1637979184, 31700, -1640068464, 31700, 
            -1637979184, 31700, 2147483647, 1, -1629622064, 31700, 0, 3046356, 3, 46, -1329665294, 31700, 2, 0, 
            -1329664352, 31700, 2, 0, 0, 0, -6, 31700, 0, 0, 0, 0, 0, 0, 895, 0, 0, 0, 0, 0, 0, 0, 0, 102, 2, 0, 
            -1329665184, 31700, 2, 0}, {-1329665280, 31700, 1, 0, -1329665232, 31700, 2, 0, -2147483648, 1678615, 0, 
            0, 0, 0, 160, 0, 0, 0, -1186136064, -211656596, 0, 0, -1092103232, 31700, 0, 0, -1329664352, 31700, 
            -1092334822, 31700, -1092327405, 31700, -1329664544, 31700, -1093710396, 31700, -1329664672, 31700, 
            -1093720455, 31700, -1329662859, 31700, -6638929, 24722, -1329663088, 31700, -1329663344, 31700, 
            -1329663408, 31700, -1093684292, 31700, -1, -1, -1092334822, 0, -6638931, 24722, -6638931, 24722, 0, 0, 
            0, 0}, {0, 0, 0, 0, 2, 0 <repeats 11 times>, 1, 32, 0, 0, 0, 0, 0, 31700, 0, 0, -6602671, 24722, 
            -1329663120, 31700, -1329663200, 31700, -1329663216, 31700, -1093684292, 31700, -1, -1, 0, 0, -6602730, 
            24722, 24, 48, -1329662864, 31700, -1329663056, 31700, 100, 0, 0, 0, 6, 31488, -1329663274, 31700, 
            -1329663272, 31700, 2, 0, 2, 0, 10, 31700}, {9, 31536, 0, 0, 0, 0, 0, 0, 64, 0, -1329664368, 31700, 
            -2147483648, 1079614743, 3584, 0, 2, 0, 102, 0, 32, 0, -1677721552, 31700, -1329664240, 31700, 32, 48, 
            -1329662896, 31700, -1329663088, 31700, 39, 0, 2296, 0, -1329664208, 31700, -1093412302, 31700, 0, 0, 
            -1677710800, 31700, -1329664176, 31700, 64, 0, -1329664144, 31700, -152, -1, 0, 0, -1677718096, 31700, 
            -1329664128, 31700, -1093411410, 31700, -1329664112, 31700, -1093427604, 31700}, {-1329664096, 31700, 
            -1093427604, 31700, 82, 0, 4096, 0, 2448, 0, -1677721552, 31700, 4096, 0, -1677713248, 31700, 
            -1329664032, 31700, -1093422646, 31700, 0, 0, -1677721552, 31700, 0, 0, -1677717264, 31700, -1677713152, 
            31700, 625098352, 24723, -1329663952, 31700, -1093421750, 31700, 0, 0, 625175136, 24723, -16777216, 39, 
            -152, -1, 0, 0, -152, -1, 0, 0, -1677717264, 31700, -1329663888, 31700, -1093427604, 31700, 625175136, 
            24723, 12608, 0, 625175136, 24723, -1677721552, 31700}, {12608, 0, -1677704736, 31700, -1329663824, 
            31700, -1093422646, 31700, -1070537186, 31700, -1677721552, 31700, 0, 0, -1677708752, 31700, 
            -1329663616, 31700, -1329663648, 31700, -1329663744, 31700, -1093420317, 31700, -1329663728, 31700, 
            2121728, 0, 2138112, 0, -1186136064, -211656596, -1677721600, 31700, 2789376, 0, -1807745024, 31700, 
            -1186136064, -211656596, -1329663696, 31700, -1087352755, 31700, -1637979280, 31700, -1637979280, 31700, 
            -1329663296, 31700, 59, 0, -1329663648, 31700, -1093514075, 31700, -1092102944, 31700, -1092112304, 
            31700, -1329663296, 31700, 59, 0}, {-1329663584, 31700, -1093521859, 31700, 6267008, 0, -1092102944, 
            31700, 59, 0, -1329663296, 31700, -1637979280, 31700, -1642157840, 31700, -1646336400, 31700, 
            -1652604240, 31700, 21340160, 0, 2033959680, 31700, 2013265920, 31700, -1093420317, 31700, 59, 0, 
            21344256, 0, 21348352, 0, 2034609744, 31700, 2013265920, 31700, 2544, 0, 0, 0, -1186136064, -211656596, 
            -1637979280, 31700, 2512, 0, -1677721552, 31700, 2496, 0, 0, 0, -96, -1, -1329663328, 31700, 
            -1677721552, 31700, 32, 0, 2034609776, 31700}}
        iSum = <optimized out>
        xFilter = 0x7bd4c0320040 <s_interpolationFilter+128>
        iBase = <optimized out>
        maxSampleValue = <optimized out>
        origOrigin = 0xfffffff9 <error: Cannot access memory at address 0xfffffff9>
        origStride = <optimized out>
        buffOrigin = <optimized out>
        buffStride = 2048
        error = 0
#1  0x00007bd4bf333e66 in x265::TemporalFilter::motionEstimationLumaDoubleRes (this=<optimized out>, 
    mvs=0x7bd4b2e00040, mvStride=480, orig=<optimized out>, buffer=0x7bd49f1e3d50, blockSize=<optimized out>, 
    previous=0x7bd4b3666040, prevMvStride=<optimized out>, factor=<optimized out>, minError=0x7bd4b2a0a040)
    at /usr/src/debug/x265/x265_git/source/common/temporalfilter.cpp:897
        x2 = -764
        y2 = -764
        best = <optimized out>
        pelOffset = <optimized out>
        leastError = 0
        prevBest = {{{x = -752, y = -752}, word = -3225520440048}}
        doubleRange = 12
        avg = <optimized out>
        variance = <optimized out>
        mvIdx = <optimized out>
        blockX = 160
        blockY = 0
        range = <optimized out>
        stepSize = <optimized out>
        origWidth = 1920
        origHeight = 1080
        error = <optimized out>
#2  0x00007bd4bf1cb47f in x265::Encoder::encode (this=<optimized out>, pic_in=<optimized out>, 
    pic_out=<optimized out>) at /usr/src/debug/x265/x265_git/source/encoder/encoder.cpp:2414
        ref = 0x60932543e650
        i = 4 '\004'
        inputPic = <optimized out>
        dontRead = <optimized out>
        dropflag = <optimized out>
        curEncoder = <optimized out>
        ret = <optimized out>
        outFrame = <optimized out>
        frameEnc = 0x7bd49eddf070
        pass = <optimized out>
        read = 0
        written = 0
        paramBytes = 8
#3  0x00007bd4bf1de03c in x265_encoder_encode (enc=<optimized out>, pp_nal=<optimized out>, pi_nal=<optimized out>, 
    pic_in=<optimized out>, pic_out=<optimized out>) at /usr/src/debug/x265/x265_git/source/encoder/api.cpp:580
        encoder = <optimized out>
        numEncoded = <optimized out>
        encoder = <optimized out>
        numEncoded = <optimized out>
        bs = <optimized out>
#4  x265_encoder_encode (enc=0x609325423e70, pp_nal=0x7bd4b0bef658, pi_nal=0x7bd4b0bef654, pic_in=0x0, pic_out=0x0)
    at /usr/src/debug/x265/x265_git/source/encoder/api.cpp:409
        encoder = <optimized out>
        numEncoded = <optimized out>
        bs = <optimized out>
#5  0x00006092ff9a7da6 in x265::PassEncoder::threadMain (this=0x609325422b20)
    at /usr/src/debug/x265/x265_git/source/abrEncApp.cpp:765
        numEncoded = <optimized out>
        pic_recon = 0x0
        stats = {globalPsnrY = 0, globalPsnrU = 0, globalPsnrV = 0, globalPsnr = 0, globalSsim = 0, 
          elapsedEncodeTime = 0, elapsedVideoTime = 0, bitrate = 0, aggregateVmafScore = 0, accBits = 0, 
          encodedPictureCount = 0, totalWPFrames = 0, statsI = {avgQp = 0, bitrate = 0, psnrY = 0, psnrU = 0, 
            psnrV = 0, ssim = 0, numPics = 0}, statsP = {avgQp = 0, bitrate = 0, psnrY = 0, psnrU = 0, psnrV = 0, 
            ssim = 0, numPics = 0}, statsB = {avgQp = 0, bitrate = 0, psnrY = 0, psnrU = 0, psnrV = 0, ssim = 0, 
            numPics = 0}, maxCLL = 0, maxFALL = 0}
        analysisInfo = 0x7bd4b0bf7b40
        isAbrSave = false
        pic_orig = {pts = 23, dts = 0, userData = 0x0, planes = {0x7bd4ab200040, 0x7bd4ab3fa440, 0x7bd4ab478d40}, 
          stride = {1920, 960, 960}, bitDepth = 8, sliceType = 0, poc = 24, colorSpace = 1, forceqp = 0, 
          analysisData = {satdCost = 0, frameRecordSize = 0, poc = 0, sliceType = 0, numCUsInFrame = 0, 
            numPartitions = 0, depthBytes = 0, edgeHist = {0, 0}, yuvHist = {{0 <repeats 1024 times>}, {
                0 <repeats 1024 times>}, {0 <repeats 1024 times>}}, bScenecut = 0, wt = 0x0, interData = 0x0, 
            intraData = 0x0, numCuInHeight = 0, lookahead = {plannedSatd = {0 <repeats 251 times>}, vbvCost = 0x0, 
              intraVbvCost = 0x0, satdForVbv = 0x0, intraSatdForVbv = 0x0, keyframe = 0, lastMiniGopBFrame = 0, 
              plannedType = {0 <repeats 251 times>}, dts = 0, reorderedPts = 0}, modeFlag = {0x0, 0x0}, saveParam = {
              maxNumReferences = 0, analysisReuseLevel = 0, sourceWidth = 0, sourceHeight = 0, keyframeMax = 0, 
              keyframeMin = 0, openGOP = 0, bframes = 0, bPyramid = 0, maxCUSize = 0, minCUSize = 0, 
              intraRefresh = 0, lookaheadDepth = 0, chunkStart = 0, chunkEnd = 0, cuTree = 0, 
              ctuDistortionRefine = 0, rightOffset = 0, bottomOffset = 0, frameDuplication = 0}, 
            distortionData = 0x0, frameBits = 0, list0POC = {0 <repeats 16 times>}, list1POC = {
              0 <repeats 16 times>}, totalIntraPercent = 0}, quantOffsets = 0x0, frameData = {qp = 0, 
            rateFactor = 0, psnrY = 0, psnrU = 0, psnrV = 0, psnr = 0, ssim = 0, decideWaitTime = 0, 
            row0WaitTime = 0, wallTime = 0, refWaitWallTime = 0, totalCTUTime = 0, stallTime = 0, avgWPP = 0, 
            avgLumaDistortion = 0, avgChromaDistortion = 0, avgPsyEnergy = 0, avgResEnergy = 0, avgLumaLevel = 0, 
            bufferFill = 0, bits = 0, encoderOrder = 0, poc = 0, countRowBlocks = 0, list0POC = {
              0 <repeats 16 times>}, list1POC = {0 <repeats 16 times>}, maxLumaLevel = 0, minLumaLevel = 0, 
            maxChromaULevel = 0, minChromaULevel = 0, avgChromaULevel = 0, maxChromaVLevel = 0, minChromaVLevel = 0, 
            avgChromaVLevel = 0, sliceType = 0 '\000', bScenecut = 0, ipCostRatio = 0, frameLatency = 0, cuStats = {
              percentSkipCu = {0, 0, 0, 0}, percentMergeCu = {0, 0, 0, 0}, percentIntraDistribution = {{0, 0, 0}, {
                  0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentInterDistribution = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 
                  0, 0}}, percentIntraNxN = 0}, puStats = {percentSkipPu = {0, 0, 0, 0}, percentIntraPu = {0, 0, 0, 
                0}, percentAmpPu = {0, 0, 0, 0}, percentInterPu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, 
              percentMergePu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentNxN = 0}, totalFrameTime = 0, 
            vmafFrameScore = 0, bufferFillFinal = 0, unclippedBufferFillFinal = 0, tLayer = 0 '\000'}, userSEI = {
            numPayloads = 0, payloads = 0x0}, rcData = 0x0, framesize = 3110400, height = 1080, reorderedPts = 0, 
          rpu = {payloadSize = 0, payload = 0x0}, fieldNum = 0, picStruct = 0, width = 1920}
        pts_queue = 0x0
        errorBuf = <optimized out>
        picField1 = {pts = 0, dts = 0, userData = 0x0, planes = {0x0, 0x0, 0x0}, stride = {0, 0, 0}, bitDepth = 0, 
          sliceType = 0, poc = 0, colorSpace = 0, forceqp = 0, analysisData = {satdCost = 0, frameRecordSize = 0, 
            poc = 0, sliceType = 0, numCUsInFrame = 0, numPartitions = 0, depthBytes = 0, edgeHist = {0, 0}, 
            yuvHist = {{0 <repeats 1024 times>}, {0 <repeats 1024 times>}, {0 <repeats 1024 times>}}, bScenecut = 0, 
            wt = 0x0, interData = 0x0, intraData = 0x0, numCuInHeight = 0, lookahead = {plannedSatd = {
                0 <repeats 251 times>}, vbvCost = 0x0, intraVbvCost = 0x0, satdForVbv = 0x0, intraSatdForVbv = 0x0, 
              keyframe = 0, lastMiniGopBFrame = 0, plannedType = {0 <repeats 251 times>}, dts = 0, 
              reorderedPts = 0}, modeFlag = {0x0, 0x0}, saveParam = {maxNumReferences = 0, analysisReuseLevel = 0, 
              sourceWidth = 0, sourceHeight = 0, keyframeMax = 0, keyframeMin = 0, openGOP = 0, bframes = 0, 
              bPyramid = 0, maxCUSize = 0, minCUSize = 0, intraRefresh = 0, lookaheadDepth = 0, chunkStart = 0, 
              chunkEnd = 0, cuTree = 0, ctuDistortionRefine = 0, rightOffset = 0, bottomOffset = 0, 
              frameDuplication = 0}, distortionData = 0x0, frameBits = 0, list0POC = {0 <repeats 16 times>}, 
            list1POC = {0 <repeats 16 times>}, totalIntraPercent = 0}, quantOffsets = 0x0, frameData = {qp = 0, 
            rateFactor = 0, psnrY = 0, psnrU = 0, psnrV = 0, psnr = 0, ssim = 0, decideWaitTime = 0, 
            row0WaitTime = 0, wallTime = 0, refWaitWallTime = 0, totalCTUTime = 0, stallTime = 0, avgWPP = 0, 
            avgLumaDistortion = 0, avgChromaDistortion = 0, avgPsyEnergy = 0, avgResEnergy = 0, avgLumaLevel = 0, 
            bufferFill = 0, bits = 0, encoderOrder = 0, poc = 0, countRowBlocks = 0, list0POC = {
              0 <repeats 16 times>}, list1POC = {0 <repeats 16 times>}, maxLumaLevel = 0, minLumaLevel = 0, 
            maxChromaULevel = 0, minChromaULevel = 0, avgChromaULevel = 0, maxChromaVLevel = 0, minChromaVLevel = 0, 
            avgChromaVLevel = 0, sliceType = 0 '\000', bScenecut = 0, ipCostRatio = 0, frameLatency = 0, cuStats = {
              percentSkipCu = {0, 0, 0, 0}, percentMergeCu = {0, 0, 0, 0}, percentIntraDistribution = {{0, 0, 0}, {
                  0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentInterDistribution = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 
                  0, 0}}, percentIntraNxN = 0}, puStats = {percentSkipPu = {0, 0, 0, 0}, percentIntraPu = {0, 0, 0, 
                0}, percentAmpPu = {0, 0, 0, 0}, percentInterPu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, 
              percentMergePu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentNxN = 0}, totalFrameTime = 0, 
            vmafFrameScore = 0, bufferFillFinal = 0, unclippedBufferFillFinal = 0, tLayer = 0 '\000'}, userSEI = {
            numPayloads = 0, payloads = 0x0}, rcData = 0x0, framesize = 0, height = 0, reorderedPts = 0, rpu = {
            payloadSize = 0, payload = 0x0}, fieldNum = 0, picStruct = 0, width = 0}
        api = 0x7bd4c039dae0 <_ZL6libapi.lto_priv.0>
        inFrameCount = <optimized out>
        outFrameCount = 13
        p_nal = 0x609325436a60
        nal = 1
        inputPicNum = <optimized out>
        picField2 = {pts = 0, dts = 0, userData = 0x0, planes = {0x0, 0x0, 0x0}, stride = {0, 0, 0}, bitDepth = 0, 
          sliceType = 0, poc = 0, colorSpace = 0, forceqp = 0, analysisData = {satdCost = 0, frameRecordSize = 0, 
            poc = 0, sliceType = 0, numCUsInFrame = 0, numPartitions = 0, depthBytes = 0, edgeHist = {0, 0}, 
            yuvHist = {{0 <repeats 1024 times>}, {0 <repeats 1024 times>}, {0 <repeats 1024 times>}}, bScenecut = 0, 
            wt = 0x0, interData = 0x0, intraData = 0x0, numCuInHeight = 0, lookahead = {plannedSatd = {
                0 <repeats 251 times>}, vbvCost = 0x0, intraVbvCost = 0x0, satdForVbv = 0x0, intraSatdForVbv = 0x0, 
              keyframe = 0, lastMiniGopBFrame = 0, plannedType = {0 <repeats 251 times>}, dts = 0, 
              reorderedPts = 0}, modeFlag = {0x0, 0x0}, saveParam = {maxNumReferences = 0, analysisReuseLevel = 0, 
              sourceWidth = 0, sourceHeight = 0, keyframeMax = 0, keyframeMin = 0, openGOP = 0, bframes = 0, 
              bPyramid = 0, maxCUSize = 0, minCUSize = 0, intraRefresh = 0, lookaheadDepth = 0, chunkStart = 0, 
              chunkEnd = 0, cuTree = 0, ctuDistortionRefine = 0, rightOffset = 0, bottomOffset = 0, 
              frameDuplication = 0}, distortionData = 0x0, frameBits = 0, list0POC = {0 <repeats 16 times>}, 
            list1POC = {0 <repeats 16 times>}, totalIntraPercent = 0}, quantOffsets = 0x0, frameData = {qp = 0, 
            rateFactor = 0, psnrY = 0, psnrU = 0, psnrV = 0, psnr = 0, ssim = 0, decideWaitTime = 0, 
            row0WaitTime = 0, wallTime = 0, refWaitWallTime = 0, totalCTUTime = 0, stallTime = 0, avgWPP = 0, 
            avgLumaDistortion = 0, avgChromaDistortion = 0, avgPsyEnergy = 0, avgResEnergy = 0, avgLumaLevel = 0, 
            bufferFill = 0, bits = 0, encoderOrder = 0, poc = 0, countRowBlocks = 0, list0POC = {
              0 <repeats 16 times>}, list1POC = {0 <repeats 16 times>}, maxLumaLevel = 0, minLumaLevel = 0, 
            maxChromaULevel = 0, minChromaULevel = 0, avgChromaULevel = 0, maxChromaVLevel = 0, minChromaVLevel = 0, 
            avgChromaVLevel = 0, sliceType = 0 '\000', bScenecut = 0, ipCostRatio = 0, frameLatency = 0, cuStats = {
              percentSkipCu = {0, 0, 0, 0}, percentMergeCu = {0, 0, 0, 0}, percentIntraDistribution = {{0, 0, 0}, {
                  0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentInterDistribution = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 
                  0, 0}}, percentIntraNxN = 0}, puStats = {percentSkipPu = {0, 0, 0, 0}, percentIntraPu = {0, 0, 0, 
                0}, percentAmpPu = {0, 0, 0, 0}, percentInterPu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, 
              percentMergePu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentNxN = 0}, totalFrameTime = 0, 
            vmafFrameScore = 0, bufferFillFinal = 0, unclippedBufferFillFinal = 0, tLayer = 0 '\000'}, userSEI = {
            numPayloads = 0, payloads = 0x0}, rcData = 0x0, framesize = 0, height = 0, reorderedPts = 0, rpu = {
            payloadSize = 0, payload = 0x0}, fieldNum = 0, picStruct = 0, width = 0}
        largest_pts = <optimized out>
        profileName = 0x6092ff9ab03a "x265"
        pic_in = <optimized out>
        bDolbyVisionRPU = <optimized out>
        second_largest_pts = <optimized out>
        reconPlay = 0x0
        pic_out = {pts = 0, dts = 0, userData = 0x0, planes = {0x0, 0x0, 0x0}, stride = {0, 0, 0}, bitDepth = 0, 
          sliceType = 0, poc = 0, colorSpace = 0, forceqp = 0, analysisData = {satdCost = 0, frameRecordSize = 0, 
            poc = 0, sliceType = 0, numCUsInFrame = 0, numPartitions = 0, depthBytes = 0, edgeHist = {0, 0}, 
            yuvHist = {{0 <repeats 1024 times>}, {0 <repeats 1024 times>}, {0 <repeats 1024 times>}}, bScenecut = 0, 
            wt = 0x0, interData = 0x0, intraData = 0x0, numCuInHeight = 0, lookahead = {plannedSatd = {
                0 <repeats 251 times>}, vbvCost = 0x0, intraVbvCost = 0x0, satdForVbv = 0x0, intraSatdForVbv = 0x0, 
              keyframe = 0, lastMiniGopBFrame = 0, plannedType = {0 <repeats 251 times>}, dts = 0, 
              reorderedPts = 0}, modeFlag = {0x0, 0x0}, saveParam = {maxNumReferences = 0, analysisReuseLevel = 0, 
              sourceWidth = 0, sourceHeight = 0, keyframeMax = 0, keyframeMin = 0, openGOP = 0, bframes = 0, 
              bPyramid = 0, maxCUSize = 0, minCUSize = 0, intraRefresh = 0, lookaheadDepth = 0, chunkStart = 0, 
              chunkEnd = 0, cuTree = 0, ctuDistortionRefine = 0, rightOffset = 0, bottomOffset = 0, 
              frameDuplication = 0}, distortionData = 0x0, frameBits = 0, list0POC = {0 <repeats 16 times>}, 
            list1POC = {0 <repeats 16 times>}, totalIntraPercent = 0}, quantOffsets = 0x0, frameData = {qp = 0, 
            rateFactor = 0, psnrY = 0, psnrU = 0, psnrV = 0, psnr = 0, ssim = 0, decideWaitTime = 0, 
            row0WaitTime = 0, wallTime = 0, refWaitWallTime = 0, totalCTUTime = 0, stallTime = 0, avgWPP = 0, 
            avgLumaDistortion = 0, avgChromaDistortion = 0, avgPsyEnergy = 0, avgResEnergy = 0, avgLumaLevel = 0, 
            bufferFill = 0, bits = 0, encoderOrder = 0, poc = 0, countRowBlocks = 0, list0POC = {
              0 <repeats 16 times>}, list1POC = {0 <repeats 16 times>}, maxLumaLevel = 0, minLumaLevel = 0, 
            maxChromaULevel = 0, minChromaULevel = 0, avgChromaULevel = 0, maxChromaVLevel = 0, minChromaVLevel = 0, 
            avgChromaVLevel = 0, sliceType = 0 '\000', bScenecut = 0, ipCostRatio = 0, frameLatency = 0, cuStats = {
              percentSkipCu = {0, 0, 0, 0}, percentMergeCu = {0, 0, 0, 0}, percentIntraDistribution = {{0, 0, 0}, {
                  0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentInterDistribution = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 
                  0, 0}}, percentIntraNxN = 0}, puStats = {percentSkipPu = {0, 0, 0, 0}, percentIntraPu = {0, 0, 0, 
                0}, percentAmpPu = {0, 0, 0, 0}, percentInterPu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, 
              percentMergePu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentNxN = 0}, totalFrameTime = 0, 
            vmafFrameScore = 0, bufferFillFinal = 0, unclippedBufferFillFinal = 0, tLayer = 0 '\000'}, userSEI = {
            numPayloads = 0, payloads = 0x0}, rcData = 0x0, framesize = 0, height = 0, reorderedPts = 0, rpu = {
            payloadSize = 0, payload = 0x0}, fieldNum = 0, picStruct = 0, width = 0}
        rpuPayload = <optimized out>
        bCreated = 0
#6  0x00007bd4bf2e666e in x265::stackAlignMain (instance=<optimized out>)
    at /usr/src/debug/x265/x265_git/source/common/threading.cpp:91
No locals.
#7  x265::ThreadShim (opaque=<optimized out>) at /usr/src/debug/x265/x265_git/source/common/threading.cpp:131
        instance = <optimized out>
#8  0x00007bd4bed2cded in start_thread (arg=<optimized out>) at pthread_create.c:447
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {136153428657856, 7287630363553448129, 136153428657856, -152, 0, 
                140730681700240, 7287630363566031041, 7287600375681269953}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#9  0x00007bd4bedb00dc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
No locals.

Comments (2)

  1. Log in to comment