-
Notifications
You must be signed in to change notification settings - Fork 44
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
example 01: memory access violation on windows 10 #10
Comments
Is this issue reproduced on other examples? I recommend you to try running the example of ash. This help me to figure out if it's the problem of my code, a machine specific problem, or any bug issure in SDK. |
I ran all the ash examples and they were fine: no crashes, no errors, nothing. Most of the other examples up to 17th from your tutorial were fine too, so that's strange. Ones that aren't workin are 17, 23. When I try to run the 17th example, it shows a whole bunch of errors and crashes without window even appearing on my screen:
Example 23, however, does launch, but there's no texture in assets folder, and when I try to use my own jpg image as texture, it seems fine, but the textures itself does not appear on the screen, there's only the rotating square from previous example. No errors or anything for this one. However, following examples crash with |
Forgot to mention the other example that's not working.
|
Here are some instructions may help you:
I would test these problems as soon as I get access to Windows machine. |
Example 01 works now, thank you. |
Cannot implement Drop for VulkanApp in example01, because the usage of
destroy_instance(None)
crashes the program on closing the window and produceserror: process didn't exit successfully: `target\debug\01.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
Without the
Drop
implementation or thedestroy_instance()
usage everything is fine.I read the actual docs for Vulakn API for this function, and I'm assuming there's a dangling reference somewhere inside the instance fields, but couldnt confirm (I'm not even sure if I'm right). Any suggestions?
The text was updated successfully, but these errors were encountered: