Original bug ID: 5757 Reporter: markghayden Assigned to:@damiendoligez Status: closed (set by @damiendoligez on 2012-09-10T10:26:30Z) Resolution: fixed Priority: immediate Severity: block Version: 4.00.0 Target version: 4.00.1+dev Fixed in version: 4.00.1+dev Category: runtime system and C interface Has duplicate:#6077 Related to:#5389 Monitored by: jeffsco mehdi @hcarty@dbuenzli
The code below crashes on Linux and MacOS within a few seconds.
I believe this the root cause of a problem I have been running into with my iPad app (www.seaiq.com). The normal symptom is a segfault in invert_pointer_at in compact.c.
The problem appears to be related to the recent fix to the compactor (#5389).
Steps to reproduce
while true do ignore (String.create (Random.int 1000000)) done
I can verify that I see the same as hongboz after building 4.00.0 under OS X 10.7.4 (Lion) with Xcode 4.3.3. A compiled version (64-bit native code or bytecode) crashes within one second with a segmentation fault. Running at toplevel shows no crash after a few minutes.