[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[coco8] BUG: issues while recompile

Expressions like Point recompile can cause a crash or work ok, depending on kind of device.

running coco8 with...

iPad (32bits)it works as expected (slow execution speed, but correct results). It also works ok for bigger classes like Collection.
iPhone6+ (64bits) crash and actually make Xcode freeze when entering debugger, or reporting
"Message from debugger: Terminated due to memory issue"
without any mention on what was going wrong.

When running iPad, there are times where a message is dumped to console reporting
2016-05-22 18:34:15.029 coco8[580:49326] Communications error: <OS_xpc_error: <error: 0x37946654> { count = 1, contents =
	"XPCErrorDescription" => <string: 0x37946854> { length = 22, contents = "Connection interrupted" }
}>

References

There are no clear explanation in web references about why/when this issue is reported. In our case, the system is NOT making native calls, nor using native objects while recompiling, so the issue should be caused by logging API.