Replies: 1 comment 3 replies
-
|
Might 5a5d731 have fixed your issue? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We occasionally encounter an exception on Windows when calling the file_handle constructor as follows:
llfio::file_handle newfile = llfio::file({}, rafPath, llfio::file_handle::mode::write, llfio::handle::creation::only_if_not_exist).value();
This ends up calling your CreateFileW_ function internally, which then executes:
if(RtlDosPathNameToNtPathName_U(lpFileName, &NtPath, nullptr, nullptr) == 0u)
And we get an Access violation executing location 0, as if the return address on the stack has been corrupted.
This happens infrequently, and on the most recent instance, the file indeed did not exist at the time of the call, and there was only one thread of execution at that point in time.
Beta Was this translation helpful? Give feedback.
All reactions