Skip to content

Conversation

@akleshchev
Copy link
Contributor

No description provided.

@akleshchev akleshchev linked an issue Apr 29, 2025 that may be closed by this pull request
@Hecklezz
Copy link
Contributor

Related to this same crash, on line 1672 in llvertexbuffer.cpp, LLGLSLShader::sCurBoundShaderPtr is a nullptr so this assert fails, and then line 1674 will throw a null reference exception.

@aiaustin
Copy link

aiaustin commented Apr 29, 2025

Question, should there not be something server side to protect against such a crash as the viewers Collada Mesh Uploader does allow the example mesh to be uploaded, save and rezzed without indicating any error at all.

@Hecklezz
Copy link
Contributor

Related to this same crash, on line 1672 in llvertexbuffer.cpp, LLGLSLShader::sCurBoundShaderPtr is a nullptr so this assert fails, and then line 1674 will throw a null reference exception.

Fixing this then causes a nullptr exception also on line 761 in gltfscenemanager.cpp since it is accessing LLGLSLShader::sCurBoundShaderPtr again which is nullptr as described above.

@akleshchev
Copy link
Contributor Author

akleshchev commented Apr 29, 2025

should there not be something server side

  1. Server side is not responsible for rendering
  2. This crash happens because viewer uses an experimental feature on this region. It's viewer's fault for not initializing variables properly (I'm doing a hotfix here because fixing it properly is going to take too long and feature is currently frozen).

LLGLSLShader::sCurBoundShaderPtr

Thank you, will check that.

@akleshchev akleshchev force-pushed the andreyk/vwr_3997 branch 2 times, most recently from bba1b1c to 40e084e Compare April 29, 2025 15:00
@Hecklezz
Copy link
Contributor

The latest hotfix works and the viewer is no longer crashing due to this specific bug.

@akleshchev akleshchev merged commit d9e55c4 into release/2025.04 Apr 29, 2025
6 checks passed
@akleshchev akleshchev deleted the andreyk/vwr_3997 branch April 29, 2025 15:12
@github-actions github-actions bot locked and limited conversation to collaborators Apr 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when near or in sight of previously uploaded glTF Mesh

5 participants