<div dir='auto'>Hi,<div dir="auto">invalid_chunk is maybe related to UTF8 atom chunk added in beam format starting 20.0.</div><div dir="auto"><br></div><div dir="auto">I needed to change match clauses myself for my geas project.</div><div dir="auto"><br></div><div dir="auto">Regards </div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Le 24 juil. 2017 8:42 PM, Vlad Dumitrescu <vladdu55@gmail.com> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi!<div><br /></div><div>I have a project that gives me headache: on one machine, running "rebar3 test" results in an error like below. Same code on another machine compiles fine, but as far as I can tell the machines should be configured the same way. Obviously, they aren't. Anyone has a suggestion how to find what is going on? The code is compiled with OTP 17, so it shouldn't be related to the recent beam chunk changes in v20...</div><div><br /></div><div>best regards,</div><div>Vlad</div><div><br /></div><div><div>===> erlopts [debug_info,</div><div>                         {d,'EUNIT'},</div><div>                         nowarn_missing_spec,warn_deprecated_function,</div><div>                         warn_export_all,warn_export_vars,warn_obsolete_guard,</div><div>                         warn_shadow_vars,warn_unused_function,</div><div>                         warn_unused_import,warn_unused_record,</div><div>                         warn_unused_vars,warnings_as_errors,</div><div>                         {d,'TEST'}]</div><div>===> files to compile ["/home/vlad/projects/erlide_kernel/common/_build/test/lib/erlide_tools/src/runtime_tools_sup.erl",</div><div>"/home/vlad/projects/erlide_kernel/common/_build/test/lib/erlide_tools/src/ttbe.erl",</div><div>....,</div><div>"/home/vlad/projects/erlide_kernel/common/_build/test/lib/erlide_tools/src/erlide_tools_app.erl"]<br /></div><div>===>      Compiled runtime_tools_sup.erl</div><div>===>      Compiled ttbe.erl</div><div>===>      Compiled erlide_tools_app.erl<br /></div><div>===> cover compiling "/home/vlad/projects/erlide_kernel/common/_build/test/lib/erlide_tools/ebin"<br /></div><div><br /></div><div>=ERROR REPORT==== 24-Jul-2017::19:32:04 ===</div><div>Error in process <0.395.0> with exit value: {<!-- -->{case_clause,{error,beam_lib,{invalid_chunk,"/home/vlad/projects/erlide_kernel/common/_build/test/lib/erlide_tools/ebin/ttbe.beam","Abst"}}},[{cover,do_compile_beam,3,[{file,"cover.erl"},{line,1355}]},{cover,main_process_loop... </div><div><br /></div><div>===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump</div><div>===> Uncaught error: {case_clause,</div><div>                                 {'EXIT',</div><div>                                  {<!-- -->{case_clause,</div><div>                                    {error,beam_lib,</div><div>                                     {invalid_chunk,</div><div>                                      "/home/vlad/projects/erlide_kernel/common/_build/test/lib/erlide_tools/ebin/ttbe.beam",</div><div>                                      "Abst"}}},</div><div>                                   [{cover,do_compile_beam,3,</div><div>                                     [{file,"cover.erl"},{line,1355}]},</div><div>                                    {cover,main_process_loop,1,</div><div>                                     [{file,"cover.erl"},{line,600}]}]}}}</div></div><div><br /></div></div>
</blockquote></div><br></div>