LearnWebGPU-Code icon indicating copy to clipboard operation
LearnWebGPU-Code copied to clipboard

Segfault in Application::Terminate in step033-optionB-next

Open jacquev6 opened this issue 4 months ago • 1 comments

Hello Elie,

Here: https://github.com/eliemichel/LearnWebGPU-Code/blob/step033-optionB-next/Application.cpp#L219, the call to m_vertexBuffer.release() causes a crash because this variable is not initialized in that branch.

Fantastic guide; thanks a lot.

jacquev6 avatar Jul 14 '25 16:07 jacquev6

It also happens on other branches like step034-next (here: https://github.com/eliemichel/LearnWebGPU-Code/blob/step034-next/Application.cpp#L213) or step037-next.

jacquev6 avatar Jul 14 '25 17:07 jacquev6