-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault in ImGui_ImplVulkan_RenderDrawData with pcmd->UserCallback = 0xfffffffffffffffe #267
Comments
My nodes are doing custom draw commands in them so perhaps that's related, the sentinel is not being found in the expected state?
|
I now have a semi reproducible test case, at least if you're able to build and run ngscopeclient. I added the following code to imgui_canvas.cpp after the check for the sentinel:
The fault occurs while mousing over the Divide_1 node in the graph editor, at which point I get
For whatever reason, it appears critical that the right hand "data" output port is partially clipped by the edge of the canvas. If the entire port text is on or off screen, the fault does not occur. |
In general, the fault is triggered by mousing over any filter node that has output ports which are partially clipped by the edge of the canvas. Instrument channels do not appear to trigger it regardless of clip position. |
There were fixes around that issue some time ago. Can you check if |
I'm getting intermittent crashes in the ngscopeclient filter graph editor (using my fork at https://github.com/ngscopeclient/imgui-node-editor although most of the changes are build/warning related and I haven't found any way they could be causing problems).
I'm attempting to develop a reproducible test case but have so far not been successful.
What I do know is that the crash is due to the sentinel value ImDrawCallback_ImCanvas being called - which as far as I know should not ever happen.
The text was updated successfully, but these errors were encountered: