Adding on to this to say we're experiencing this issue on all Ubuntu 18.04 systems and we're also running xfs for a filesystem. It seems to be related to /var/lib/lxcfs on all of those systems. When we exclude /var/lib/lxcfs from du, it completes without core dumping.
root@system:/var# du --exclude 'lib/lxcfs/*' -h -d 1 . 3.1G ./log 14M ./backups 3.0G ./cache 480K ./crash 444M ./lib 0 ./local 4.0K ./mail 0 ./opt 1.3M ./spool 4.0K ./tmp 12K ./www 6.5G . root@system:/var# du -h --max-depth=1 . 873M ./log 14M ./backups 178M ./cache 312K ./crash Aborted (core dumped) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1788060 Title: du program crashes on /var/lib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1788060/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs