Hey James, Sorry I did not give you guys more documentation. I was on my way out the door at the time, and I figured what I gave might be enough. Here are a few more things for you:
First off, this is on a Vagrant virtual machine, controlled by the attached Vagrantfile. It is using the VirtualBox provider, and my particular VirtualBox is Version 5.2.8 r121009 (Qt5.6.2). I am using the “fedorahost” in that Vagrantfile. I found the minimal command to recreate the error: find / -printf "'%h', '%f', '%i'\n" It seems to crash when it hits the mounted /vagrant directory (this is a directory that is shared between the virtual machine and the host OS). In particular, the %i operator seems to be at fault. Meanwhile, this command does not fail: find / -printf "'%h', '%f'\n" and neither does this one: find / -path /vagrant -prune -o -printf "'%h', '%f', '%i'\n" I hope that helps. - Jonathan M. Wilbur From: James Youngman Sent: Sunday, July 22, 2018 4:09 PM To: Jonathan M. Wilbur Cc: bug-findutils@gnu.org Subject: Re: On Thu, Jul 12, 2018 at 10:37 PM, Jonathan M. Wilbur <jonathan@wilbur.space> wrote: > > “find: ../../find/util.c:297: get_info: Assertion `p->st_ino' failed.” Let's start by checking the symptom directly. Assuming the problem is easily reproducible with a single file, please run the `stat` command on that file and show us the output. You would do that like this: $ stat README File: README Size: 4693 Blocks: 16 IO Block: 4096 regular file Device: fd04h/64772d Inode: 144515 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1027/ james) Gid: ( 1027/ james) Access: 2018-07-06 09:41:30.650016507 +0100 Modify: 2018-04-21 00:52:36.797927169 +0100 Change: 2018-07-05 22:25:31.282307251 +0100 Birth: - Here we see that this file is inode number 144515. I'm wondering if the file you are having a problem with really appears (to stat(1)) to have st_ino==0, or not. > I get this error when I run find on a mounted vboxsf filesystem. I've not encountered these. Could you provide - or point to - step-by-step instructions for reproducing your problem, please? Thanks, James.
Vagrantfile
Description: Binary data