[TIMOB-18729] Windows: Destructor of Label and Module classes cause crashes related to std::unordered_map fields
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-03-23T20:33:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2015-03-23T13:53:59.000+0000 |
Updated | 2017-03-14T20:11:21.000+0000 |
Description
When running the ti.lui.layout.test section of our mocha tests, after the tests we close a window we opened. This is causing Gc to run and destruct a number of objects. The Label and Module classes are crashing during their destruction, specifically when clear() is called on their std::unordered_map fields.
There is an access violation thrown and the address used is 0xDDDDDDDD, which signifies freed memory. So somehow the map has some internal nodes whose values are already freed?
Closing ticket as fixed.