MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000398VCMIMechanics - Otherpublic2010-03-01 23:452023-04-12 23:37
ReporterZamolxis 
Assigned ToIvan 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.8 
Target VersionFixed in Version 
Summary0000398: Crash if I exit the game while in battle
DescriptionI'm not sure yet, but it seems to happen only for the battles in which I have already cast a spell. At least from my attempts to reproduce so far I have: 3 battles with no spell - close application with no crash; 3 battles with spell - crash if I close application before exiting battle. To reproduce use the savegame from report 0000396. Crashdump attached.
TagsNo tags attached.
Attached Files7z file icon 2010-03-02_CrashIfExitDuringBattle.7z [^] (106,353 bytes) 2010-03-01 23:45
jpg file icon 2010-03-02_CrashIfExitDuringBattle.jpg [^] (32,771 bytes) 2010-03-01 23:46

- Relationships

-  Notes
(0004168)
beegee (developer)
2013-12-07 18:20
edited on: 2013-12-07 18:23

This problem is not simple to fix. The server will be shut down hard if the client sends the appropriate package. A mutex is locked, but won't be unlocked in battle. When the mutex is destructed from the operating system when the process terminates, boost complains about this failing assert:

vcmiserver: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.

I didn't receive any exceptions or any other error message, just that failing assert.

(0008597)
Ivan (developer)
2023-04-12 23:37

Fixed in 1.2

- Issue History
Date Modified Username Field Change
2010-03-01 23:45 Zamolxis New Issue
2010-03-01 23:45 Zamolxis File Added: 2010-03-02_CrashIfExitDuringBattle.7z
2010-03-01 23:45 Zamolxis Description Updated View Revisions
2010-03-01 23:46 Zamolxis File Added: 2010-03-02_CrashIfExitDuringBattle.jpg
2013-12-07 18:20 beegee Note Added: 0004168
2013-12-07 18:20 beegee Note Edited: 0004168 View Revisions
2013-12-07 18:21 beegee Status new => confirmed
2013-12-07 18:23 beegee Note Edited: 0004168 View Revisions
2023-04-12 16:59 Ivan Status confirmed => acknowledged
2023-04-12 23:37 Ivan Note Added: 0008597
2023-04-12 23:37 Ivan Status acknowledged => resolved
2023-04-12 23:37 Ivan Resolution open => fixed
2023-04-12 23:37 Ivan Assigned To => Ivan

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean