[erlang-bugs] Segmentation fault using './otp_build update_preloaded' on master
Rory Byrne
rory@REDACTED
Thu Jun 4 17:16:37 CEST 2015
Hello,
I've tested this on Linux and FreeBSD with the following results:
#---------------------------
# On Linux (debian wheezy):
#---------------------------
$ uname -a
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux
$ echo $MAKEFLAGS
-j8
$ git log | head -n 1
commit 99ccfe4d73b3ba82a8a461b53cb30cf512ee1bb9
$ ./otp_build update_preloaded --no-commit
rm -f ./erl_prim_loader.beam ./init.beam ./prim_file.beam ./prim_inet.beam ./zlib.beam ./prim_zip.beam ./otp_ring0.beam ./erlang.beam ./erts_internal.beam ./prim_eval.beam ../ebin/erts.app
MAKE preloaded
make[1]: Entering directory `/usr/local/erlang/otp_source_dev/erts/preloaded/src'
ERLC erl_prim_loader.beam
ERLC init.beam
ERLC prim_file.beam
ERLC prim_inet.beam
ERLC zlib.beam
ERLC prim_zip.beam
ERLC otp_ring0.beam
ERLC erlang.beam
ERLC erts_internal.beam
ERLC prim_eval.abstr
VSN ../ebin/erts.app
GEN prim_eval.beam
Segmentation fault
make[1]: *** [prim_inet.beam] Error 139
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/local/erlang/otp_source_dev/erts/preloaded/src'
make: *** [preloaded] Error 2
#-------------
# On FreeBSD:
#-------------
$ uname -a
FreeBSD freebsd 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:21 UTC 2015 root@REDACTED:/usr/obj/usr/src/sys/GENERIC amd64
$ git log | head -n 1
commit 99ccfe4d73b3ba82a8a461b53cb30cf512ee1bb9
$ ./otp_build update_preloaded --no-commit
rm -f ./erl_prim_loader.beam ./init.beam ./prim_file.beam ./prim_inet.beam ./zlib.beam ./prim_zip.beam ./otp_ring0.beam ./erlang.beam ./erts_internal.beam ./prim_eval.beam ../ebin/erts.app
MAKE preloaded
gmake[1]: Entering directory '/usr/local/erlang/otp_source_dev/erts/preloaded/src'
ERLC erl_prim_loader.beam
ERLC init.beam
ERLC prim_file.beam
ERLC prim_inet.beam
/usr/local/erlang/otp_source_dev/make/x86_64-unknown-freebsd10.1/otp.mk:131: recipe for target 'prim_inet.beam' failed
gmake[1]: *** [prim_inet.beam] Segmentation fault (core dumped)
gmake[1]: Leaving directory '/usr/local/erlang/otp_source_dev/erts/preloaded/src'
Makefile:487: recipe for target 'preloaded' failed
gmake: *** [preloaded] Error 2
Regards,
Rory
More information about the erlang-bugs
mailing list