VirtualBox

Opened 12 months ago

#21705 new defect

'Text file busy' when building across share

Reported by: goldfita Owned by:
Component: shared folders Version: VirtualBox-7.0.8
Keywords: Cc: goldfita
Guest type: Linux Host type: Windows

Description

At some point, building on Windows from inside guest has stopped working. Unfortunately, I don't know if this was due to a newer version of maven, the switch to Rocky9 from Centos7, or due to frequent VirtualBox updates forced on me by security. I've isolated the problem using strace. I have the rest of the file if it's helpful. Note that building inside the VM or outside the VM works fine. Also, anything else I do across the mount seems to work fine.

openat(AT_FDCWD, "/home/share/M2_REPO/mydir/11.1.0-SNAPSHOT/myprj-11.1.0-SNAPSHOT/myprj-11.1.0-SNAPSHOT.pom.11699486122760120013.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 209
lseek(3, 31732293, SEEK_SET)            = 31732293
read(3, "PK\3\4\n\0\0\10\0\0\1\24\253V\5\301&/\271\6\0\0\271\6\0\0\"\0\0\0", 30) = 30
lseek(3, 31732357, SEEK_SET)            = 31732357
read(3, "\312\376\272\276\0\0\0004\0Y\t\0\20\0003\n\0\21\0004\t\0\20\0005\t\0\20\0006\t\0"..., 1721) = 1721
read(208, "<project xmlns=\"http://maven.apa"..., 32768) = 1725
newfstatat(208, "", {st_dev=makedev(0, 0x29), st_ino=683, st_mode=S_IFREG|0777, st_nlink=1, st_uid=0, st_gid=0, st_blksize=1048576, st_blocks=8, st_size=1725, st_atime=1685905784 /* 2023-06-04T15:09:44.191332600-0400 */, st_atime_nsec=191332600, st_mtime=1685660211 /* 2023-06-01T18:56:51.877926100-0400 */, st_mtime_nsec=877926100, st_ctime=1685660211 /* 2023-06-01T18:56:51.889957400-0400 */, st_ctime_nsec=889957400}, AT_EMPTY_PATH) = 0
lseek(208, 0, SEEK_CUR)                 = 1725
read(208, "", 32768)                    = 0
rename("/home/share/M2_REPO/mydir/11.1.0-SNAPSHOT/myprj-11.1.0-SNAPSHOT.pom.11699486122760120013.tmp", "/home/share/M2_REPO/mydir/11.1.0-SNAPSHOT/myprj-11.1.0-SNAPSHOT.pom") = -1 ETXTBSY (Text file busy)

I've read that this issue when renaming files is due to a long standing bug in glibc, but I'm not sure if this is the same thing. Everything was working fine at one point. I've also noticed that copy/paste in KDE has not been working for some time, but it's probably another issue.

Attachments (1)

Base (bentorockylinux-9.2)-2023-06-04-14-37-34.log (93.8 KB ) - added by goldfita 12 months ago.
VirtualBox Log

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use