You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#4990 fixed a bug in the journal replay logic which led to invalidly re-used file descriptors.
That PR implements a "quick fix" though, and breaks the convention of always re-using the lowest available FD number.
It instead just sets the next available FD to the highest used FD value.
To conform to the regular behaviour of "always use the lowest available FD number", the logic needs to be augmented to properly restore the FD number free list (freed_fds, located here:
#4990 fixed a bug in the journal replay logic which led to invalidly re-used file descriptors.
That PR implements a "quick fix" though, and breaks the convention of always re-using the lowest available FD number.
It instead just sets the next available FD to the highest used FD value.
To conform to the regular behaviour of "always use the lowest available FD number", the logic needs to be augmented to properly restore the FD number free list (
freed_fds
, located here:wasmer/lib/wasix/src/fs/mod.rs
Line 511 in 9a7b33a
The text was updated successfully, but these errors were encountered: