certifi / erlang-certifi

SSL Certificates for Erlang
Other
131 stars 33 forks source link

Compiling 2.3.1, getting "Segmentation fault (core dumped)" #33

Closed arpieb closed 6 years ago

arpieb commented 6 years ago

I'm trying to rebuild an Elixir project that was rebuilding fine a few weeks ago, and now segfaults on compilation of this module:

$ mix deps.compile --all
===> Compiling parse_trans
===> Compiling mimerl
===> Compiling metrics
===> Compiling unicode_util_compat
===> Compiling idna
==> ssl_verify_fun (compile)
===> Compiling certifi
Segmentation fault (core dumped)
** (Mix) Could not compile dependency :certifi, "/home/rbates/.mix/rebar3 bare compile --paths "/home/rbates/src/gdelt_pull/_build/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile certifi", update it with "mix deps.update certifi" or clean it with "mix deps.clean certifi"

I have cleaned, updated, recompiled, etc to no effect. My current system config is:

Other dependencies in the project are:

Please let me know if you need any additional information. I'll keep trying to suss it out and will post any updates from my end as well.

Thanks!

benoitc commented 6 years ago

Can you describe how you build it and the RAM you have in the machine or vm?

arpieb commented 6 years ago

The build machine has 64G RAM, 6TB drivespace, and an i7-7800X CPU @ 3.50GHz so it's not resource constrained in any way. Previous versions of Elixir and BEAM have compiled and run just fine on this machine as well as a Lubuntu system that I sometimes use this code on.

Interestingly enough, I rebooted the machine last night (updated the GPU drivers) and now it's compiling fine. I just tried the following build options (which were breaking before the reboot) and they all compiled with no errors:

Must have had something in limbo post-update. Closing! Thanks for the quick response!