fix of hipe crashes in gc
anthony.shipman@REDACTED
anthony.shipman@REDACTED
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
Hello,
I have been experiencing crashes in the garbage collector when running erlang
with natively compiled modules, and especially with OTP configured
with --enable-native-libs.
This has been discussed before, including by others:
http://www.erlang.org/cgi-bin/ezmlm-cgi/4/50033
http://www.erlang.org/cgi-bin/ezmlm-cgi/4/39462
http://www.erlang.org/cgi-bin/ezmlm-cgi/2/1583
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
http://github.com/pguyot/otp/commit/c42ba9962d7e83accec797c56e5480a2d0b6281a
Please note that I only tested it on x86 and amd64 platforms.
Regards,
Paul
--
Anthony Shipman | Programming is like sex: One mistake and
Anthony.Shipman@REDACTED | you're providing support for a lifetime.
More information about the erlang-bugs
mailing list