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

Default group leader crashes on unknown requests #9237

Closed
jonatanklosko opened this issue Dec 23, 2024 · 1 comment · Fixed by #9318
Closed

Default group leader crashes on unknown requests #9237

jonatanklosko opened this issue Dec 23, 2024 · 1 comment · Fixed by #9318
Assignees
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM

Comments

@jonatanklosko
Copy link
Contributor

Describe the bug

whereis(user) ! {io_request, self(), make_ref(), foo}.

fails with

=ERROR REPORT==== 23-Dec-2024::20:03:27.110621 ===
Error in process <0.69.0> with exit value:
{badarg,[{erlang,element,[1,foo],[{error_info,#{module => erl_erts_errors}}]},
         {group,type,1,[{file,"group.erl"},{line,1281}]},
         {group,log_io_request,3,[{file,"group.erl"},{line,1271}]},
         {group,io_request,6,[{file,"group.erl"},{line,227}]},
         {group,server_loop,3,[{file,"group.erl"},{line,153}]}]}

Expected behavior

According to the I/O protocol, the process should send IO reply with {error, request} (ref).

Affected versions

This regression first appears in 27.2.

@jonatanklosko
Copy link
Contributor Author

@garazdawi thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants