Skip to content

erlang 25.3.2.6 executing simple code block gets stuck #10006

Open
@lzz505750587

Description

@lzz505750587

Describe the bug
on arm64 ,we find rabbitmq occassionally get stuck on startup, the code gets stuck seem to be different.
when getting stuck ,rabbitmq log prints below log occassionally,but the rabbitmq node is new, before starting,there is no persistent data.

"Mnesia('rabbit@arm-r1-s1-VM'): ** WARNING ** Mnesia is overloaded: {dump_log,time_threshold},"

so,we test a simple code block on erlang 25.3.2.6 ,the code gets stuack occassionally like above.

Image

stack trace

Image

Image

Image

Image

Image

Image

To Reproduce
export AAAAA="192.168.32.79"
while [ 1 -eq 1 ]
do
start_time=$(date +%s)
echo "start $(date)"
erl -noinput -eval 'T=os:getenv("AAAAA"),{ok,S}=inet:parse_address(T),io:format("~p",[S]),init:stop().' &
while [ 1 -eq 1 ]
do
if [ ps -ef|grep AAAA|wc -l -gt 1 ];then
end_time=$(date +%s)
duration=$((end_time - start_time))
if [ $duration -gt 10 ];then
echo "2222222222"
fi
sleep 1
else
echo "\n end $(date)"
break
fi
done
done

execute above script on arm64

Expected behavior
erl command return

Affected versions
25.3.2.6

Additional context
Add any other context about the problem here. If you wish to attach Erlang code you can either write it directly in the post using code tags, create a gist, or attach it as a zip file to this post.

Metadata

Metadata

Assignees

Labels

bugIssue is reported as a bugteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions