Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERL-486: Core dump at ethr_native_atomic64_add_return_mb in port_command #3285

Closed
OTP-Maintainer opened this issue Sep 20, 2017 · 2 comments
Closed
Assignees
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM
Milestone

Comments

@OTP-Maintainer
Copy link

Original reporter: arrotonio
Affected version: OTP-19.1
Fixed in version: OTP-19.3.6.1
Component: erts
Migrated from: https://bugs.erlang.org/browse/ERL-486


Core was generated by `/usr/local/erlang19.1/erts-8.1/bin/beam.smp -P 2000000 -K true -t 16777216 -sub'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000004c6f3c in ethr_native_atomic64_add_return_mb (dbin=0xc8) at ../include/internal/x86_64/../i386/atomic.h:240
240	    __asm__ __volatile__(
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.el6_7.7.x86_64 ncurses-libs-5.7-4.20090207.el6.x86_64 openssl-1.0.1e-42.el6_7.2.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  0x00000000004c6f3c in ethr_native_atomic64_add_return_mb (dbin=0xc8) at ../include/internal/x86_64/../i386/atomic.h:240
#1  ethr_atomic_add_read (dbin=0xc8) at ../include/internal/ethr_atomics.h:4219
#2  ethr_atomic_dec_read (dbin=0xc8) at ../include/internal/ethr_atomics.h:4806
#3  erts_refc_dectest (dbin=0xc8) at beam/sys.h:962
#4  driver_free_binary (dbin=0xc8) at beam/io.c:6984
#5  0x00000000004d59db in cleanup_scheduled_outputv (c_p=0x7efb75c8cb40, flags=<value optimized out>, prt=0x7efc55045f68, from=1791679980681991, list=139617671546969, refp=<value optimized out>) at beam/io.c:1808
#6  erts_port_output (c_p=0x7efb75c8cb40, flags=<value optimized out>, prt=0x7efc55045f68, from=1791679980681991, list=139617671546969, refp=<value optimized out>) at beam/io.c:2558
#7  0x000000000056e46b in erts_internal_port_command_3 (A__p=0x7efb75c8cb40, BIF__ARGS=0x7efc4be123c0) at beam/erl_bif_port.c:197
#8  0x000000000043b70b in process_main () at beam/beam_emu.c:2864
#9  0x00000000004e0895 in sched_thread_func (vesdp=0x7efc4d6c6d40) at beam/erl_process.c:8172
#10 0x000000000062e072 in thr_wrapper (vtwd=<value optimized out>) at pthread/ethread.c:114
#11 0x00007efc99bb5aa1 in start_thread () from /lib64/libpthread.so.0
#12 0x00007efc996fa93d in clone () from /lib64/libc.so.6
@OTP-Maintainer
Copy link
Author

lukas said:

Hello,

This seems to be the same fault as fixed with OTP-14481 in OTP 19.3.6.1. Could you try to upgrade to the latest release and see if you can reproduce the problem there?

Lukas

@OTP-Maintainer
Copy link
Author

rickard said:

Closing this issue since it seems to have been fixed already. Please reopen if you are able to reproduce this crash with an ERTS version equal to or later than 8.3.5.1 (OTP 19.3.6.1).

@OTP-Maintainer OTP-Maintainer added bug Issue is reported as a bug team:VM Assigned to OTP team VM priority:medium labels Feb 10, 2021
@OTP-Maintainer OTP-Maintainer added this to the OTP-19.3.6.1 milestone Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

2 participants