Mac: sporadic vnode I/O errors
See original GitHub issueThere seem to be a number of places in the kext’s vnode/fileop handler where I/O (reading attributes, etc.) occasionally fails. In a few places there are assert
s that even take down the system in case of such failures. We need to track down all the failure cases, some common root causes, and handle them correctly and gracefully in the kext instead of crashing the system.
Known failure cases:
Reports of more cases appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Random dark screen/shutdown on MacBook Pr…
I am now encountering random black screen lock ups followed by ... Use: Process (count) Input / Output (Source - Location) com.apple.WebKit.
Read more >What does SQLITE_IOERR_VNODE code 6922 mean?
SQLITE_IOERR_VNODE is an error code used by proprietary modifications to SQLite implemented by Apple for use on MacOS and iOS. I am told...
Read more >iMac Startup I/O Error Despite Successful Disk Repair
Disk I/O errors literally translate to input / output errors, which occur when the system is unable to communicate properly with the hard ......
Read more >11. Managing Stateful Applications - Robin Documentation
A static MAC address can be assigned to one Vnode only. For exmaple, if there are 10 Vnodes to be deployed then there...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Following out-of-band discussion, I’m going to wrap up most of the error logging I added with #555 into a PR we can merge into master, so that we can get a better overall picture of these errors and so that they are logged automatically on end user machines (c.f. #396) as they may help with diagnosing problems.
Additionally, we want to start mitigating the known problems, particularly the name cache misses. (with a view to implementing something along the lines of #338)
Yeah, this has turned up before - it seems that by the time we get the
KAUTH_FILEOP_CLOSE
event (presumably on a file that was deleted before the last process closed its handle), the vnode can already be in the process of being recycled. I believe this behaviour is part of what needs to be solved in #209 so I’ll leave the error log in there until that issue has been resolved - also in case we run into a different type of error in the same location. Still - thanks for reporting!