Could I have some help debugging AiRequestedTypeAllowed?
Posted: Wed Oct 09, 2013 10:26 am
So I'm occasionally having crashes with these two possible outputs from gdb:
http://paste.dy.fi/JF/plain
http://paste.dy.fi/rZY/plain
The engine version I used for these error reports is 2.2.7 but they happen in trunk also. The data I'm using is Battle for Mandicor's trunk. The circumstances in which the crashes happen seem to vary (sometimes it even doesn't crash).
A common element is that they happen in the function AiRequestedTypeAllowed in ai/ai_resource.cpp
(Excess blabbering removed)
Here's a debugging function I put in the AiRequestedTypeAllowed: printf("Name: %s\n", type.Ident.c_str());
It said the culprit was the dwarven town hall. However, I don't know why it.
http://paste.dy.fi/JF/plain
http://paste.dy.fi/rZY/plain
The engine version I used for these error reports is 2.2.7 but they happen in trunk also. The data I'm using is Battle for Mandicor's trunk. The circumstances in which the crashes happen seem to vary (sometimes it even doesn't crash).
A common element is that they happen in the function AiRequestedTypeAllowed in ai/ai_resource.cpp
(Excess blabbering removed)
Here's a debugging function I put in the AiRequestedTypeAllowed: printf("Name: %s\n", type.Ident.c_str());
It said the culprit was the dwarven town hall. However, I don't know why it.