NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/56239 (lib/libc/regex/t_exhaust:regcomp_too_big test fails)
The following reply was made to PR lib/56239; it has been noted by GNATS.
From: Andreas Gustafsson <gson%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: christos%NetBSD.org@localhost
Subject: Re: lib/56239 (lib/libc/regex/t_exhaust:regcomp_too_big test fails)
Date: Wed, 9 Jun 2021 09:36:43 +0300
I tried running the test case in a loop:
cd /usr/tests/lib/libc/regex
i=0; while ./t_exhaust regcomp_too_big; do i=$(expr $i + 1); echo $i; done
using sources from immediately before and after the commit identified
in the original PR, in a qemu amd64 VM with 512 MB RAM. Results:
source date 2021.02.23.21.59.31: no failure after more than 300,000 runs
source date 2021.02.23.22.14.59: failed after 21 runs
Also, the successful runs took 5-10x longer in the latter case, up from
about 100 ms per run to 500-1000 ms per run.
--
Andreas Gustafsson, gson%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index