branch=main - disterl gen_server:call from atomvm fails

Open
#1,787 9 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
erlang
Domain
backend

Research direction

The exception points to AtomVM/libs/estdlib/src/gen_server.erl at line 434, and the report says the direct message send works while gen_server:call to a remote node fails. Read the call implementation and its handling of remote server references, then reproduce the ESP32 case. Done means gen_server:call succeeds for the reported remote-node request without raising the exception.

Written by the indexing model from the issue text.

Description

from esp32

 {server, remote_node} ! <<"hello world from atomvm">>

works as expected but

gen_server:call({server, remote_node}, <<"hello world from atomvm">>)

throws an exception

.. AtomVM/libs/estdlib/src/gen_server.erl"},{line,434}]}]
Dominant language
Erlang
Stars
2.3k
Forks
171
Avg merge
4d 11h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from atomvm/AtomVM

All issues in atomvm/AtomVM

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.