View Bug Details

IDProjectCategoryView StatusLast Update
0002910DCP-o-maticBugspublic2024-12-22 15:33
Reportercarl Assigned Tocarl  
PriorityhighSeverityblockReproducibilitysometimes
Status acknowledgedResolutionopen 
Summary0002910: Intermittent data corruption / failures writing to AFP-mounted storage
Description

Error -16 when writing video MXF when the working directory is on a network volume.
M3 OSX 14.5
DoM 2.17.23.

Sent some extra logging

Thu Nov 14 22:37:14 2024: asdcplib: writev failed errno=5, write_size=-1, total_size=750029
Thu Nov 14 22:37:15 2024: asdcplib: write failed errno=5, write_size=-1, buf_len=20

"An alternate cause of EIO on networked filesystems is when an advisory lock had been taken out on the file descriptor and this lock has been lost."

"When an advisory lock is obtained on a networked filesystem such as NFS it is possible that the lock might get lost. This may happen due to administrative action on the server, or due to a network partition (i.e., loss of network connectivity with the server) which lasts long enough for the server to assume that the client is no longer functioning.

When the filesystem determines that a lock has been lost, future read(2) or write(2) requests may fail with the error EIO. This error will persist until the lock is removed or the file descriptor is closed. Since Linux 3.12, this happens at least for NFSv4 (including all minor versions)."

write_size is the return value from writev / write.
5 is EIO Input/output error

Maybe you're just supposed to retry in those situations?

Tagsemail
Branch
Estimated weeks required
Estimated work requiredUndecided

Activities

carl

2024-12-08 21:52

administrator   ~0006610

Running test encode on M1 mac, local build from v2.17.x of feature with source + project both on afp shared by netatalk on Debian.

carl

2024-12-22 15:32

administrator   ~0006666

Works fine.

carl

2024-12-22 15:33

administrator   ~0006667

Maybe need to inject some network errors.

Bug History

Date Modified Username Field Change
2024-12-08 20:55 carl New Bug
2024-12-08 20:55 carl Tag Attached: email
2024-12-08 20:56 carl Assigned To => carl
2024-12-08 20:56 carl Status new => acknowledged
2024-12-08 20:57 carl Description Updated
2024-12-08 20:57 carl Estimated work required => Undecided
2024-12-08 20:58 carl Description Updated
2024-12-08 20:59 carl Description Updated
2024-12-08 21:05 carl Description Updated
2024-12-08 21:06 carl Description Updated
2024-12-08 21:52 carl Note Added: 0006610
2024-12-08 21:53 carl Description Updated
2024-12-22 15:32 carl Note Added: 0006666
2024-12-22 15:33 carl Note Added: 0006667