After compiling OCC on Linux/AMD64 (specifically, Debian unstable using my packages), UndefinedHandleAddress is defined as its 64-bit version in the libraries. Unfortunately, Standard_Macro.hxx does not define it while compiling a new binary, so there is an inconsistent UndefinedHandleAddress due presumably to the inconsistent definition of _OCC64.
This results in a crash for FreeCAD. Details at: https://sourceforge.net/forum/forum.php?thread_id=2059818&forum_id=161658
The _OCC64 macro should really be defined in config.h by configure using a sizeof(long) or sizeof(void *) test.
Until this is resolved upstream, I think the best workaround is to disable the 64-bit version of UndefinedHandleAddress. I'm planning to do this for the Debian packages, unless someone offers a better idea...