Lwjgl3: Crash on vkBindImageMemory in examples

Created on 19 Sep 2016  路  3Comments  路  Source: LWJGL/lwjgl3

I'm trying to run TwoRotatingTrianglesDemo and almostly every time it is crashes on 675 line on _vkBindImageMemory_ call.

  • OS: Win 10 x64 v1511 build 10586.164
  • Videocard: MSI GeForce GTX 1060 Armor 6G
  • Driver: Nvidia 372.70 08/30/2016

hs_err_pid5684.zip
vulkaninfo.txt

Bug

Most helpful comment

Thanks for reporting! This was indeed a bug in the demo.
Should be fixed by https://github.com/LWJGL/lwjgl3-demos/commit/ae5added4bf731b67f74ed629d7b01d39d58423e.
Though this issue should've been posted to the lwjgl3-demos repository. Probably, @Spasi can move it there.

All 3 comments

Thanks for reporting! This was indeed a bug in the demo.
Should be fixed by https://github.com/LWJGL/lwjgl3-demos/commit/ae5added4bf731b67f74ed629d7b01d39d58423e.
Though this issue should've been posted to the lwjgl3-demos repository. Probably, @Spasi can move it there.

Thank you! :)

I just noticed that the style of memory allocations done in these demos is now rather discouraged. Instead of manually allocating and freeing the NIO buffers, better use the MemoryStack with the try-with-resources statement.
See the HelloWorld demo in the lwjgl3 repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dustContributor picture dustContributor  路  8Comments

Theikon picture Theikon  路  5Comments

hoijui picture hoijui  路  7Comments

ShadowLordAlpha picture ShadowLordAlpha  路  3Comments

erikmartinessanches picture erikmartinessanches  路  3Comments