Re: Segfault with Erlang R22

"Andras G. Bekes" <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAK=-gAHCCCY6nXRh1EVXXSu28zL_ee5fjF4obF9mBn30FYYZsA@mail.gmail.com>
Update: It seems the problem was some incompatibility between Erlang/OTP
R21, R22 and Red Hat Enterprise Linux 6 (which is rather old, now
officially EOL). After upgrading to RHEL 7, the problem never happened
again.

Thanks everyone who helped investigating.

Regards,
    Andras

On Fri, Oct 18, 2019 at 4:34 PM Bekes, Andras G
<Andras.Bekes@REDACTED
<http://erlang.org/mailman/listinfo/erlang-questions>> wrote:
>>* Hi All,
*>>>>* After upgrading to Erlang R22, my software crashes the Erlang
VM with Segmentation fault.
*>>* It happens rarely, only after several days of test workload, so I
can’t really reproduce.
*>>>>* I made more than 10 core dumps so far, loaded them into gdb,
and all of them died at these 2 crash points:
*>>>>* Program terminated with signal 11, Segmentation fault.
*>>* #0  process_main (x_reg_array=0x20002,
f_reg_array=0x2ade29280590) at
x86_64-unknown-linux-gnu/opt/smp/beam_hot.h:4064
*>>* 4064      if (is_not_tuple(r(0))) {
*>>>>* or
*>>>>* #0  process_main (x_reg_array=0x20002, f_reg_array=0x2) at
x86_64-unknown-linux-gnu/opt/smp/beam_hot.h:5252
*>>* 5252          c_p->seq_trace_lastcnt =
unsigned_val(SEQ_TRACE_TOKEN_SERIAL(c_p));
*>>>>* The software is not doing any tracing when the crash happens,
nor does it have any NIFs.*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.