Код:
string[MAX_FURNITURE * 32];
I don't know what MAX_FURNITURE is, but let's assume that it's 200. Then this will create a string 6400 cells in size. One cell is 4 bytes, therefore this lone string is 25 KiB in size. The default size of the stack is only 16 KiB. See the problem here?