dav1d hangs extremely rarely
There's a very hard to trigger hang on master. You will eventually encounter it if you run the CI long enough (hours / days).
Currently detected on: (file, n_threads)
8-bit/data/00000039.ivf 4
8-bit/data/00000109.ivf 8
8-bit/data/00000123.ivf 4
8-bit/data/00000201.ivf 4
8-bit/data/00000309.ivf 8
8-bit/data/00000534.ivf 2
8-bit/data/00000577.ivf 4
8-bit/data/00000581.ivf 4
8-bit/data/00000613.ivf 2
8-bit/data/00000625.ivf 2
8-bit/data/00000627.ivf 4
8-bit/data/00000633.ivf 4
8-bit/data/00000634.ivf 4
8-bit/data/00000648.ivf 4
8-bit/data/00000649.ivf 2,4
8-bit/data/00000650.ivf 4
8-bit/data/00000664.ivf 8
8-bit/data/00000666.ivf 4
8-bit/data/00000707.ivf 4
8-bit/data/00000713.ivf 4
8-bit/data/00000746.ivf 8
8-bit/data/00000792.ivf 4
8-bit/data/00000796.ivf 2
8-bit/data/00000808.ivf 4
8-bit/data/00000810.ivf 4
8-bit/issues/48-delayed.ivf 4
This can be more easily triggered by running only on a specific range of samples, which are most likely to encounter it: 8-bit/data/501.ivf
- 8-bit/data/810.ivf
(timeout change is to allow attaching a debugger to the hanging test)
diff --git a/10-bit/meson.build b/10-bit/meson.build
index 4cfa56b..0892069 100644
--- a/10-bit/meson.build
+++ b/10-bit/meson.build
@@ -31,7 +31,7 @@ subdir('quantizer')
foreach test : tests
test(test[0], dav1d, suite: 'testdata-10',
args: dav1d_test_args + ['-i', test[1], '--verify', test[2]])
- test(test[0], seek_stress, suite: 'testdata_seek-stress', timeout: 60,
+ test(test[0], seek_stress, suite: 'testdata_seek-stress', timeout: 60000,
args: dav1d_test_args + ['-i', test[1], '--muxer', 'null'])
endforeach
diff --git a/12-bit/meson.build b/12-bit/meson.build
index 57fb839..2024fdc 100644
--- a/12-bit/meson.build
+++ b/12-bit/meson.build
@@ -30,6 +30,6 @@ subdir('features')
foreach test : tests
test(test[0], dav1d, suite: 'testdata-12',
args: dav1d_test_args + ['-i', test[1], '--verify', test[2]])
- test(test[0], seek_stress, suite: 'testdata_seek-stress', timeout: 60,
+ test(test[0], seek_stress, suite: 'testdata_seek-stress', timeout: 60000,
args: dav1d_test_args + ['-i', test[1], '--muxer', 'null'])
endforeach
diff --git a/8-bit/data/meson.build b/8-bit/data/meson.build
index 76f5af7..e55e80c 100644
--- a/8-bit/data/meson.build
+++ b/8-bit/data/meson.build
@@ -23,127 +23,127 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tests += [
- ['00000000', files('00000000.ivf'), '0b31f7ae90dfa22cefe0f2a1ad97c620'],
- ['00000001', files('00000001.ivf'), '98b8c18a74a27a4fc1436f08b73b9270'],
- ['00000002', files('00000002.ivf'), '5dc544ccf0ad20eac1b7fb818972df78'],
- ['00000003', files('00000003.ivf'), '98b8c18a74a27a4fc1436f08b73b9270'],
- ['00000004', files('00000004.ivf'), '5dc544ccf0ad20eac1b7fb818972df78'],
- ['00000009', files('00000009.ivf'), 'df33eb1aff0c7504eeddc438bee0d7c0'],
- ['00000011', files('00000011.ivf'), '6e1a34166969dbd4ef40f80b2adb791c'],
- ['00000013', files('00000013.ivf'), 'fb7b42cea50c95aad525c66c66d68daf'],
- ['00000015', files('00000015.ivf'), 'ba2ce322eb84104a73702ab432224d6b'],
- ['00000017', files('00000017.ivf'), 'f8ee21276140482029bb96c139b15b93'],
- ['00000019', files('00000019.ivf'), 'f8ee21276140482029bb96c139b15b93'],
- ['00000021', files('00000021.ivf'), 'b665c1f571959e2464625c60d5c36ef1'],
- ['00000023', files('00000023.ivf'), 'b665c1f571959e2464625c60d5c36ef1'],
- ['00000025', files('00000025.ivf'), 'f661bd50f6ea5257c99a3bc575edbbc6'],
- ['00000027', files('00000027.ivf'), 'f661bd50f6ea5257c99a3bc575edbbc6'],
- ['00000029', files('00000029.ivf'), '463e711fc1407ef6c90e700836cee7b8'],
- ['00000031', files('00000031.ivf'), '463e711fc1407ef6c90e700836cee7b8'],
- ['00000033', files('00000033.ivf'), '16a4c500c3ac9d15d138bc6f17164368'],
- ['00000035', files('00000035.ivf'), '16a4c500c3ac9d15d138bc6f17164368'],
- ['00000037', files('00000037.ivf'), '96a706478ea4e730d47359c02c540262'],
- ['00000039', files('00000039.ivf'), '96a706478ea4e730d47359c02c540262'],
- ['00000041', files('00000041.ivf'), 'ec8dd921276a42b5659e25399b968210'],
- ['00000043', files('00000043.ivf'), 'ec8dd921276a42b5659e25399b968210'],
- ['00000045', files('00000045.ivf'), '3f2f71acae1440795007750c6a493b5f'],
- ['00000047', files('00000047.ivf'), 'b36cc29630ef96eca27d7f9977fbe29d'],
- ['00000049', files('00000049.ivf'), '91abe08a400eea814558f60aab74c59c'],
- ['00000051', files('00000051.ivf'), '91abe08a400eea814558f60aab74c59c'],
- ['00000053', files('00000053.ivf'), 'a1de1a3221dee61fdf7d3fb194d3dd46'],
- ['00000055', files('00000055.ivf'), '091b2b08837a821f51d14b01fee1640e'],
- ['00000057', files('00000057.ivf'), '3141b3ac2fb379d72733f61fed782d92'],
- ['00000059', files('00000059.ivf'), '3141b3ac2fb379d72733f61fed782d92'],
- ['00000061', files('00000061.ivf'), '8265ea75aaf1410bd529754bfbd5f7be'],
- ['00000063', files('00000063.ivf'), 'a74bc937b20034688d39404823638031'],
- ['00000065', files('00000065.ivf'), 'e11862f0fd419529fb72c4c677d17a2f'],
- ['00000067', files('00000067.ivf'), 'e11862f0fd419529fb72c4c677d17a2f'],
- ['00000069', files('00000069.ivf'), '6b92ffd0b30cd3602f245d48625679b9'],
- ['00000071', files('00000071.ivf'), '6b92ffd0b30cd3602f245d48625679b9'],
- ['00000073', files('00000073.ivf'), '3532dc4829ae5b85aa2c58082b4039dc'],
- ['00000075', files('00000075.ivf'), '3532dc4829ae5b85aa2c58082b4039dc'],
- ['00000077', files('00000077.ivf'), '81a7b454c44e19fbb9e1c0caf4e5d969'],
- ['00000079', files('00000079.ivf'), '81a7b454c44e19fbb9e1c0caf4e5d969'],
- ['00000085', files('00000085.ivf'), 'dec5471758d5744291f1345c863fddca'],
- ['00000087', files('00000087.ivf'), '32e9c0f95f835e7007466373cf6c467b'],
- ['00000089', files('00000089.ivf'), '9a4cf75d257a9fa8e66a74f0f591d0c0'],
- ['00000091', files('00000091.ivf'), 'd172ac92a28bb30cb933a6a13995032d'],
- ['00000093', files('00000093.ivf'), 'f7e62b5dd1fe596ca08e0940ec274b5f'],
- ['00000095', files('00000095.ivf'), '3aceecefe5121675c44a7822cff24b4a'],
- ['00000097', files('00000097.ivf'), 'bd3151d47e4d333b7a3597b72bd91c72'],
- ['00000099', files('00000099.ivf'), '267cc895d3ef696b32d0c3254d168574'],
- ['00000101', files('00000101.ivf'), '21e166755a971b4dbca3632f6a6445ab'],
- ['00000103', files('00000103.ivf'), '9f24ab9e8f770470f4916e1c47ec9c85'],
- ['00000105', files('00000105.ivf'), '068a41ff7d1d280afa50282cd45df868'],
- ['00000107', files('00000107.ivf'), '2aea49e5020b4e6f6893c05ec17192c8'],
- ['00000109', files('00000109.ivf'), 'f29c73330e152331c37cf9f3b1b6febf'],
- ['00000111', files('00000111.ivf'), 'bd0706cebb6b8dcdfe2f925aeda46cbe'],
- ['00000113', files('00000113.ivf'), '6c4642cf34cc07b16e0fb96431d95083'],
- ['00000115', files('00000115.ivf'), '944826a17b9f7c6d5bafa9b48ceaa724'],
- ['00000117', files('00000117.ivf'), '798f8f9bc4883e17be1dcbf410c5532e'],
- ['00000119', files('00000119.ivf'), 'f0c70124c42610cf437822b1864ce2fe'],
- ['00000121', files('00000121.ivf'), '2bdd22a52323b42eae9b75bcf3909167'],
- ['00000123', files('00000123.ivf'), '8ec27e039159604b8c8221a5cdaf0a4b'],
- ['00000125', files('00000125.ivf'), '29b7a613a236d78cdc2c598d28dd614d'],
- ['00000133', files('00000133.ivf'), '5cf7e97785483b2a9fa5ba65646ef7c0'],
- ['00000135', files('00000135.ivf'), 'dfc08cf056e065ce45ece37a39fd792d'],
- ['00000137', files('00000137.ivf'), 'da8f0135b8ee4ef8cd042a36a688f9dd'],
- ['00000139', files('00000139.ivf'), '1cbf109e756dd412bcb99f8883248ba6'],
- ['00000141', files('00000141.ivf'), '6562f1bec3dcc3f9c73eceb5178ef836'],
- ['00000149', files('00000149.ivf'), 'e02f09926ccc21f5ac7114d26c6bec88'],
- ['00000153', files('00000153.ivf'), 'f3f3c8dab33a3c4fba2194f15bb03f99'],
- ['00000157', files('00000157.ivf'), '806a88dbf0d076196ff8799bcd1a143f'],
- ['00000165', files('00000165.ivf'), '48c5721254f07013c9abd642accde2b7'],
- ['00000169', files('00000169.ivf'), '719a78ab39e9347651dcaa24d8e22c9c'],
- ['00000173', files('00000173.ivf'), '040557243ef6aed165500028c58d519d'],
- ['00000181', files('00000181.ivf'), 'f8de8e724384285daecb150343d9472b'],
- ['00000183', files('00000183.ivf'), 'ed679dcb000d62bf8ca740e11c2a7238'],
- ['00000185', files('00000185.ivf'), 'b83ac76d42fbfc5f767913ee3b89fd0a'],
- ['00000187', files('00000187.ivf'), 'd62128a1cf499928924b08f84603d113'],
- ['00000189', files('00000189.ivf'), '898c075091058eb8a0b77fbb1e53f377'],
- ['00000197', files('00000197.ivf'), '5e0905b1e39ad4b4b9882283401b8359'],
- ['00000199', files('00000199.ivf'), '66131aa6d205c66c9b3768fd017f6959'],
- ['00000201', files('00000201.ivf'), 'd178114156f69b7dfed371fba56dcce8'],
- ['00000203', files('00000203.ivf'), 'dc8f876b50e59bb56a532194a73de8d9'],
- ['00000205', files('00000205.ivf'), '088f4dc025b57cd8d036320b066000b2'],
- ['00000213', files('00000213.ivf'), '8d1088384d5cdcb3814eb75d45aba406'],
- ['00000217', files('00000217.ivf'), '76c70d9afd6aa5dff01b691570999ce2'],
- ['00000221', files('00000221.ivf'), 'c171a66928e428b5f6214ead2abce7a1'],
- ['00000229', files('00000229.ivf'), '6037b2f44ff38f9b2a4ea2ce7a6fbf31'],
- ['00000233', files('00000233.ivf'), '18dde4f17d26b39f445a7b0bb47b4ffb'],
- ['00000237', files('00000237.ivf'), '33bda10acba9a8f89f20e0f2c4b485b5'],
- ['00000245', files('00000245.ivf'), 'e6122012caf67df41bcff9111f4b7def'],
- ['00000247', files('00000247.ivf'), '33d991258d09377c8fcf1764c90a51cd'],
- ['00000249', files('00000249.ivf'), '4c8bd29096025a42ac0b7f9b61f8cd43'],
- ['00000251', files('00000251.ivf'), '21c77c6ce3a8d36ba840ec2eefb4aa07'],
- ['00000253', files('00000253.ivf'), '2ba338a63b93b9892f2a7215c87aca6a'],
- ['00000261', files('00000261.ivf'), 'ca99daf500f134971456ff93e4ec6677'],
- ['00000263', files('00000263.ivf'), '73f282edfe9ccd8510256e626308313c'],
- ['00000265', files('00000265.ivf'), 'c4c8e46df78f846dc3e066b55578eb57'],
- ['00000267', files('00000267.ivf'), '8ec930346bfb215a49aebef937373810'],
- ['00000269', files('00000269.ivf'), '4a2ea5667237c7cb27f636bbeaf8ab66'],
- ['00000277', files('00000277.ivf'), '1f57aa6b70ee1bc273e39875ea7c8187'],
- ['00000281', files('00000281.ivf'), 'f5c8c34d438dc9bd6a8d43ee73be23fa'],
- ['00000285', files('00000285.ivf'), '64b11065e5d2f5c859083ac1c41c2df4'],
- ['00000293', files('00000293.ivf'), '592365954e08733d49db5cf28a6caabc'],
- ['00000297', files('00000297.ivf'), '877ec1a75f5947b17ec782cd2f8198fd'],
- ['00000301', files('00000301.ivf'), 'bc10f85a47c8193fdbbcf66184f98f99'],
- ['00000309', files('00000309.ivf'), '369d010786eaba77a87fc3887c5bf9ab'],
- ['00000311', files('00000311.ivf'), 'e1cca8c2608b2815a3d8332fd7cdcea6'],
- ['00000313', files('00000313.ivf'), '42e6eb3bfb4b291beccfa784a4226056'],
- ['00000315', files('00000315.ivf'), '58759307a0f75f8c98f2d5d479ecdebe'],
- ['00000317', files('00000317.ivf'), 'cab652e90769f937c3599dd3b4afac3b'],
- ['00000325', files('00000325.ivf'), '137b1066697d194f96afeab4013d6795'],
- ['00000327', files('00000327.ivf'), 'd363d69e19ce675eb624e28cf537a329'],
- ['00000329', files('00000329.ivf'), '5d2b7f1b25978da5f1614753d1de6eda'],
- ['00000331', files('00000331.ivf'), '78a66ef84fe28a800d42cde4944e20e3'],
- ['00000333', files('00000333.ivf'), '46b83e5d336da2a0bfc44baf90d0146d'],
- ['00000341', files('00000341.ivf'), 'eca63e5834dc813800721461f31d9eaf'],
- ['00000345', files('00000345.ivf'), '4a3432369ce8a4d3ab14a3bfc81c1df1'],
- ['00000349', files('00000349.ivf'), '8f7f3a8592287b0f82b8152d912a5fc7'],
- ['00000357', files('00000357.ivf'), 'e09094ae555bad874d9c28b12e5fada0'],
- ['00000361', files('00000361.ivf'), '029773a43dc013e82bc43026a192ca22'],
- ['00000365', files('00000365.ivf'), '84ebd7c965ee80c8f6086b3e0077a11b'],
+ # ['00000000', files('00000000.ivf'), '0b31f7ae90dfa22cefe0f2a1ad97c620'],
+ # ['00000001', files('00000001.ivf'), '98b8c18a74a27a4fc1436f08b73b9270'],
+ # ['00000002', files('00000002.ivf'), '5dc544ccf0ad20eac1b7fb818972df78'],
+ # ['00000003', files('00000003.ivf'), '98b8c18a74a27a4fc1436f08b73b9270'],
+ # ['00000004', files('00000004.ivf'), '5dc544ccf0ad20eac1b7fb818972df78'],
+ # ['00000009', files('00000009.ivf'), 'df33eb1aff0c7504eeddc438bee0d7c0'],
+ # ['00000011', files('00000011.ivf'), '6e1a34166969dbd4ef40f80b2adb791c'],
+ # ['00000013', files('00000013.ivf'), 'fb7b42cea50c95aad525c66c66d68daf'],
+ # ['00000015', files('00000015.ivf'), 'ba2ce322eb84104a73702ab432224d6b'],
+ # ['00000017', files('00000017.ivf'), 'f8ee21276140482029bb96c139b15b93'],
+ # ['00000019', files('00000019.ivf'), 'f8ee21276140482029bb96c139b15b93'],
+ # ['00000021', files('00000021.ivf'), 'b665c1f571959e2464625c60d5c36ef1'],
+ # ['00000023', files('00000023.ivf'), 'b665c1f571959e2464625c60d5c36ef1'],
+ # ['00000025', files('00000025.ivf'), 'f661bd50f6ea5257c99a3bc575edbbc6'],
+ # ['00000027', files('00000027.ivf'), 'f661bd50f6ea5257c99a3bc575edbbc6'],
+ # ['00000029', files('00000029.ivf'), '463e711fc1407ef6c90e700836cee7b8'],
+ # ['00000031', files('00000031.ivf'), '463e711fc1407ef6c90e700836cee7b8'],
+ # ['00000033', files('00000033.ivf'), '16a4c500c3ac9d15d138bc6f17164368'],
+ # ['00000035', files('00000035.ivf'), '16a4c500c3ac9d15d138bc6f17164368'],
+ # ['00000037', files('00000037.ivf'), '96a706478ea4e730d47359c02c540262'],
+ # ['00000039', files('00000039.ivf'), '96a706478ea4e730d47359c02c540262'],
+ # ['00000041', files('00000041.ivf'), 'ec8dd921276a42b5659e25399b968210'],
+ # ['00000043', files('00000043.ivf'), 'ec8dd921276a42b5659e25399b968210'],
+ # ['00000045', files('00000045.ivf'), '3f2f71acae1440795007750c6a493b5f'],
+ # ['00000047', files('00000047.ivf'), 'b36cc29630ef96eca27d7f9977fbe29d'],
+ # ['00000049', files('00000049.ivf'), '91abe08a400eea814558f60aab74c59c'],
+ # ['00000051', files('00000051.ivf'), '91abe08a400eea814558f60aab74c59c'],
+ # ['00000053', files('00000053.ivf'), 'a1de1a3221dee61fdf7d3fb194d3dd46'],
+ # ['00000055', files('00000055.ivf'), '091b2b08837a821f51d14b01fee1640e'],
+ # ['00000057', files('00000057.ivf'), '3141b3ac2fb379d72733f61fed782d92'],
+ # ['00000059', files('00000059.ivf'), '3141b3ac2fb379d72733f61fed782d92'],
+ # ['00000061', files('00000061.ivf'), '8265ea75aaf1410bd529754bfbd5f7be'],
+ # ['00000063', files('00000063.ivf'), 'a74bc937b20034688d39404823638031'],
+ # ['00000065', files('00000065.ivf'), 'e11862f0fd419529fb72c4c677d17a2f'],
+ # ['00000067', files('00000067.ivf'), 'e11862f0fd419529fb72c4c677d17a2f'],
+ # ['00000069', files('00000069.ivf'), '6b92ffd0b30cd3602f245d48625679b9'],
+ # ['00000071', files('00000071.ivf'), '6b92ffd0b30cd3602f245d48625679b9'],
+ # ['00000073', files('00000073.ivf'), '3532dc4829ae5b85aa2c58082b4039dc'],
+ # ['00000075', files('00000075.ivf'), '3532dc4829ae5b85aa2c58082b4039dc'],
+ # ['00000077', files('00000077.ivf'), '81a7b454c44e19fbb9e1c0caf4e5d969'],
+ # ['00000079', files('00000079.ivf'), '81a7b454c44e19fbb9e1c0caf4e5d969'],
+ # ['00000085', files('00000085.ivf'), 'dec5471758d5744291f1345c863fddca'],
+ # ['00000087', files('00000087.ivf'), '32e9c0f95f835e7007466373cf6c467b'],
+ # ['00000089', files('00000089.ivf'), '9a4cf75d257a9fa8e66a74f0f591d0c0'],
+ # ['00000091', files('00000091.ivf'), 'd172ac92a28bb30cb933a6a13995032d'],
+ # ['00000093', files('00000093.ivf'), 'f7e62b5dd1fe596ca08e0940ec274b5f'],
+ # ['00000095', files('00000095.ivf'), '3aceecefe5121675c44a7822cff24b4a'],
+ # ['00000097', files('00000097.ivf'), 'bd3151d47e4d333b7a3597b72bd91c72'],
+ # ['00000099', files('00000099.ivf'), '267cc895d3ef696b32d0c3254d168574'],
+ # ['00000101', files('00000101.ivf'), '21e166755a971b4dbca3632f6a6445ab'],
+ # ['00000103', files('00000103.ivf'), '9f24ab9e8f770470f4916e1c47ec9c85'],
+ # ['00000105', files('00000105.ivf'), '068a41ff7d1d280afa50282cd45df868'],
+ # ['00000107', files('00000107.ivf'), '2aea49e5020b4e6f6893c05ec17192c8'],
+ # ['00000109', files('00000109.ivf'), 'f29c73330e152331c37cf9f3b1b6febf'],
+ # ['00000111', files('00000111.ivf'), 'bd0706cebb6b8dcdfe2f925aeda46cbe'],
+ # ['00000113', files('00000113.ivf'), '6c4642cf34cc07b16e0fb96431d95083'],
+ # ['00000115', files('00000115.ivf'), '944826a17b9f7c6d5bafa9b48ceaa724'],
+ # ['00000117', files('00000117.ivf'), '798f8f9bc4883e17be1dcbf410c5532e'],
+ # ['00000119', files('00000119.ivf'), 'f0c70124c42610cf437822b1864ce2fe'],
+ # ['00000121', files('00000121.ivf'), '2bdd22a52323b42eae9b75bcf3909167'],
+ # ['00000123', files('00000123.ivf'), '8ec27e039159604b8c8221a5cdaf0a4b'],
+ # ['00000125', files('00000125.ivf'), '29b7a613a236d78cdc2c598d28dd614d'],
+ # ['00000133', files('00000133.ivf'), '5cf7e97785483b2a9fa5ba65646ef7c0'],
+ # ['00000135', files('00000135.ivf'), 'dfc08cf056e065ce45ece37a39fd792d'],
+ # ['00000137', files('00000137.ivf'), 'da8f0135b8ee4ef8cd042a36a688f9dd'],
+ # ['00000139', files('00000139.ivf'), '1cbf109e756dd412bcb99f8883248ba6'],
+ # ['00000141', files('00000141.ivf'), '6562f1bec3dcc3f9c73eceb5178ef836'],
+ # ['00000149', files('00000149.ivf'), 'e02f09926ccc21f5ac7114d26c6bec88'],
+ # ['00000153', files('00000153.ivf'), 'f3f3c8dab33a3c4fba2194f15bb03f99'],
+ # ['00000157', files('00000157.ivf'), '806a88dbf0d076196ff8799bcd1a143f'],
+ # ['00000165', files('00000165.ivf'), '48c5721254f07013c9abd642accde2b7'],
+ # ['00000169', files('00000169.ivf'), '719a78ab39e9347651dcaa24d8e22c9c'],
+ # ['00000173', files('00000173.ivf'), '040557243ef6aed165500028c58d519d'],
+ # ['00000181', files('00000181.ivf'), 'f8de8e724384285daecb150343d9472b'],
+ # ['00000183', files('00000183.ivf'), 'ed679dcb000d62bf8ca740e11c2a7238'],
+ # ['00000185', files('00000185.ivf'), 'b83ac76d42fbfc5f767913ee3b89fd0a'],
+ # ['00000187', files('00000187.ivf'), 'd62128a1cf499928924b08f84603d113'],
+ # ['00000189', files('00000189.ivf'), '898c075091058eb8a0b77fbb1e53f377'],
+ # ['00000197', files('00000197.ivf'), '5e0905b1e39ad4b4b9882283401b8359'],
+ # ['00000199', files('00000199.ivf'), '66131aa6d205c66c9b3768fd017f6959'],
+ # ['00000201', files('00000201.ivf'), 'd178114156f69b7dfed371fba56dcce8'],
+ # ['00000203', files('00000203.ivf'), 'dc8f876b50e59bb56a532194a73de8d9'],
+ # ['00000205', files('00000205.ivf'), '088f4dc025b57cd8d036320b066000b2'],
+ # ['00000213', files('00000213.ivf'), '8d1088384d5cdcb3814eb75d45aba406'],
+ # ['00000217', files('00000217.ivf'), '76c70d9afd6aa5dff01b691570999ce2'],
+ # ['00000221', files('00000221.ivf'), 'c171a66928e428b5f6214ead2abce7a1'],
+ # ['00000229', files('00000229.ivf'), '6037b2f44ff38f9b2a4ea2ce7a6fbf31'],
+ # ['00000233', files('00000233.ivf'), '18dde4f17d26b39f445a7b0bb47b4ffb'],
+ # ['00000237', files('00000237.ivf'), '33bda10acba9a8f89f20e0f2c4b485b5'],
+ # ['00000245', files('00000245.ivf'), 'e6122012caf67df41bcff9111f4b7def'],
+ # ['00000247', files('00000247.ivf'), '33d991258d09377c8fcf1764c90a51cd'],
+ # ['00000249', files('00000249.ivf'), '4c8bd29096025a42ac0b7f9b61f8cd43'],
+ # ['00000251', files('00000251.ivf'), '21c77c6ce3a8d36ba840ec2eefb4aa07'],
+ # ['00000253', files('00000253.ivf'), '2ba338a63b93b9892f2a7215c87aca6a'],
+ # ['00000261', files('00000261.ivf'), 'ca99daf500f134971456ff93e4ec6677'],
+ # ['00000263', files('00000263.ivf'), '73f282edfe9ccd8510256e626308313c'],
+ # ['00000265', files('00000265.ivf'), 'c4c8e46df78f846dc3e066b55578eb57'],
+ # ['00000267', files('00000267.ivf'), '8ec930346bfb215a49aebef937373810'],
+ # ['00000269', files('00000269.ivf'), '4a2ea5667237c7cb27f636bbeaf8ab66'],
+ # ['00000277', files('00000277.ivf'), '1f57aa6b70ee1bc273e39875ea7c8187'],
+ # ['00000281', files('00000281.ivf'), 'f5c8c34d438dc9bd6a8d43ee73be23fa'],
+ # ['00000285', files('00000285.ivf'), '64b11065e5d2f5c859083ac1c41c2df4'],
+ # ['00000293', files('00000293.ivf'), '592365954e08733d49db5cf28a6caabc'],
+ # ['00000297', files('00000297.ivf'), '877ec1a75f5947b17ec782cd2f8198fd'],
+ # ['00000301', files('00000301.ivf'), 'bc10f85a47c8193fdbbcf66184f98f99'],
+ # ['00000309', files('00000309.ivf'), '369d010786eaba77a87fc3887c5bf9ab'],
+ # ['00000311', files('00000311.ivf'), 'e1cca8c2608b2815a3d8332fd7cdcea6'],
+ # ['00000313', files('00000313.ivf'), '42e6eb3bfb4b291beccfa784a4226056'],
+ # ['00000315', files('00000315.ivf'), '58759307a0f75f8c98f2d5d479ecdebe'],
+ # ['00000317', files('00000317.ivf'), 'cab652e90769f937c3599dd3b4afac3b'],
+ # ['00000325', files('00000325.ivf'), '137b1066697d194f96afeab4013d6795'],
+ # ['00000327', files('00000327.ivf'), 'd363d69e19ce675eb624e28cf537a329'],
+ # ['00000329', files('00000329.ivf'), '5d2b7f1b25978da5f1614753d1de6eda'],
+ # ['00000331', files('00000331.ivf'), '78a66ef84fe28a800d42cde4944e20e3'],
+ # ['00000333', files('00000333.ivf'), '46b83e5d336da2a0bfc44baf90d0146d'],
+ # ['00000341', files('00000341.ivf'), 'eca63e5834dc813800721461f31d9eaf'],
+ # ['00000345', files('00000345.ivf'), '4a3432369ce8a4d3ab14a3bfc81c1df1'],
+ # ['00000349', files('00000349.ivf'), '8f7f3a8592287b0f82b8152d912a5fc7'],
+ # ['00000357', files('00000357.ivf'), 'e09094ae555bad874d9c28b12e5fada0'],
+ # ['00000361', files('00000361.ivf'), '029773a43dc013e82bc43026a192ca22'],
+ # ['00000365', files('00000365.ivf'), '84ebd7c965ee80c8f6086b3e0077a11b'],
['00000501', files('00000501.ivf'), '936364f3b867266842cbded9189de007'],
['00000502', files('00000502.ivf'), '936364f3b867266842cbded9189de007'],
['00000504', files('00000504.ivf'), '8b63cef5cd2a03a48b37d902c9201c43'],
@@ -332,53 +332,53 @@ tests += [
['00000848', files('00000848.ivf'), '73df93aa707555e9f07ae6ddf45c91d9'],
['00000849', files('00000849.ivf'), 'd52415d254641b4f859c0fd2d3678983'],
['00000850', files('00000850.ivf'), '1861eb4037013163dac8641a2d40036d'],
- ['00000851', files('00000851.ivf'), 'ee9299c083f7881285d9a1d65daa9980'],
- ['00000852', files('00000852.ivf'), 'e6813df9a0265fd8fc104d77a431c997'],
- ['00000853', files('00000853.ivf'), '2834e358da4177a335c7813bfe1cc5a3'],
- ['00000854', files('00000854.ivf'), 'c86bc48914fd53e4bfd820ab209b1dab'],
- ['00000855', files('00000855.ivf'), 'b0769a8ec3aeedea1b9e7d5f03fb94f9'],
- ['00000856', files('00000856.ivf'), '0cc168a44d228697dce327c946a0bd04'],
- ['00000857', files('00000857.ivf'), 'a1eee72b2b7ce9b920dae492fef31c55'],
- ['00000858', files('00000858.ivf'), '07678b36c970100478e353c352e55982'],
- ['00000859', files('00000859.ivf'), 'f9977b238498d941c82a51f566b80386'],
- ['00000860', files('00000860.ivf'), '59d992538db37a937def6486788016d5'],
- ['00000861', files('00000861.ivf'), '9e717d1e6d8e4189fa028bf0bbb138af'],
- ['00000862', files('00000862.ivf'), 'f5029277192c573ab0f3f91907d3df69'],
- ['00000863', files('00000863.ivf'), 'ca886bb00029ef280a5e4238f4fb1525'],
- ['00001018', files('00001018.ivf'), 'a6d7710a19226bb1bb22e35789aa96d7'],
- ['00001019', files('00001019.ivf'), 'edaf173e1dc0bd5df02c1881e16d6dba'],
- ['00001099', files('00001099.ivf'), '31b46605279bfbf8b366fb63c5a530ed'],
- ['00001100', files('00001100.ivf'), '31b46605279bfbf8b366fb63c5a530ed'],
- ['00001101', files('00001101.ivf'), '23c141a8ed591248a3b9111e96e69b6a'],
- ['00001102', files('00001102.ivf'), '23c141a8ed591248a3b9111e96e69b6a'],
- ['00001105', files('00001105.ivf'), '1edb02a474c655fdbd77deeaea8b20db'],
- ['00001106', files('00001106.ivf'), '4f6703779b84dae77cb516b8f2a2d893'],
- ['00001107', files('00001107.ivf'), 'd321a084eca5c250c417059ecc979d25'],
- ['00001108', files('00001108.ivf'), '3e7a1206ca38ae840374aa27d65b697e'],
- ['00001109', files('00001109.ivf'), 'ff1bc2d907a99d5411ed042ab01a3b98'],
- ['00001114', files('00001114.ivf'), 'e55413807560e48cbaef17ea29e6b8f3'],
- ['00001115', files('00001115.ivf'), '0d07f3614263c6604ea0aa51695fbeb9'],
- ['00001116', files('00001116.ivf'), '0e0d9cd2587fb248ac06f2896a114ad4'],
- ['00001117', files('00001117.ivf'), '2cae6afc1bfd93d1b6379f2e4b56e4d8'],
- ['00001122', files('00001122.ivf'), 'f3cba43e6ac99b3c38fa1bb4f5453a86'],
- ['00001123', files('00001123.ivf'), 'cf863e28feae0266b0d69744dba1ca20'],
- ['00001124', files('00001124.ivf'), 'a733171b2ee1348366909f417a0e5244'],
- ['00001125', files('00001125.ivf'), 'a903c162cad31c144ddd9e8cc1efdc2f'],
- ['00001130', files('00001130.ivf'), '4082c734be866f053676b3e025d5810b'],
- ['00001131', files('00001131.ivf'), 'd4ac430b5d47793078bb8d7e7957380f'],
- ['00001132', files('00001132.ivf'), '83db060e1c7a505617d98571aa145620'],
- ['00001133', files('00001133.ivf'), '4082c734be866f053676b3e025d5810b'],
- ['00001135', files('00001135.ivf'), '4082c734be866f053676b3e025d5810b'],
- ['00001137', files('00001137.ivf'), 'd4e6fabc632e7b67dfb1a19a122b4b2c'],
- ['00001138', files('00001138.ivf'), 'b2a7da1b98046ccd080c093a74dcc7b0'],
- ['00001139', files('00001139.ivf'), '1ea917fa6569978f30d7d3358afd04c7'],
- ['00001140', files('00001140.ivf'), '6dab3e249322de376654958560ddbd0e'],
- ['00001141', files('00001141.ivf'), '5198db028019d2682c2c8e19934bc81a'],
- ['00001142', files('00001142.ivf'), '763ac634c94f95dd4254b740968166e1'],
- ['00001143', files('00001143.ivf'), 'df14c8b0f71030aa1e46eb8f9a7ea59b'],
- ['00001144', files('00001144.ivf'), '261118e98ffe921973132ae6cac797a0'],
- ['00001145', files('00001145.ivf'), '0db2fb2dce7d1afca53dabfe93915f6d'],
- ['00001146', files('00001146.ivf'), '5c91ead20f53d213f52b6bcf33eac72e'],
- ['00001147', files('00001147.ivf'), '4b94c865564354437fb208caecc769c3'],
- ['00001148', files('00001148.ivf'), '8bac9795221d6ce7497456de6723f96a'],
+# ['00000851', files('00000851.ivf'), 'ee9299c083f7881285d9a1d65daa9980'],
+# ['00000852', files('00000852.ivf'), 'e6813df9a0265fd8fc104d77a431c997'],
+# ['00000853', files('00000853.ivf'), '2834e358da4177a335c7813bfe1cc5a3'],
+# ['00000854', files('00000854.ivf'), 'c86bc48914fd53e4bfd820ab209b1dab'],
+# ['00000855', files('00000855.ivf'), 'b0769a8ec3aeedea1b9e7d5f03fb94f9'],
+# ['00000856', files('00000856.ivf'), '0cc168a44d228697dce327c946a0bd04'],
+# ['00000857', files('00000857.ivf'), 'a1eee72b2b7ce9b920dae492fef31c55'],
+# ['00000858', files('00000858.ivf'), '07678b36c970100478e353c352e55982'],
+# ['00000859', files('00000859.ivf'), 'f9977b238498d941c82a51f566b80386'],
+# ['00000860', files('00000860.ivf'), '59d992538db37a937def6486788016d5'],
+# ['00000861', files('00000861.ivf'), '9e717d1e6d8e4189fa028bf0bbb138af'],
+# ['00000862', files('00000862.ivf'), 'f5029277192c573ab0f3f91907d3df69'],
+# ['00000863', files('00000863.ivf'), 'ca886bb00029ef280a5e4238f4fb1525'],
+# ['00001018', files('00001018.ivf'), 'a6d7710a19226bb1bb22e35789aa96d7'],
+# ['00001019', files('00001019.ivf'), 'edaf173e1dc0bd5df02c1881e16d6dba'],
+# ['00001099', files('00001099.ivf'), '31b46605279bfbf8b366fb63c5a530ed'],
+# ['00001100', files('00001100.ivf'), '31b46605279bfbf8b366fb63c5a530ed'],
+# ['00001101', files('00001101.ivf'), '23c141a8ed591248a3b9111e96e69b6a'],
+# ['00001102', files('00001102.ivf'), '23c141a8ed591248a3b9111e96e69b6a'],
+# ['00001105', files('00001105.ivf'), '1edb02a474c655fdbd77deeaea8b20db'],
+# ['00001106', files('00001106.ivf'), '4f6703779b84dae77cb516b8f2a2d893'],
+# ['00001107', files('00001107.ivf'), 'd321a084eca5c250c417059ecc979d25'],
+# ['00001108', files('00001108.ivf'), '3e7a1206ca38ae840374aa27d65b697e'],
+# ['00001109', files('00001109.ivf'), 'ff1bc2d907a99d5411ed042ab01a3b98'],
+# ['00001114', files('00001114.ivf'), 'e55413807560e48cbaef17ea29e6b8f3'],
+# ['00001115', files('00001115.ivf'), '0d07f3614263c6604ea0aa51695fbeb9'],
+# ['00001116', files('00001116.ivf'), '0e0d9cd2587fb248ac06f2896a114ad4'],
+# ['00001117', files('00001117.ivf'), '2cae6afc1bfd93d1b6379f2e4b56e4d8'],
+# ['00001122', files('00001122.ivf'), 'f3cba43e6ac99b3c38fa1bb4f5453a86'],
+# ['00001123', files('00001123.ivf'), 'cf863e28feae0266b0d69744dba1ca20'],
+# ['00001124', files('00001124.ivf'), 'a733171b2ee1348366909f417a0e5244'],
+# ['00001125', files('00001125.ivf'), 'a903c162cad31c144ddd9e8cc1efdc2f'],
+# ['00001130', files('00001130.ivf'), '4082c734be866f053676b3e025d5810b'],
+# ['00001131', files('00001131.ivf'), 'd4ac430b5d47793078bb8d7e7957380f'],
+# ['00001132', files('00001132.ivf'), '83db060e1c7a505617d98571aa145620'],
+# ['00001133', files('00001133.ivf'), '4082c734be866f053676b3e025d5810b'],
+# ['00001135', files('00001135.ivf'), '4082c734be866f053676b3e025d5810b'],
+# ['00001137', files('00001137.ivf'), 'd4e6fabc632e7b67dfb1a19a122b4b2c'],
+# ['00001138', files('00001138.ivf'), 'b2a7da1b98046ccd080c093a74dcc7b0'],
+# ['00001139', files('00001139.ivf'), '1ea917fa6569978f30d7d3358afd04c7'],
+# ['00001140', files('00001140.ivf'), '6dab3e249322de376654958560ddbd0e'],
+# ['00001141', files('00001141.ivf'), '5198db028019d2682c2c8e19934bc81a'],
+# ['00001142', files('00001142.ivf'), '763ac634c94f95dd4254b740968166e1'],
+# ['00001143', files('00001143.ivf'), 'df14c8b0f71030aa1e46eb8f9a7ea59b'],
+# ['00001144', files('00001144.ivf'), '261118e98ffe921973132ae6cac797a0'],
+# ['00001145', files('00001145.ivf'), '0db2fb2dce7d1afca53dabfe93915f6d'],
+# ['00001146', files('00001146.ivf'), '5c91ead20f53d213f52b6bcf33eac72e'],
+# ['00001147', files('00001147.ivf'), '4b94c865564354437fb208caecc769c3'],
+# ['00001148', files('00001148.ivf'), '8bac9795221d6ce7497456de6723f96a'],
]
diff --git a/8-bit/meson.build b/8-bit/meson.build
index 7c51a1b..f01b144 100644
--- a/8-bit/meson.build
+++ b/8-bit/meson.build
@@ -25,41 +25,41 @@
tests = []
subdir('data')
-subdir('features')
-subdir('issues')
-subdir('quantizer')
-subdir('size')
-subdir('intra')
-subdir('resize')
-subdir('cdfupdate')
-subdir('mv')
-subdir('mfmv')
+#subdir('features')
+#subdir('issues')
+#subdir('quantizer')
+#subdir('size')
+#subdir('intra')
+#subdir('resize')
+#subdir('cdfupdate')
+#subdir('mv')
+#subdir('mfmv')
foreach test : tests
- test(test[0], dav1d, suite: 'testdata-8',
+ test(test[0], dav1d, suite: 'testdata-8', timeout: 60000,
args: dav1d_test_args + ['-i', test[1], '--verify', test[2]])
if '@0@'.format(test[1][0]).endswith('.ivf')
- test(test[0], seek_stress, suite: 'testdata_seek-stress', timeout: 60,
+ test(test[0], seek_stress, suite: 'testdata_seek-stress', timeout: 60000,
args: dav1d_test_args + ['-i', test[1], '--muxer', 'null'])
endif
endforeach
-subdir('vq_suite')
-
-subdir('svc')
+#subdir('vq_suite')
+#
+#subdir('svc')
# test with film grain applied against dav1d's md5
-test('av1-1-b8-23-film_grain-50', dav1d, suite: 'testdata-8',
- args: dav1d_test_args + ['-i', files('film_grain/av1-1-b8-23-film_grain-50.ivf'),
- '--filmgrain', '1',
- '--verify', '392a4adc567fa05b210eebe15bcbb491'])
-test('ccvb_film_grain-fg', dav1d, suite: 'testdata-8',
- args: dav1d_test_args + ['-i', files('features/ccvb_film_grain.ivf'),
- '--filmgrain', '1',
- '--verify', 'a934b6263b7009746cce5f5bd33224f1'])
-test('309_odd_width', dav1d, suite: 'testdata-8',
- args: dav1d_test_args + ['-i', files('issues/309_odd_width.ivf'),
- '--filmgrain', '1',
- '--verify', '30d31f7c74575e58366898534a87841d'])
-
-subdir('sframe')
+#test('av1-1-b8-23-film_grain-50', dav1d, suite: 'testdata-8',
+# args: dav1d_test_args + ['-i', files('film_grain/av1-1-b8-23-film_grain-50.ivf'),
+# '--filmgrain', '1',
+# '--verify', '392a4adc567fa05b210eebe15bcbb491'])
+#test('ccvb_film_grain-fg', dav1d, suite: 'testdata-8',
+# args: dav1d_test_args + ['-i', files('features/ccvb_film_grain.ivf'),
+# '--filmgrain', '1',
+# '--verify', 'a934b6263b7009746cce5f5bd33224f1'])
+#test('309_odd_width', dav1d, suite: 'testdata-8',
+# args: dav1d_test_args + ['-i', files('issues/309_odd_width.ivf'),
+# '--filmgrain', '1',
+# '--verify', '30d31f7c74575e58366898534a87841d'])
+#
+#subdir('sframe')
Run repeat $NUM_REPEAT meson test --suite testdata-8 --suite testdata_seek-stress --test-args=--threads=X
with NUM_REPEAT set to a large value (1000 could be enough with the reduced range of samples).
As far as I've been able to see, the hang always matches one of these 3 patterns:
(gdb) p f->task_thread.first
$1 = 1
(gdb) p f - c->fc
$2 = 1
(gdb) p c->task_thread.cur
$3 = 2
(gdb) p f->task_thread.task_cur_prev
$4 = (struct Dav1dTask *) 0x7f85d4076660
(gdb) p *f->task_thread.task_head
$5 = {frame_idx = 1, type = DAV1D_TASK_TYPE_DEBLOCK_COLS, sby = 2, recon_progress = 3, deblock_progress = 0, deps_skip = 0, next = 0x0}
(gdb) p f->task_thread.done
$6 = {0, 1}
(gdb) p f->frame_thread.entropy_progress
$7 = 3
(gdb) p f - c->fc
$1 = 0
(gdb) p c->task_thread .first
$2 = 0
(gdb) p c->task_thread .cur
$3 = 2
(gdb) p f->task_thread .task_cur_prev
$4 = (struct Dav1dTask *) 0x7f8560031240
(gdb) p f->task_thread .task_head
$5 = (struct Dav1dTask *) 0x7f856002fa70
(gdb) p *f->task_thread .task_head
$6 = {frame_idx = 0, type = DAV1D_TASK_TYPE_TILE_RECONSTRUCTION, sby = 0, recon_progress = 0, deblock_progress = 0, deps_skip = 0, next = 0x7f8560031240}
(gdb) p *f->task_thread .task_head ->next
$7 = {frame_idx = 0, type = DAV1D_TASK_TYPE_DEBLOCK_COLS, sby = 0, recon_progress = 1, deblock_progress = 0, deps_skip
= 0, next = 0x0}
(gdb) p f->task_thread .done
$8 = {0, 1}
(gdb) p f->frame_thread .entropy_progress
$9 = 5
(gdb) p *f->frame_thread .frame_progress
$10 = 0
(gdb) p f->sbh
$11 = 5
(gdb) p f - c->fc
$1 = 0
(gdb) p c->task_thread .first
$2 = 0
(gdb) p c->task_thread .cur
$3 = 0
(gdb) p f->task_thread .task_head
$4 = (struct Dav1dTask *) 0x55dc7f9af760
(gdb) p f->task_thread .task_cur_prev
$5 = (struct Dav1dTask *) 0x0
(gdb) p *f->task_thread .task_head
$6 = {frame_idx = 0, type = DAV1D_TASK_TYPE_INIT, sby = 0, recon_progress = 0, deblock_progress = 0, deps_skip = 0, next = 0x0}
Having reset_task_cur
unconditionally reset everything (ttd->cur = 0; f[*].task_thread.task_cur_prev = NULL;
) makes hang patterns 1 & 2 go away. I think the issue is an ineffective call of that function.
Hang pattern 3 remains tho, indicating it being its own issue.
Alternatively, I ran tests without frame-threading (--framedelay=1
). It hangs even more rarely, quite a lot more (I actually thought fd=1 is hang free at first):
f - c->fc = 0
ttd->first = 0
ttd->cur = 0
f->task_thread.task_cur_prev = (struct Dav1dTask *) 0x0
f->task_thread.task_head = (struct Dav1dTask *) 0x55c388a427f0
f->task_thread.done = {0, 0}
f->frame_thread.entropy_progress = 0
*f->frame_thread.frame_progress = 0
f->sbh = 2
f->task_thread.tasks = {frame_idx = 0, type = DAV1D_TASK_TYPE_TILE_RECONSTRUCTION, sby = 0, recon_progress = 0,
deblock_progress = 0, deps_skip = 0, next = 0x55c388a59fb0}
$11 = {frame_idx = 0, type = DAV1D_TASK_TYPE_DEBLOCK_ROWS, sby = 0, recon_progress = 1, deblock_progress = 0,
deps_skip = 0, next = 0x0}
This is the same hang as pattern 3, but without frame-threading: init functions (INIT(_CDF)
tasks) called by the main thread, and no 2-pass decoding.
These tasks are inserted in the queue by the main thread, just like the INIT task is with frame-threading. It seems to me there might be something wrong with the cond_signaled
atomic, preventing a necessary call to pthread_cond_signal
. This would explain why these first tasks are never even checked.
Also an interesting thing to note is that we're not seeing pattern 1 & 2 without frame-threading.