Thread (12 messages) 12 messages, 2 authors, 2024-12-05

Re: [BUG] commit fails with 'bus error' when working directory is on an NFS share

From: Dmitriy Panteleyev <hidden>
Date: 2024-12-01 17:17:57

On Sat, Nov 30, 2024 at 9:44 AM Jeff King [off-list ref] wrote:
On Fri, Nov 29, 2024 at 09:58:51PM -0700, Dmitriy Panteleyev wrote:
quoted
I've recently upgraded my (Linux Mint) distribution version, which
came with git v2.43.0 and I noticed that I can no longer `commit` on
any working directory which resides on an NFS share mount.

Git reports "Bus error (core dumped)" and dmesg shows multiple "NFS:
server error: fileid changed. fsid 0:68: expected fileid
0xf8e3d8e80230ddb5, got 0xeeb48230d99ed0d4" messages.

This does not happen if I move the working directory off the NFS share.
I can't reproduce any problems here on a test NFS mount. But since the
old version works here:
quoted
I attempted to upgrade git to v2.47.1, with the same result.

I then downgraded git to v2.34.1 (the version for the previous
distribution release) and the error has resolved.
Can you try bisecting between v2.34.1 and v2.43.0 to see which commit
introduces the problem for you?

-Peff
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[04fb96219abc0cbe46ba084997dc9066de3ac889] parse_object(): drop extra
"has" check before checking object type
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help