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
Starting the runtime fails. #13
Comments
@alberts2 The length of the buffer is passed in so I think it could be the following:
Thanks for reporting this. I will push up a new version ASAP. |
@alberts2 As a confirmation was this observed on a non-Windows platform? I am occasionally still getting the following on macOS, but have no issues on Windows. I will need to debug further I think.
|
Found it. There was another bug I had introduced when indicating how much of the buffer I had used. Line 235 in 449e4cc
The above should really be the buffer consumed not its length. This bug isn't in the Windows version. |
On windows it only worked if it was run from somewhere on |
@alberts2 Okay. I will verify that scenario as well. There were at least 2 issues here and I have addressed both. The updated package has been published - https://www.nuget.org/packages/DNNE. |
Starting the runtime fails sometimes because of a issue in the
get_current_dir_filepath
functionDNNE/src/platform/platform.c
Line 291 in 449e4cc
Should probably be
int32_t remaining = (int32_t)DNNE_MAX_PATH - (filename_dest - buffer);
The text was updated successfully, but these errors were encountered: