View Issue Details

IDProjectCategoryView StatusLast Update
0002547Spring engineGeneralpublic2011-07-10 12:32
Reporterabma Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version0.82.7+git 
Summary0002547: (master) win32 crash when commander moves in UnitScript.cpp:115
Descriptionhttp://pastebin.com/2NGYL3Um
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

related to 0002545 resolvedtvo stacktrace translate doesn't work (Unable to find detailed version in infolog) 

Activities

tvo

2011-07-10 11:45

reporter   ~0006987

http://pastebin.com/y1kew4ZG

zerver

2011-07-10 12:14

reporter   ~0006989

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())

Kloot

2011-07-10 12:32

developer   ~0006990

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.

Issue History

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