View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002547 | Spring engine | General | public | 2011-07-10 03:16 | 2011-07-10 12:32 |
| Reporter | abma | Assigned To | Kloot | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Fixed in Version | 0.82.7+git | ||||
| Summary | 0002547: (master) win32 crash when commander moves in UnitScript.cpp:115 | ||||
| Description | http://pastebin.com/2NGYL3Um | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
http://pastebin.com/y1kew4ZG |
|
|
I know where the bug is. You call RemoveInstance() and/or AddInstance() when anims is not really empty (for all anim types). E.g. if (anims[type].empty()) |
|
|
It was iterator invalidation actually. Finished animations were all removed in one batch, and THEN another batch followed to notify their listeners, but the removal caused the iterator positions which were pointing to anims[type] to become void. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-07-10 03:16 | abma | New Issue | |
| 2011-07-10 03:16 | abma | File Added: infolog.txt | |
| 2011-07-10 03:16 | abma | Graphics Card | => unknown |
| 2011-07-10 03:16 | abma | Summary | (master) win32 crash when commander moves => (master) win32 crash when commander moves in UnitScript.cpp:115 |
| 2011-07-10 04:10 | abma | Relationship added | related to 0002545 |
| 2011-07-10 11:45 | tvo | Note Added: 0006987 | |
| 2011-07-10 12:01 | Kloot | Status | new => assigned |
| 2011-07-10 12:01 | Kloot | Assigned To | => Kloot |
| 2011-07-10 12:14 | zerver | Note Added: 0006989 | |
| 2011-07-10 12:32 | Kloot | Note Added: 0006990 | |
| 2011-07-10 12:32 | Kloot | Status | assigned => resolved |
| 2011-07-10 12:32 | Kloot | Fixed in Version | => 0.82.7+git |
| 2011-07-10 12:32 | Kloot | Resolution | open => fixed |