MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000854VCMIMechanics - Adventure Mappublic2012-02-08 10:562013-08-29 17:44
Reporterzjarek 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSMintOS Version11
Product Version 
Target VersionFixed in Version 
Summary0000854: Crash on exit, double free or corruption r2527
DescriptionWhile exiting after having at least one game started there is unnecessary deletition of CMapInfo member pointers, caused by lack of copy-ctors and usage of vectors. I don't have patch, because I don't know this code structure, but I will upload after cleanup private copy-ctors and operator= for every class with non-trivial destructors, it identified one bug already.
Steps To ReproduceExit game.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002167)
zjarek (reporter)
2012-02-08 11:05

It is "fixed" by removing delete mapheader; and delete campaignheader; from CMapInfo destructor.
(0003903)
Ivan (developer)
2013-08-29 17:44

Already fixed by using unique_ptr, closing.

- Issue History
Date Modified Username Field Change
2012-02-08 10:56 zjarek New Issue
2012-02-08 11:05 zjarek Note Added: 0002167
2013-08-29 17:44 Ivan Note Added: 0003903
2013-08-29 17:44 Ivan Status new => closed
2013-08-29 17:44 Ivan Resolution open => fixed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean