I'm not sure where to direct this mail but here's the problem I've found:
A field declared as hexdword in one *.i class gets a SWIG getter containing the following:
sprintf(temp,"%02x %02x %02x %02x", (result >> 24) & 0xff, (result >> 16) & 0xff, (result >> 8) & 0xff, (result & 0xff));
which means a stack corruption. Context: swig version 1.3.17, windows.