- skumbananaaa
- Posts: 6
- Joined:
Crash in Vulkan RenderDevice
We have a problem where we randomly crash in
The weird thing is that we can get through the following without crashing:
This code executes exactly as written above, but we don't crash until we get to the final Render() call.
What could be the cause for this? How can it get through UpdateRenderTree() and RenderOffscreen() but crash in Render()?
Code: Select all
m_View->GetRenderer()->Render();
Code: Select all
m_View->Update(EngineLoop::GetTimeSinceStart().AsSeconds());
m_View->GetRenderer()->UpdateRenderTree();
m_View->GetRenderer()->RenderOffscreen();
m_View->GetRenderer()->Render();
What could be the cause for this? How can it get through UpdateRenderTree() and RenderOffscreen() but crash in Render()?
Re: Crash in Vulkan RenderDevice
Not sure if I am following, the crash is happening inside Render() right? Why should the other functions (UpdateRenderTree, RenderOffscreen) crash?
- skumbananaaa
- Posts: 6
- Joined:
Re: Crash in Vulkan RenderDevice
Yes, correct, the crash is happening in Render(). Seems odd to me that UpdateRenderTree and RenderOffscreen can run without crashing but Render crashes right after. I mean, to me it seems unlikely that there is any problem with the view since those functions run, and those functions depend on the RenderDevice so it also seems unlikely that the problem lies there.
Re: Crash in Vulkan RenderDevice
I don't see why Render cannot crash when UpdateRenderTree and RenderOffscreen didn't. Anyway, where is the crash happening? If it is inside Noesis could you please create a ticket and attach the minidump?
- skumbananaaa
- Posts: 6
- Joined:
Re: Crash in Vulkan RenderDevice
I'm not saying that I can't crash there, obviously, it can. Since I can't debug anything about Noesis I cant really say what the problem is. I'm just saying that the View and the RenderDevice seem valid (not garbage memory or nullptr) since UpdateRenderTree and RenderOffscreen run successfully.
Ill attach a minidump the next time it happens, as I said, it happens very rarely.
Ill attach a minidump the next time it happens, as I said, it happens very rarely.
Re: Crash in Vulkan RenderDevice
I see, I understand now! 😃
I am pretty sure the minidump will reveal what's going on.
I am pretty sure the minidump will reveal what's going on.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 61 guests