[erlang-bugs] ERTS_FP_CHECK_INIT error of HiPE in 18.0-rc1 running on FreeBSD 10.1-STABLE

Kenji Rikitake kenji@REDACTED
Sat Apr 25 02:59:09 CEST 2015


I've seen a massive numbers of error when running a common test on
18.0-rc1 with HiPE as:

ERTS_FP_CHECK_INIT at 0x50e193: detected unhandled FPE at 0x4ad

This didn't happen when HiPE is disabled (--disable-hipe).

I have traced this in the source that this message is sent from
erts_fp_check_init_error() in erts/emulator/sys/unix/sys_float.c,
highly presumably from
hipe_fclearerror_error() in erts/emulator/hipe/hipe_native_bif.c.

The running environment is on FreeBSD amd64 10.1-STABLE #64 r281235,
and the kerl compilation options:

export CC=clang CXX=clang CFLAGS="-O3 -fstack-protector" LDFLAGS="-fstack-protector" MAKEFLAGS="-j8"
KERL_CONFIGURE_OPTIONS="--disable-native-libs --enable-vm-probes --with-dynamic-trace=dtrace --with-ssl=/usr/local --with-javac --enable-hipe --enable-kernel-poll --with-wx-config=/usr/local/bin/wxgtk2u-2.8-config --without-odbc --enable-threads --enable-sctp --enable-smp-support --disable-silent-rules"

You can check this out by:

git clone https://github.com/jj1bdx/emprng/
cd emprng
make tests

Regards,
Kenji Rikitake



More information about the erlang-bugs mailing list