Anonymous | Login | 2024-11-21 14:41 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 | ||||
0001177 | VCMI | GUI - Adventure Map | public | 2013-01-20 14:51 | 2014-05-30 17:41 | ||||
Reporter | beegee | ||||||||
Assigned To | Ivan | ||||||||
Priority | high | Severity | crash | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 0.91 | |||||||
Summary | 0001177: Crash when returning to main menu from adv map | ||||||||
Description | Game crashes when you want to switch/go back to main menu from the adventure map. | ||||||||
Additional Information | Stacktrace: CModHandler.cpp at line 360 in CModHandler->reload() CMT.cpp at line 801 in listenForEvents() ... Problem is that townInfos[town.first] is null. This is the line where it crashes: townInfos[town.first]->name = cientInfo.advMapCastle; | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0003291) Ivan (developer) 2013-01-20 22:53 |
Found it. But how modHandler::reload worked all this time? listenForEvents does not updates pointer in VLC (which is used by modHander). As result game crashes as soon as it reaches deallocated memory block. Should be fixed (as in "does not crashes") with rev 3113 but maybe there is a better fix than this: http://sourceforge.net/apps/trac/vcmi/changeset/3113/trunk/client/CMT.cpp [^] |
(0003293) beegee (developer) 2013-01-21 19:25 |
Thanks, seems to be fixed. |
Issue History | |||
Date Modified | Username | Field | Change |
2013-01-20 14:51 | beegee | New Issue | |
2013-01-20 21:43 | Ivan | Assigned To | => Ivan |
2013-01-20 21:43 | Ivan | Status | new => assigned |
2013-01-20 22:53 | Ivan | Note Added: 0003291 | |
2013-01-20 22:53 | Ivan | Assigned To | Ivan => |
2013-01-20 22:54 | Ivan | Status | assigned => feedback |
2013-01-21 19:25 | beegee | Note Added: 0003293 | |
2013-01-21 19:25 | beegee | Status | feedback => new |
2013-01-21 19:25 | beegee | Status | new => resolved |
2013-01-21 19:25 | beegee | Fixed in Version | => 0.dev |
2013-01-21 19:25 | beegee | Resolution | open => fixed |
2013-01-21 19:25 | beegee | Assigned To | => Ivan |
2013-02-01 14:12 | Warmonger | Product Version | 0.dev => 0.91 |
2013-02-01 14:12 | Warmonger | Product Version | 0.91 => 0.dev |
2013-02-01 14:12 | Warmonger | Fixed in Version | 0.dev => 0.91 |
2014-05-30 17:41 | beegee | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |