https://bugzilla.redhat.com/show_bug.cgi?id=1221824
--- Comment #23 from Filip Andres filip@andresovi.net --- Hi, not sure what to look for in gdb, this is my session:
[fila@gatonegro ~]$ mock -r fedora-rawhide-i386 --no-clean --shell INFO: mock.py version 1.2.14 starting (python version = 3.4.2)... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run INFO: Installed packages: Start: shell sh-4.3# export ROOTDIR=/usr/lib/erlang/; export BINDIR=/usr/lib/erlang/erts-7.2.1/bin/; export EMU=beam; export PROGNAME=erl sh-4.3# gdb /usr/lib/erlang/erts-7.2.1/bin/erlexec GNU gdb (GDB) Fedora 7.10.50.20160106-42.fc24 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib/erlang/erts-7.2.1/bin/erlexec...Reading symbols from /usr/lib/debug/usr/lib/erlang/erts-7.2.1/bin/erlexec.debug...done. done. (gdb) r Starting program: /usr/lib/erlang/erts-7.2.1/bin/erlexec process 18058 is executing new program: /usr/lib/erlang/erts-7.2.1/bin/beam.smp [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". [New Thread 0xf6cbfb40 (LWP 18062)] [New Thread 0xf5e7fb40 (LWP 18063)] [New Thread 0xf62beb40 (LWP 18064)] [New Thread 0xf62adb40 (LWP 18065)] [New Thread 0xf629cb40 (LWP 18066)] [New Thread 0xf567eb40 (LWP 18067)] [New Thread 0xf566db40 (LWP 18068)] [New Thread 0xf565cb40 (LWP 18069)] [New Thread 0xf564bb40 (LWP 18070)] [New Thread 0xf563ab40 (LWP 18071)] [New Thread 0xf5629b40 (LWP 18072)] [New Thread 0xf5618b40 (LWP 18073)] [New Thread 0xf7fd2b40 (LWP 18074)] [New Thread 0xf5607b40 (LWP 18075)] [New Thread 0xf4e06b40 (LWP 18076)] [New Thread 0xf4605b40 (LWP 18077)] [New Thread 0xf3e04b40 (LWP 18078)] [New Thread 0xf34ffb40 (LWP 18079)] Detaching after vfork from child process 18080. Erlang/OTP 18 [erts-7.2.1] [source] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V7.2.1 (abort with ^G) 1> erlang:processes().
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xf4605b40 (LWP 18077)] 0x56798dae in ethr_dw_atomic_cmpxchg () at ../include/internal/i386/atomic.h:177 177 return var->counter; (gdb) bt #0 0x56798dae in ethr_dw_atomic_cmpxchg () at ../include/internal/i386/atomic.h:177 #1 0x568688f0 in erts_proc () (gdb)