Crash in map grid iterator #3894
Comments
NoQ uploaded file |
NoQ commented Ah, found the old crash. By the way, had a closer look at the new crash, and it's not really related to the burn damage, yet still looks very similar. |
NoQ uploaded file |
NoQ uploaded file Yet another similar dump. |
Per changed title from |
Per commented Several crash dumps in this ticket, all pointing to gridIterate () at mapgrid.h:57. |
Reg312 commented Tried to reproduce this crash on my windows build, but unsuccessful |
NoQ commented Since nobody can reproduce that, i wonder if it's related to the fact that i now use js_enumRange() in my scripts, which also uses gridIterate(). |
Cyp changed _comment0 which not transferred by tractive |
Cyp commented Note the nearby comment »// Detect (by crashing in a reproducible way) if calling gridIterate() again before gridStartIterate().«, which may be relevant. Doing something like
will crash there, since the inner loop clobbers the outer loop. |
NoQ commented Is there any way for me to gather more information? Probably somebody could provide a patch that would expose more relevant debug data? Cause i'm able to reproduce it very often, but absolutely unreliably. |
Cyp changed status from |
Cyp changed resolution from `` to |
Cyp commented "Auto"closing ticket. Don't know where the issue was, but should probably be fixed now, since there's nowhere for it to hide, now.commit 5c7788784b653cae0fdf80ad687c4aec2c58a3f5
|
NoQ commented Just wanted to mention that crashes seem to have actually gone, thanks all again (: |
resolution_fixed
type_bug
| by NoQIt seems to be the moment when an incendiary (phosphor, namely) bomb is fired. The crash has happened twice on my machine, but i lost the first dump. I can't reproduce it reliably though.
It's the same crash that we had when testing the incendiary damage modifier patch by crabster, and now i'm sure it's not related to his patch. I didn't have any such crashes on 3.1 (yet).
Mods mentioned in the crash dump below are JS/AI only; i don't think they affect it.
Issue migrated from trac:3894 at 2022-04-16 10:49:34 -0700
The text was updated successfully, but these errors were encountered: