Skip to content

Memory access violation using SimpleArrayTexture #69

@GuyApooye

Description

@GuyApooye

Description
invoking SimpleArrayTexture#load leads to an access violation exception in the opengl natives (nvoglv64.dll+0x1450d3d for me).

To Reproduce
Steps to reproduce the behavior:

  1. create a SimpleArrayTexture with one or more textures.
  2. invoke SimpleArrayTexture#load

Expected Behavior
Correct behavior. ie no crash.

Screenshots
code:
Image

System Information
Please provide the following information:

  • Veil Version: 1.3.2
  • Minecraft Version: 1.21.1
  • Loader & Loader Version: Fabric 0.16.14
  • Operating System: Windows 10
  • CPU: Intel i7-10700
  • GPU: NVIDIA GTX 1650
  • RAM: 32GB

Additional Context

log (there were no errors in the normal log): https://mclo.gs/mywOOWm

issue happens with and without the line glActiveTexture(GL_TEXTURE0)

probably related: https://stackoverflow.com/questions/72057406/access-violation-in-nvoglv64-dll-when-using-opengl

this crash happens only on some frames, which would make sense if the stackoverflow post above is actually related, because the next bytes could be unallocated thus not causing a memory access violation. unless i just dont understand how memory works.

Metadata

Metadata

Assignees

Labels

1.21bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions