The issue was caused by some incompatibility of new API which expects ID block to be specified explicitly, while old code is tagging object's data using object's ID with OB_RECALC_DATA flag. We need to switch all areas to give proper ID and everything, but for until then we'd better stop crashing.