-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readdirSync fails on Windows (using Apple Boot camp) when accessing a OSX drive #8723
Comments
I tried Version: v6.6.0 too and it was the same:
|
Have the same problem :( |
Node (or rather, libuv) uses I have no way to test myself but if you want to debug this, I'd start by instrumenting |
Latest official Node.js build now simply crashes instead of returning error. |
We might as well close this as it's unlikely to be a Node.js bug. Good idea, bad idea? |
Unfortunately, I don't have any Macs at my disposal at the moment. @bnoordhuis how exactly is this not a Node bug? At least in Node 7, it's a regression from a returned error to a hard crash. |
Define 'hard crash'? |
A segmentation fault aka "Application stopped working" |
How did you establish it was caused by |
Yes, I've been debugging the Node process itself and it crashed somewhere inside the |
Not actively working on this, assigned myself just to keep track. RE keeping this open — personally I'm +1 on keeping this open since the comments indicate there is a issue here, and I can't think of different way to keep track (not a TODO comment nor a /cc @nodejs/platform-windows @nodejs/platform-macos if anyone has spare cycles PTAL. |
@Eugeny A debugger backtrace would help. |
It seems to be this line: https://github.com/nodejs/node/blob/v7.4.0/deps/uv/src/win/fs.c#L906 (the array lookup), but I'm not 100% sure of it. Seems like the |
Actually, I'm sure of it. |
@Eugeny a core dump would be nice to have. Although I think a more general solution might be based on using Windows' I/O manager - #8897 (comment) |
@Eugeny Is that with Node v7.4.0? What does the latest v8.x do? v7.x is out of support. |
@refack do you want to keep this open? There has been no movement in a while, no new info and it's a pretty extreme edge case. |
I'll close this. The UNKNOWN error is with 99.9% certainty not our bug and the crash was in an eol'd version of node. If someone has information to the contrary, please leave a comment. |
@refack I think this should be re-opened. We received this from an app running v7.9.0 on a user's machine today:
We received the error several times in the same process and then Node crashed. It's just a regular C drive running on real Windows, no VM, nothing special. I don't think libuv's I can collect more information from the user's machine tomorrow. |
EOL is EOL but happy to reopen if it reproduces with the latest v8.x or v9.x and is otherwise the same issue (readdirSync, Windows, HFS.) |
When running Windows on Mac using Apple Boot camp, readdirSync fails when accessing the OSX drive.
This is the error I got:
Here is a code example:
The same code works fine when accessing the Windows Boot camp drive instead and when running on OSX...
The text was updated successfully, but these errors were encountered: