Bug #356: TimeEvent double free when casting spells - server crash
ID | #356 |
---|---|
Submitter | Sausage |
Product | EOSERV |
Severity | Critical |
Status | CLOSED, FIXED |
Submitted | 6th Aug 2015 |
Updated | 6th Aug 2015 |
Rev# | Date | Description |
---|---|---|
r459 | 06 Aug 2015 23:10:21 UTC | Fix spell crashing (bug #356) |
9 years, 9 weeks ago
character_cast_spell(void*) deletes the spell_event TimeEvent while the Timer system is executing it, leading to the TimeEvent being deleted twice.
Stack trace (r458):
- 6 0xb7396ea8 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
Removing the delete line from character_cast_spell should be a sufficient fix as it is not called from outside its timer event.
Comments
9 years, 9 weeks ago
Hopefully fixed in r459 without any side-effects.
Updated Status to CLOSED, FIXED
Add Comment
Please don't post unless you have something relevant to the bug to say.
Do not comment to say "thanks" or "fix this please".
Please log in to add comments. EOSERV Bug Tracker > Bug #356: TimeEvent double free when casting spells - server crash