Anonymous | Login | 2024-11-21 15:49 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0002482 | VCMI | Random Map Generator | public | 2016-09-18 10:17 | 2018-03-05 14:07 | ||||||||
Reporter | SXX | ||||||||||||
Assigned To | AVS | ||||||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 0.98g | ||||||||||||
Target Version | Fixed in Version | 1.next | |||||||||||
Summary | 0002482: Crash on second+ usage of RMG due to client memory corruption | ||||||||||||
Description | Few days ago me ans @AVS found very interesting crash with RMG that can be reproduced each simple time with clang and GCC builds. Just run RNG once, exit to menu and then on 2nd, 3rd (rarely more) run it's will crash in ObjectTemplate::isBlockedAt. I think we find out that valgrind show memory corruption there, but in the end didn't find what actually cause it. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
Notes | |
(0007467) SXX (administrator) 2018-03-04 03:53 |
Yesterday Alex found that corruption occur in CMapGenerator:zones = tmpl->getZones(); Problem is that map template passed as mutable to generator and then after game on such map is finished and gamestate destroyed some of data inside template get corrupted. So on second generation with same template there no data for map objects. |
(0007479) AVS (administrator) 2018-03-05 14:07 |
Should be fixed in 26aad172 |
Issue History | |||
Date Modified | Username | Field | Change |
2016-09-18 10:17 | SXX | New Issue | |
2016-09-18 10:17 | SXX | Status | new => assigned |
2016-09-18 10:17 | SXX | Assigned To | => SXX |
2016-09-18 10:18 | SXX | Severity | minor => crash |
2018-03-04 03:53 | SXX | Note Added: 0007467 | |
2018-03-05 14:04 | AVS | Assigned To | SXX => AVS |
2018-03-05 14:07 | AVS | Note Added: 0007479 | |
2018-03-05 14:07 | AVS | Status | assigned => resolved |
2018-03-05 14:07 | AVS | Fixed in Version | => 1.next |
2018-03-05 14:07 | AVS | Resolution | open => fixed |
Copyright © 2000 - 2024 MantisBT Team |