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
Shell process terminated unexpectedly when typing tab to get parameter suggestions #7390
Comments
I have not been able to reproduce this.
Adding '(' myself and pressing tabs gives me this:
|
Looks like you are testing a prod release. I tried and find out that in rebar.config, if relx options set to |
Okey I can reproduce it, and solution fixes the issue |
Thanks for the quick fix. Look forward to seeing it merged. |
…aded/GH-7390 kernel: code:get_doc/1 return missing, on missing preloaded OTP-18654
… maint-26 * frazze/kernel/missing_preloaded/GH-7390/OTP-18656: kernel: code:get_doc/1 return missing, on missing preloaded
Describe the bug
*** ERROR: Shell process terminated! ***
=ERROR REPORT==== 11-Jun-2023::23:42:23.102598 ===
Error in process <0.764.0> on node 'some_app@127.0.0.1' with exit value:
{function_clause,
[{filename,join,
[{error,bad_name},"ebin"],
[{file,"filename.erl"},{line,454}]},
{filename,join,1,[{file,"filename.erl"},{line,441}]},
{code,get_doc,2,[{file,"code.erl"},{line,919}]},
{edlin_type_suggestion,lookup_type,4,
[{file,"edlin_type_suggestion.erl"},{line,223}]},
{edlin_type_suggestion,type_traverser,5,
[{file,"edlin_type_suggestion.erl"},{line,195}]},
{edlin_type_suggestion,type_traverser,5,
[{file,"edlin_type_suggestion.erl"},{line,142}]},
{edlin_type_suggestion,'-type_traverser/5-lc$^1/1-2-',5,
[{file,"edlin_type_suggestion.erl"},{line,65}]},
{edlin_type_suggestion,type_traverser,5,
[{file,"edlin_type_suggestion.erl"},{line,65}]}]}
Eshell V14.0.1 (press Ctrl+G to abort, type help(). for help)
NOTE:
To Reproduce
Please follow the above steps to reproduce.
Expected behavior
Type tab should get the suggestions and should not terminate the shell.
Affected versions
Latest OTP dev branch
Additional context
The text was updated successfully, but these errors were encountered: