Comments (2)
I enabled TRACE to see more: a new connection appears in the netconn callback for which no event descriptor is registered:
connected {{192,168,2,104},{255,255,255,0},{192,168,2,1}} socket: init socket: creating server tcp netconn socket: opened event descriptor 0 in init_server_tcp_socket for netconn 0x3ffc30a4 socket: binding to IP_ADDR_ANY on port 44404 socket: bound to port 44404 socket: listening on port 44404 Listening on port 44404. Waiting to accept connection... socket: accepting tcp netconn socket: Found event descriptor in socket_driver_do_accept for netconn 0x3ffc30a4 socket: accepting tcp netconn COMPLETE socket: netconn callback, netconn: 0x3ffc30a4, evt: 0, len: 0 event_descriptor[0]: 0x3ffc30a4 socket: accepting callback socket: Found event descriptor in accept_callback for netconn 0x3ffc30a4 socket: netconn callback, netconn: 0x3ffc2d90, evt: 0, len: 344 event_descriptor[0]: 0x3ffc30a4 warning: event descriptor not found socket: event descriptor not found in socket_callback for netconn 0x3ffc2d90 abort() was called at PC 0x4014af3c on core 0 0x4014af3c: socket_callback at /home/florian/AtomVM/src/platforms/esp32/main/socket_driver.c:90
from atomvm.
The mentioned behaviour occurs with browser.
When I use nc 44404 it works nicely.
However when cancelling the nc command and issueing a new one a reboot occurs.
from atomvm.
Related Issues (20)
- Add ability to set buffer size in OTP socket implementation HOT 1
- Implement `net:getaddrinfo/1,2` HOT 1
- RP2040 `AVM_WAIT_FOR_USB_CONNECT=on` conflict with `rebar3 atomvm pico_flash` task HOT 5
- AtomVM crashes on STM32 with no console messages HOT 3
- Function lookup in stacktraces is broken
- Quotes are missing when formatting atoms that need them
- Allow cross platform code and components HOT 1
- Linker script created by libopencm3 for STM32 causes memory bugs HOT 3
- Spawned processes are not terminated on exit
- License conflict building AtomVM with libopencm3? HOT 2
- Closing a socket in select state may cause some socket calls to hang
- Erlang Build Proposal
- Make Erlang examples a sub-project HOT 1
- Port RNG code to mbedtls (and deprecate OpenSSL)
- Add support for the OTP `application` behavior
- miniz as an alternative to zlib in embedded platforms? HOT 3
- Unsupported line_ref tag: 28 HOT 1
- Handle functions with more than nine parameters
- Use of -on_load() module directive results in undecoded opcode abort HOT 5
- Enable support to `port:cast`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atomvm.