#2040 closed defect (invalid)
Memory leak when generating a random map as host (Ubuntu PPA)
Reported by: | scythetwirler | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | freeze |
Cc: | Patch: |
Description (last modified by )
About 60% of the time when I host a MP game using a random map, the loading stalls at 17% and then RAM usage explodes from 400MB to my capacity (4GB) in a matter of seconds. The game then freezes my computer and after a couple minutes, crashes.
This has happened in the prebuilt package of Alpha 13.
Change History (6)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Keywords: | freeze added; memory leak RAM freezes removed |
---|---|
Summary: | Memory leak when generating a random map as host. → Memory leak when generating a random map as host (Ubuntu PPA) |
So far, it's only reproducible consistently with the A13 package from PPA. However, I tried installing the A13 package on an Ubuntu 12.10 VM and couldn't get the freeze or crash.
scythetwirler's backtrace: http://pastebin.com/P6T0Gi6a (libmozjs185 symbols are missing)
comment:3 by , 11 years ago
Description: | modified (diff) |
---|
comment:4 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 by , 11 years ago
Apparently, the math.pow patch doesn't work too well with map generation for A13 (it works when I remove the patch). This shouldn't matter now as the patch works in SVN.
comment:6 by , 11 years ago
Milestone: | Alpha 14 |
---|
Can you run the game in a debugger (e.g. gdb) and get a call stack of all threads from when it crashes? Or you can break into the debugger when memory rises sharply before the crash and see what the call stack is at that point.