question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mac: sporadic vnode I/O errors

See original GitHub issue

There 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 asserts 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:open
  • Created 5 years ago
  • Comments:18 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
pmjcommented, Dec 4, 2018

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)

0reactions
pmjcommented, Jan 11, 2019

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found