[erlang-questions] Erlang scheduler segfault at ffffffffffffffff

Mikael Pettersson mikpelinux@REDACTED
Tue May 21 13:26:28 CEST 2019


On Mon, May 20, 2019 at 9:20 PM Gabriele Santomaggio
<g.santomaggio@REDACTED> wrote:
>
> Hi,
> I am having the following the problem:
>
> 2019-05-06T10:46:16.413758+00:00 d98-f2-b3-c8-b8-65 kernel: [8649388.905125] ../mm/pgtable-generic.c:33: bad pmd ffff883eed530398(80000037db2008e7)
> 2019-05-06T10:46:16.423251+00:00 d98-f2-b3-c8-b8-65 kernel: [8649388.915722] 34_scheduler[15882]: segfault at ffffffffffffffff ip 0000000040e97113 sp 00007fcffdb7ef78 error 5
>
> it causes a crash without erlang dump.
>
> HIPE is enabled, do you have an idea if is related in some way to hipe?
>
> notes:
> 1 - Erlang version 20.2.2
> 2 - 34_scheduler` is one of the erlang schedulers

This is a kernel bug, plain and simple.  OTP and/or HiPE _might_ do
something that triggers it, but that's just coincidental; a correct
kernel must not crash due to (unprivileged) user-space actions.

You don't say what kernel you're running, but you should consider upgrading it.

(Long shot: may also be a bug in the C compiler used to compile the
kernel, but that's extremely uncommon for vanilla distribution
kernels.)



More information about the erlang-questions mailing list