| Anonymous | Login | 2025-10-26 20:54 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 | ||||||||
| 0000398 | VCMI | Mechanics - Other | public | 2010-03-01 23:45 | 2023-04-12 23:37 | ||||||||
| Reporter | Zamolxis | ||||||||||||
| Assigned To | Ivan | ||||||||||||
| Priority | normal | Severity | crash | Reproducibility | sometimes | ||||||||
| Status | resolved | Resolution | fixed | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Product Version | 0.8 | ||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0000398: Crash if I exit the game while in battle | ||||||||||||
| Description | I'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. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files | |||||||||||||
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 |
| Copyright © 2000 - 2025 MantisBT Team |