Bug 1295663 - dialyzer --build_plt crashes
dialyzer --build_plt crashes
Product: Fedora
Classification: Fedora
Component: erlang (Show other bugs)
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Peter Lemenkov
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-01-05 02:13 EST by Randy Barlow
Modified: 2016-12-07 00:24 EST (History)
6 users (show)

See Also:
Fixed In Version: erlang-19.1.6-2.fc25
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-12-07 00:24:09 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
erl_crash.dump (705.48 KB, text/plain)
2016-01-05 02:13 EST, Randy Barlow
no flags Details

  None (edit)
Description Randy Barlow 2016-01-05 02:13:31 EST
Created attachment 1111752 [details]

Description of problem:
When I try to build a PLT, dialyzer crashes.

Version-Release number of selected component (if applicable):
$ rpm -q erlang-dialyzer

How reproducible:
Every time

Steps to Reproduce:
1. $ dialyzer --build_plt --apps erts kernel stdlib

Actual results:
$ dialyzer --build_plt --apps erts kernel stdlib
  Compiling some key modules to native code...{"init terminating in do_boot",{{badmatch,{error,{'EXIT',{badarg,[{hipe_bifs,patch_call,[1095479243,94032498909904,[]],[]},{hipe_unified_loader,patch_call_insn,3,[{file,"hipe_unified_loader.erl"},{line,507}]},{hipe_unified_loader,patch_bif_call_list,4,[{file,"hipe_unified_loader.erl"},{line,492}]},{hipe_unified_loader,patch_call,5,[{file,"hipe_unified_loader.erl"},{line,483}]},{hipe_unified_loader,patch,5,[{file,"hipe_unified_loader.erl"},{line,458}]},{hipe_unified_loader,load_common,4,[{file,"hipe_unified_loader.erl"},{line,235}]},{hipe_unified_loader,load_module,3,[{file,"hipe_unified_loader.erl"},{line,156}]},{code_server,handle_call,3,[{file,"code_server.erl"},{line,332}]}]}}}},[{hipe,finalize,5,[{file,"hipe.erl"},{line,751}]},{hipe,compile_finish,3,[{file,"hipe.erl"},{line,708}]},{hipe,'-run_compiler_1/3-fun-0-',4,[{file,"hipe.erl"},{line,669}]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

Expected results:
Successful build.

Additional info:
I've attached the erl_crash.dump file.
Comment 1 Jan Kurik 2016-02-24 10:33:03 EST
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
Comment 2 Johannes W 2016-11-05 09:16:26 EDT
This also affects Fedora 25, specifically package erlang19.1.4-1.fc25. HiPE (which Dialyzer uses) is broken when Erlang is compiled as position-independent executable. See my upstream bug report:
Comment 3 Fedora Update System 2016-11-26 16:13:31 EST
erlang-19.1.6-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cabc4340f0
Comment 4 Fedora Update System 2016-11-27 18:00:21 EST
erlang-19.1.6-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-cabc4340f0
Comment 5 Fedora Update System 2016-12-07 00:24:09 EST
erlang-19.1.6-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

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