[LTP] [PATCH v8] Refactor aiocp using new LTP API

Richard Palethorpe rpalethorpe@suse.de
Mon Oct 24 09:27:00 CEST 2022


Hello,

I can crash the test with the following:

./aiocp -b 256 -s 1024 -n 8 -i 10
tst_test.c:1526: TINFO: Timeout per run is 0h 30m 30s
aiocp.c:248: TINFO: Maximum AIO blocks: 65536
aiocp.c:273: TINFO: Fill srcfile.bin with random data
aiocp.c:302: TINFO: Copy srcfile.bin -> dstfile.bin
aiocp.c:314: TINFO: Comparing srcfile.bin with dstfile.bin
aiocp.c:337: TPASS: Files are identical
aiocp.c:302: TINFO: Copy srcfile.bin -> dstfile.bin
aiocp.c:314: TINFO: Comparing srcfile.bin with dstfile.bin
aiocp.c:337: TPASS: Files are identical
aiocp.c:302: TINFO: Copy srcfile.bin -> dstfile.bin
aiocp.c:314: TINFO: Comparing srcfile.bin with dstfile.bin
aiocp.c:337: TPASS: Files are identical
aiocp.c:302: TINFO: Copy srcfile.bin -> dstfile.bin
aiocp.c:314: TINFO: Comparing srcfile.bin with dstfile.bin
aiocp.c:337: TPASS: Files are identical
aiocp.c:302: TINFO: Copy srcfile.bin -> dstfile.bin
malloc(): corrupted top size
tst_test.c:1583: TBROK: Test killed by SIGIOT/SIGABRT!

Summary:
passed   4
failed   0
broken   1
skipped  0
warnings 0

I haven't looked into what might be causing that, but you could try
compiling and running it with the address sanitizer.

Also if I pass -f DIRECT it fails with EINVAL.

-- 
Thank you,
Richard.


More information about the ltp mailing list