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

Open
jonatanklosko opened this issue Dec 23, 2024 · 0 comments
Open

Default group leader crashes on unknown requests #9237

jonatanklosko opened this issue Dec 23, 2024 · 0 comments
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 jonatanklosko added the bug Issue is reported as a bug label Dec 23, 2024
@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Jan 3, 2025
@garazdawi garazdawi self-assigned this Jan 7, 2025
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

No branches or pull requests

3 participants