BenLubar / df-ai

Dwarf Fortress + Artificial Intelligence
https://benlubar.github.io/df-ai/
zlib License
245 stars 26 forks source link

Consistent crash - [trade] Unexpected viewscreen. Bailing. #64

Open mattregul opened 5 years ago

mattregul commented 5 years ago

Describe the bug DF has been closing consistently with fresh embarks or old saves, after 5-10 minutes.

What happened DF crashes around the time we're trying to trade?

ai version:

Dwarf Fortress 0.44.12
  Windows 64-bit
df-ai 0.44.12-r1-update1-14-g0c6225b2
  code 0c6225b2fa9a12e483b7a513adcc45b98a99a684
DFHack 0.44.12-r1-1-g55d5d477
  library 55d5d4777619e061ba63fc66901dec63ca23d141
  structures 23500e4e9bd1885365d0a2ef1746c321c1dd5094

Logs:

BenLubar commented 5 years ago

Was there also a file named df-ai-debug.log?

mattregul commented 5 years ago

Unfortunately no, not for this issue.

mattregul commented 5 years ago

is there a custom build I could run to pull more detail?

mattregul commented 5 years ago

https://clips.twitch.tv/GlutenFreeSlipperyPuffinPeoplesChamp

stderr.log gamelog.txt df-ai.log

mattregul commented 5 years ago

Removed blueprints folder, activating legacy mode. Crash still occurs. So, unrelated to "blueprints"

mattregul commented 5 years ago

This morning I redownloaded the latest from buildmaster (180821000) and it seems to be working.

Soooooo, maybe this is just a one-off issue?

Close for now?

nethershaw commented 5 years ago

The reporter should maybe not have closed this. In the latest release, I am able to reproduce exactly the same behavior, in particular this message upon encountering a trade:

[trade] Unexpected viewscreen. Bailing.

df-ai.log df-ai-debug.log

However the contents of df-ai-debug.log appear to be related to an earlier, non-fatal error having to do with customizing a squad whose units could not be found.

lethosor commented 5 years ago

Can you get rid of the debug log and allow it to be recreated when this issue occurs just to make sure that message isn't relevant?