GNU bug report logs -
#64316
ASAN failures in dir.c
Previous Next
Reported by: Gisle Vanem <gvanem <at> yahoo.no>
Date: Tue, 27 Jun 2023 13:06:02 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 64316 <at> debbugs.gnu.org (full text, mbox):
On 2023-06-27 12:52, Gisle Vanem wrote:
> with MSVC's 'cl.exe', I often get:
> diff.exe: memory exhausted
>
> (on directory branches with approx. > 7000 files)
I can't reproduce that on Ubuntu x86 or x86-64. I built a test case this
way:
for dir in d e; do
(mkdir $dir &&
cd $dir &&
for i in $(seq 8000); do
echo $dir$i>$i
done)
done
and "diff d e >f" worked just fine. Do you have a reproducible test case?
> From where the allocation fails, I've no idea since Gnulib is so
> unfriendly telling where this occurs. Is there really no
> xmalloc_die() with some more useful messages than this? Yikes!
When you run out of memory, bad things happen pretty much everywhere.
Too bad Microsoft gives you a bad backtrace.
You might try running the leak detector though to be honest I've not had
much luck with that.
Another possibility is to try to find the commit that introduced the
problem, if it's reproducible.
This bug report was last modified 1 year and 331 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.