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.

MemoryStack leak in v1.6.3-beta-02

See original GitHub issue

The thread local MemoryStack is leaking frames and leads to an OutOfMemoryError. This isn’t present in v1.6.3-beta-01.

Reproduce when running the LWJGL example by printing MemoryStack.stackGet().pointer in the main loop - on beta-01 this remains constant (as it should) but on beta-02 falls to 0 and crashes.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
elect86commented, Sep 22, 2018

One deadly return in uno for retrieving window size before stack.pop could be executed… tricky

thanks for pointing it out

I’ll update the jars

Edit: done, let me know

0reactions
elect86commented, Sep 23, 2018

ok, new release out :p

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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