Web lists-archives.com

du core dump if run on directory being deleted?




Hi!  Given a rather large directory build.deleteme, doing
  rmdir /s /q build.deleteme
in a CMD window, and then doing
  du build.deleteme
in a cygwin window, seems to result in a reproducible crash;
at least, it happened the two times I tried it :-)

Log of the cygwin window:

buildbot@rbb-win10-1 /cygdrive/c/builds/xxxxx
$ du build.deleteme
du: cannot access
'build.deleteme/src/third_party/pdfium/testing/resources/pixel/bug_543018_1.in':
No such file or directory
Aborted (core dumped)

buildbot@rbb-win10-1 /cygdrive/c/builds/xxxxx
$ du build.deleteme
0       build.deleteme/src/third_party/pdfium/testing/resources
4       build.deleteme/src/third_party/pdfium/testing
8       build.deleteme/src/third_party/pdfium
4       build.deleteme/src/third_party/perl/perl/lib/Module
du: cannot access
'build.deleteme/src/third_party/perl/perl/lib/mro.pm': No such file or
directory
du: cannot access
'build.deleteme/src/third_party/perl/perl/lib/NDBM_File.pm': No such
file or directory
0       build.deleteme/src/third_party/perl/perl/lib/Net/FTP
du: cannot access
'build.deleteme/src/third_party/perl/perl/lib/Net/netent.pm': No such
file or directory
du: cannot access
'build.deleteme/src/third_party/perl/perl/lib/Net/Netrc.pm': No such
file or directory
du: cannot access
'build.deleteme/src/third_party/perl/perl/lib/Net/NNTP.pm': No such
file or directory
du: cannot access
'build.deleteme/src/third_party/perl/perl/lib/Net/Ping.pm': No such
file or directory
Aborted (core dumped)

Here are du.exe.stackdump and cygcheck.out.

FWIW, this was a few minutes after rebooting to turn off windows defender.
- Dan

Attachment: cygcheck.out
Description: Binary data

Attachment: du.exe.stackdump
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple