GNU bug report logs - #71529
Crash for large directory due to memory outage

Previous Next

Package: diffutils;

Reported by: Evan Greenup <evan_greenup <at> protonmail.com>

Date: Thu, 13 Jun 2024 05:24:03 UTC

Severity: normal

Tags: moreinfo

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Evan Greenup <evan_greenup <at> protonmail.com>
Cc: 71529 <at> debbugs.gnu.org
Subject: bug#71529: [bug-diffutils] bug#71529: Crash for large directory due to memory outage
Date: Thu, 13 Jun 2024 17:07:26 -0700
What do you mean by "crash"? Did you need to reboot the system, or did 
"diff" dump core, or did diff print a diagnostic "memory exhausxted"?

Can you send a recipe for reproducing the problem? I didn't have any 
trouble running diff 3.10 on a Fedora 40 machine with only 8 GiB RAM, in 
directories with 100,000 files. The following shell commands succeeded 
quietly:

  mkdir d e
  (cd d && touch $(seq 100000))
  (cd e && touch $(seq 100000))
  diff -r d e






This bug report was last modified 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.