Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011628Dwarf FortressDwarf Mode -- Militarypublic2020-09-17 13:542020-09-24 02:20
forumist 
 
normalcrashalways
newopen 
LinuxMX Linux18
0.47.04 
 
0011628: Reproducible game crash, seems to happen when militia notices siegers while picking equipment

I have a save when the game crashes: https://dffd.bay12games.com/file.php?id=15206 [^]

This happens seemingly at a point when a military that wants to pickup their equipment notices the goblins down the tower. This is for instance the case for a marksdwarf on the roof of the tower in the save.

Also, the goblins are apparently stuck there, while the rest of the army (that is not dead or prisoner yet), left the map since a while.
On my computer, the following actions result in a crash:

Load the game, let it run until the marksdwarf on the roof of the tower goes close enough to the fortifications that are above the bunch of goblins.

Alternatively:

Load, remove the dwarf on the tower roof from the marksdwarves militia, let the game run until another military gets in sight of the goblin siegers.

I reproduced the crash at least 4 times in a row, with variants of the above circumstances.
I use a version from a starting pack including DFHack and generated using lnp-forge. I don't remember if I included some mods.

After my last reproduction of the crash, errorlog.txt ends as follows:

-----
Repairing squad info for Unit 0005867
path fail: crundle,61,96,108 -> 0,107,106: Id #22254:Path Goal Seek Station:Station Head for Edge at 0,107,106
loop path fail: <same square> dog,113,158,136 -> 115,156,136: Id #22387:Path Goal Seek Station:Station Owner at 114,150,136
loop path fail: <same square> dog,112,151,136 -> 101,114,136: Id #22275:Path Goal Seek Station:Station Owner at 102,122,136
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
loop path fail: <same square> dog,107,130,139 -> 106,132,139: Id #22500:Path Goal Seek Station:Station Owner at 121,126,139
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
removed erroneous unit occupancy flag
path fail: jabberer,38,119,29 -> 38,119,31: Id #22661:Path Goal Marauder Mill:Station None at 38,119,29
path fail: goblin,87,92,137 -> 90,89,140: Id #22700:Path Goal Flee Terrain:Station None at 87,92,139
path fail: goblin,87,94,137 -> 85,104,140: Id #22699:Path Goal Flee Terrain:Station None at 88,94,139
path fail: goblin,88,94,137 -> 84,94,141: Id #22698:Path Goal Flee Terrain:Station None at 85,94,139
loop path fail: <same square> eagle,111,134,136 -> 114,137,136: Id #22287:Path Goal Seek Station:Station Mill Building at 128,126,139
loop path fail: <same square> buck rabbit,112,136,136 -> 115,138,136: Id #22127:Path Goal Seek Station:Station Mill Building at 127,123,139
path fail: troll,67,97,139 -> 88,109,139: Id #19710:Path Goal Attack Building:Station Marauder Mill at 81,97,139
Site Map: Extra Item Occupancy 61,95,139
Site Map: Extra Item Occupancy 62,93,139
loop path fail: <same square> dog,112,150,136 -> 91,127,139: Id #22816:Path Goal Seek Station:Station Owner at 93,125,139
Site Map: Extra Item Occupancy 118,155,144
path fail: goblin,130,149,144 -> 126,152,145: Id #22899:Path Goal Seek Station:Station Maraud Target at 125,153,145
path fail: goblin,89,92,137 -> 93,94,140: Id #22903:Path Goal Flee Terrain:Station None at 89,92,139
path fail: dwarf,Pickup Equipment,109,124,139 -> 125,159,144: Id #18188:Path Goal Grab Uniform:Station Squad Kill List at 128,152,145
path fail: dwarf,Pickup Equipment,84,119,139 -> 142,191,148: Id #21060:Path Goal Grab Uniform:Station Squad Kill List at 128,152,145
path fail: goblin,132,157,145 -> 119,152,144: Id #22955:Path Goal Seek Station:Station Commander at 107,139,143
path fail: dwarf,119,142,144 -> 128,155,146: Id #22859:Path Goal Chase Opponent Flood:Station Squad Kill List at 124,151,144
path fail: dwarf,119,152,144 -> 128,153,146: Id #22850:Path Goal Chase Opponent Flood:Station Mill Building at 116,137,136
Site Map: Extra Item Occupancy 128,148,144
Site Map: Extra Item Occupancy 104,64,139
Site Map: Extra Item Occupancy 128,148,144
Site Map: Extra Item Occupancy 104,64,139
-----
crash, interruption, siege
Issue History
2020-09-17 13:54forumistNew Issue
2020-09-18 00:03forumistTag Attached: crash
2020-09-18 00:05forumistTag Attached: siege
2020-09-18 00:05forumistTag Attached: interruption
2020-09-19 02:56forumistNote Added: 0040741
2020-09-19 03:05forumistNote Added: 0040742
2020-09-24 02:20forumistNote Added: 0040744

Notes
(0040741)
forumist   
2020-09-19 02:56   
The crash may actually not be military-specific (but I haven't found how to edit the bug report accordingly). It seems that as soon as any dwarf (military or not) comes in a position where he/she will spot the goblins, the game crashes.

Also, I don't see updates of errorlog.txt, although I ran and crashed the game several times since first reporting.
(0040742)
forumist   
2020-09-19 03:05   
I just tried to start the game directly on the command line (i.e. not from lazy newb pack graphical assistant, and when the game crashes, it makes a "Segmentation fault".
(0040744)
forumist   
2020-09-24 02:20   
I managed to avoid the crash by setting fire to the stuck goblin siegers using df-hack's "liquids-here" command (as mentioned here: http://www.bay12forums.com/smf/index.php?topic=177253.msg8191654#msg8191654 [^]).