Bug #1889
Possible memory leaks in JS engine while running some plugins
Status: | Fixed | Start date: | 01/28/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | Plugins | |||
Target version: | 4.6 | |||
Found in version: | All | Platform: | Linux |
Description
To reproduce:
1. Run ST with -d switch
2. Install ororo plugin in Linux ST and enter into it
3. Press Alt+F4
You will get:
thread [DEBUG]: Thread jsmodel exited thread [DEBUG]: Thread PC:js exited JS engine warning: leaking GC root 'jss' at 0x7fe64802a210 JS engine warning: 1 GC root remains after destroying the JSRuntime at 0x2954230. This root may point to freed memory. Objects reachable through it have not been finalized. core [DEBUG]: Backend finished
Associated revisions
Change included in version 4.5.51
History
#1
Updated by Leonid Protasov about 7 years ago
The same goes on with Youtube plugin. Looks like any plugin that changes background on the run suffers that.
#2
Updated by Andreas Smas about 7 years ago
- Target version deleted (
4.4)
I don't think the leak is that big actually. It has always been like this and will only leak when unloading the plugin (uninstall or exit). I don't dare fix it for 4.4 as it might break other stuff. I've tried to fixed it before but it was a bit too nasty.
#3
Updated by Leonid Protasov about 7 years ago
- Priority changed from High to Normal
- Target version set to 4.6
#4
Updated by Andreas Smas about 7 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset git|commit:8880c85badcb60892f632179d327af7cd42c9feb.