fix of hipe crashes in gc
Fri Dec 3 03:45:41 CET 2010
I see that the following bug fix is in R14B. I need to stay with a R12B
system. Would it be OK to apply the same patch to a R12B system (ie copy the
change as in R14B)?
Are there any related bug fixes for running native code? I have already seen
>fix native code crash when calling unloaded module with on_l
>Posted: Wed Jun 30, 2010 12:32 pm
Posted: Sat Jul 17, 2010 1:08 pm
I have been experiencing crashes in the garbage collector when running erlang
with natively compiled modules, and especially with OTP configured
This has been discussed before, including by others:
I finally got a reproduceable case and nailed the bug down. The bug was
introduced in R12B-0, when the function erts_gc_after_bif_call was updated to
take 4 parameters but the assembly glue code was not updated to pass proper
values for the third and fourth parameters.
A fix is available here:
git fetch git://github.com/pguyot/otp.git pg/fix-hipe-crash-in-gc_after_bif
Please note that I only tested it on x86 and amd64 platforms.
Anthony Shipman | Programming is like sex: One mistake and
| you're providing support for a lifetime.
More information about the erlang-bugs