Segmentation fault with Erlang on LibreSSL
Alpine is making the switch from OpenSSL to LibreSSL. This, however, is a problem for Erlang.
The most recent package version of erlang-crypto (19.0.2-r1) depends on LibreSSL (libressl2.4-libcrypto), but as far as I can see, Erlang only supports OpenSSL: http://erlang.org/doc/man/ssl.html. The following gives a segmentation fault:
$ docker run -it alpine:edge sh
# apk add --no-cache erlang-ssl erlang-inets erlang-crypto
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(1/2) Installing libressl2.4-libcrypto (2.4.3-r1)
(2/2) Installing erlang-crypto (19.0.2-r1)
OK: 30 MiB in 22 packages
# erl
Erlang/OTP 19 [erts-8.0.1] [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]
Eshell V8.0.1 (abort with ^G)
1> inets:start().
ok
2> httpc:request("https://google.com").
Segmentation fault
(from redmine: issue id 6332, created on 2016-10-12, closed on 2016-12-22)
- Changesets:
- Revision 5e0e13f1 on 2016-11-04T06:59:13Z:
community/erlang: upgrade to 19.1.0
fixes #6332