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

"rebar3 cover" crashes with Erlang/OTP 28.0-rc1 #4353

Open
badlop opened this issue Feb 19, 2025 · 0 comments
Open

"rebar3 cover" crashes with Erlang/OTP 28.0-rc1 #4353

badlop opened this issue Feb 19, 2025 · 0 comments

Comments

@badlop
Copy link
Member

badlop commented Feb 19, 2025

Running rebar3 cover (or make test) with Erlang/OTP 28.0-rc1 crashes and shows the error message:

=ERROR REPORT==== 18-Feb-2025::15:40:24.500055 ===
Error in process <0.24211.0> on node '1739893183@975-badlop-dependabot-2c83087' with exit value:
{badarg,[{erl_anno,set,[location,-48,0],[{file,"erl_anno.erl"},{line,459}]},
         {erl_parse,'-map_anno/2-fun-0-',3,
                    [{file,"erl_parse.yrl"},{line,2118}]},
         {erl_parse,modify_anno1,3,[{file,"erl_parse.yrl"},{line,2275}]},
         {erl_parse,modify_anno1,3,[{file,"erl_parse.yrl"},{line,2284}]},
         {erl_parse,modify_anno1,3,[{file,"erl_parse.yrl"},{line,2305}]},
         {erl_parse,modify_anno1,3,[{file,"erl_parse.yrl"},{line,2295}]},
         {erl_parse,modify_anno1,3,[{file,"erl_parse.yrl"},{line,2305}]},
         {erl_parse,modify_anno1,3,[{file,"erl_parse.yrl"},{line,2295}]},
         {erl_parse,map_anno,2,[{file,"erl_parse.yrl"},{line,2119}]},
         {epp,interpret_file_attr,3,[{file,"epp.erl"},{line,2347}]},
         {epp,interpret_file_attr,3,[{file,"epp.erl"},{line,2348}]},
         {epp,interpret_file_attr,3,[{file,"epp.erl"},{line,2339}]},
         {cover,do_compile_beam1,4,[{file,"cover.erl"},{line,2110}]},
         {cover,do_compile_beam,3,[{file,"cover.erl"},{line,2046}]},
         {lists,map,2,[{file,"lists.erl"},{line,2076}]},
         {cover,'-pmap_spawn/4-fun-0-',2,[{file,"cover.erl"},{line,3065}]}]}

I wonder if it's a problem in rebar3 or in erlang. Right now there is some work in rebar3 getting it ready for OTP 28, we could wait for a new rebar3 release with compatibility with OTP 28, and see if that fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant