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

Bug: ImFontAtlas' ClearInputData method crashes without any error. #229

Open
Mjrlun opened this issue Apr 20, 2024 · 0 comments
Open

Bug: ImFontAtlas' ClearInputData method crashes without any error. #229

Mjrlun opened this issue Apr 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Mjrlun
Copy link

Mjrlun commented Apr 20, 2024

Version

1.86.11

What happened?

Upon calling the method in the title, the JVM hangs and hard-crashes with no outputted error.

What I expected to happen is the font atlas to clear the input data.

I've tried to find a solution online for week, still can't find one.

Reproduction

This method splits all of the clear() methods in order to make sure none of them break. Hopefully once this is solved, I'll switch back to the generic version. Yes, the same error occurs with clear(), so this may be an imgui issue, rather than with the binding.
image
Upon starting the program, the font atlas is cleared (for code generality reasons). This has no effect; the method returns normally.
However, upon fully loading a font, and then calling clearInputData() (font pointer still fully valid), the JVM crashes with no error.

Relevant log output

No error exists in the log.

If this error is resolved as not a fault of the binding, I will bump it to the ImGUI issue tracker

@Mjrlun Mjrlun added the bug Something isn't working label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant