public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Richard Palethorpe <rpalethorpe@suse.de>
To: Andrea Cervesato <andrea.cervesato@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v8] Refactor aiocp using new LTP API
Date: Mon, 24 Oct 2022 08:27:00 +0100	[thread overview]
Message-ID: <874jvt1x8q.fsf@suse.de> (raw)
In-Reply-To: <20221013082146.14581-2-andrea.cervesato@suse.com>

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.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2022-10-24  7:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-13  8:21 [LTP] [PATCH v8 0/2] Rewrite aio-stress test Andrea Cervesato via ltp
2022-10-13  8:21 ` [LTP] [PATCH v8] Refactor aiocp using new LTP API Andrea Cervesato via ltp
2022-10-24  7:27   ` Richard Palethorpe [this message]
2022-10-13  8:21 ` [LTP] [PATCH v8 1/2] Rewrite aio-stress test using " Andrea Cervesato via ltp
2022-10-13 22:56   ` Petr Vorel
2022-10-24 14:42   ` Cyril Hrubis
2022-10-13  8:21 ` [LTP] [PATCH v8 2/2] Merge ltp-aio-stress part2 with part1 Andrea Cervesato via ltp
  -- strict thread matches above, loose matches on Subject: below --
2022-08-16 11:59 [LTP] [PATCH v8] Refactor aiocp using new LTP API Andrea Cervesato via ltp
2022-08-22 10:25 ` Cyril Hrubis
2022-10-11 12:29   ` Richard Palethorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jvt1x8q.fsf@suse.de \
    --to=rpalethorpe@suse.de \
    --cc=andrea.cervesato@suse.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox