https://bugzilla.redhat.com/show_bug.cgi?id=1295663
Bug ID: 1295663 Summary: dialyzer --build_plt crashes Product: Fedora Version: rawhide Component: erlang Severity: high Assignee: lemenkov@gmail.com Reporter: rbarlow@redhat.com QA Contact: extras-qa@fedoraproject.org CC: erlang@lists.fedoraproject.org, jeckersb@redhat.com, lemenkov@gmail.com, rhbugs@n-dimensional.de, s@shk.io
Created attachment 1111752 --> https://bugzilla.redhat.com/attachment.cgi?id=1111752&action=edit erl_crash.dump
Description of problem: When I try to build a PLT, dialyzer crashes.
Version-Release number of selected component (if applicable): $ rpm -q erlang-dialyzer erlang-dialyzer-17.4-5.fc24.x86_64
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.
https://bugzilla.redhat.com/show_bug.cgi?id=1295663
Johannes W jargon@molb.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jargon@molb.org
--- Comment #2 from Johannes W jargon@molb.org --- 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: https://bugs.erlang.org/browse/ERL-294
https://bugzilla.redhat.com/show_bug.cgi?id=1295663
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- erlang-19.1.6-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cabc4340f0
https://bugzilla.redhat.com/show_bug.cgi?id=1295663
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1295663
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- 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
https://bugzilla.redhat.com/show_bug.cgi?id=1295663
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Fixed In Version| |erlang-19.1.6-2.fc25 Resolution|--- |ERRATA Last Closed| |2016-12-07 00:24:09
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- 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.
https://bugzilla.redhat.com/show_bug.cgi?id=1295663
Peter Lemenkov lemenkov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|ERRATA |DUPLICATE
--- Comment #6 from Peter Lemenkov lemenkov@gmail.com --- Apparently the issue is still there. Tested with Erlang from Fedora 29.
So let's reopen issue 1456567.
*** This bug has been marked as a duplicate of bug 1456567 ***
erlang@lists.fedoraproject.org