question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Library crashes upon invocation of certain functions.

See original GitHub issue

I’ve succesfully installed the library using Maven. Tried to run the example in here but the program crashes when it hits these functions:

ImGui#setConfigViewportsNoTaskBarIcon(boolean); (Line 150) ImFontConfig#setMergeMode(boolean); (Line 166 & 171) ImFontConfig#setPixelSnapH(boolean); (Line 167 & 172)

Here is the crash message: Screenshot 2020-09-24 115904


Also, although unrelated, when invoking the ImFontAtlas#addFontFromFileTTF(String, float, ImFontConfig), I have to give the string “src/main/resources/Righteous-Regular.ttf” instead of “/Righteous-Regular.ttf”. I’d normally give the latter to “load from file system” functions but it doesn’t work. Why does that happen? (for example ImGuiGlfwExample#loadFromResources(String) takes the latter and works).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
aeris170commented, Sep 24, 2020

I guess we can close this issue. I’ll re-open if I can find any clues as to why this strange behavior happened. Sorry for wasting your time 😄.

1reaction
aeris170commented, Sep 24, 2020

I have no idea what I did but after I took that screen shot, I uncommented the lines and launched the demo again to copy-paste the console output. It started working, but why??

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enterprise Application crashes whi… | Apple Developer Forums
Hello Folks, Our enterprise application works fine in iOS 14, but when launched on iOS 15 it crashes instantly without giving any errors....
Read more >
Prevent graceless crash from occurring in application calling ...
I have a C# application App A that calls, via P/Invoke, a C++ (Qt) DLL App B . Let's assume I cannot, by...
Read more >
iOS 15 crash with build on Xcode 13 (sandbox?) #700 - GitHub
We have found that we don't get the crash when running a local build from XCode but we do get the crash for...
Read more >
Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
How to fix "*** recursive gc invocation" followed by RStudio ...
I work on a virtual Windows server that I remote into. ... The crash almost always happens in the middle of some oper…...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found