Skip to content
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

Menu handler crashes on close window in release mode #4

Open
kmilo9999 opened this issue May 2, 2022 · 1 comment
Open

Menu handler crashes on close window in release mode #4

kmilo9999 opened this issue May 2, 2022 · 1 comment

Comments

@kmilo9999
Copy link
Contributor

This problem is related to:
brown-ccv/VR-Volumeviewer#48

@kmilo9999
Copy link
Contributor Author

It crashes on line imgui.cpp:2917

ImGuiWindow::~ImGuiWindow()
{
    IM_ASSERT(DrawList == &DrawListInst);
    IM_DELETE(Name);
    **for (int i = 0; i != ColumnsStorage.Size; i++)**
        ColumnsStorage[i].~ImGuiOldColumns();
}

the reference to ColumnsStorage goes to null and the code is not checking for null states at that point. ImGui 1.8.4 (we have 1.8.3) already fixes this issue changing the implementation of ColumnsStorage.

Solutions:

  • Go up on Imgui >= 1.8.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant