Core dump after ApCreateModule call

I’ve got a large GUI application built for years with AppBuilder 2.01, but now crashes when I try to open a form using ApCreateModule(). I don’t get to any of the forms callbacks, seems within the Ap call. I’ve tried placing the following code all the way to the first code I can control, the InitApp method and this crashes.

int InitApp( int argc, char *argv[] )

What could have changed stopping me from building my program? The only code changes are many low level support classes common to other programs; meaning the whole program object has gotten bigger.

I thought about the stack, but can not find how to make the maximum sizebigger. Utility sin says it is at 514K.

Anybody have an idea?