Bug 787308 - erl will not run in CentOS 6
Summary: erl will not run in CentOS 6
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: erlang
Version: el6
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-03 21:39 UTC by Andy Theuninck
Modified: 2013-01-22 09:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-22 09:56:13 UTC
Type: ---


Attachments (Terms of Use)

Description Andy Theuninck 2012-02-03 21:39:05 UTC
Description of problem:
My erl binary crashes instantly with an "Illegal instruction" error.

Version-Release number of selected component (if applicable):
Erlang (ASYNC_THREADS) (BEAM) emulator version 5.8.4, provided by package erlang-erts-R14B-03.3.el6.i686

How reproducible:
Always

Steps to Reproduce:
1. yum install erlang-erts-R14B-03.3.el6.i686
2. erl
  
Actual results:
$ erl
Illegal instruction

Expected results:
Erlang emulator shell prompt

Additional info:
Very amateur gdb investigation (the debuginfo-install command suggested fails to find anything):
(gdb) run
Starting program: /usr/lib/erlang/erts-5.8.4/bin/erlexec 
process 12368 is executing new program: /usr/lib/erlang/erts-5.8.4/bin/beam
[Thread debugging using libthread_db enabled]

Program received signal SIGILL, Illegal instruction.
0x080bf532 in schedule ()
Missing separate debuginfos, use: debuginfo-install erlang-erts-R14B-03.3.el6.i686
(gdb) backtrace
#0  0x080bf532 in schedule ()
#1  0x0812f7e9 in process_main ()
#2  0x080815cb in erl_start ()
#3  0x08066a5c in main ()

Comment 1 Peter Lemenkov 2013-01-22 09:56:13 UTC
It seems to be fixed in R14B04. I've just tested in a Qemu/KVM.


Note You need to log in before you can comment on or make changes to this bug.