memory allocation of 1070071572 bytes failed
I maintainer di solito rispondono entro 1 giorno
@jahvari ci sta già lavorando.
Dal 20/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux, rust
- Ambito
- networking
Direzione di ricerca
The crash is reported in the relay and rendezvous entry points, so start with src/relay_server.rs (tcp :21117) and src/rendezvous_server.rs (extra tcp :21115). Reproduce by connecting with telnet to each port on an aarch64 Linux build and watch for the roughly 1 GB allocation failure. Find where a buffer is sized from data read off the socket. Done means the server stays up on a bare telnet connection, with a regression test that reproduces it. Maintainer direction is still needed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello.
The program starts without console errors (when launched manually rather than via a script; if run via a script, it outputs nothing to the screen—I would need to check the logs, though I doubt the output differs). However, upon attempting to connect via Telnet to port 21115 or 21117, the console displays a "memory allocation of 1070071572 bytes failed" error, and either hbbr or hbbs crashes, depending on the port used.
I am using a Keenetic Peak router with EntWare installed. I am running KeeneticOS 5.1.6 (I noticed the 5.1.7 update while writing this post, so I updated and tested it again).
I also tested this after running # opkg update && opkg upgrade, but the situation remained unchanged.
I tried installing the package via opkg install rustdesk-server, and I also tried downloading https://github.com/rustdesk/rustdesk-server/releases/download/1.1.16/rustdesk-server-linux-arm64v8.zip, extracting it, and running it. The result was the same in both cases—exactly as described above. When launched, the following information is displayed:
./hbbr
[2026-10-09 08:40:50.107668 +00:00] INFO [src/relay_server.rs:61] #blacklist(blacklist.txt): 0
[2026-10-09 08:40:50.109795 +00:00] INFO [src/relay_server.rs:76] #blocklist(blocklist.txt): 0
[2026-10-09 08:40:50.109816 +00:00] INFO [src/relay_server.rs:82] Listening on tcp :21117
[2026-10-09 08:40:50.109824 +00:00] INFO [src/relay_server.rs:84] Listening on websocket :21119
[2026-10-09 08:40:50.109833 +00:00] INFO [src/relay_server.rs:87] Start
[2026-10-09 08:40:50.109900 +00:00] INFO [src/relay_server.rs:105] DOWNGRADE_THRESHOLD: 0.66
[2026-10-09 08:40:50.109916 +00:00] INFO [src/relay_server.rs:115] DOWNGRADE_START_CHECK: 1800s
[2026-10-09 08:40:50.109924 +00:00] INFO [src/relay_server.rs:125] LIMIT_SPEED: 32Mb/s
[2026-10-09 08:40:50.109933 +00:00] INFO [src/relay_server.rs:136] TOTAL_BANDWIDTH: 1024Mb/s
[2026-10-09 08:40:50.109941 +00:00] INFO [src/relay_server.rs:146] SINGLE_BANDWIDTH: 128Mb/s
./hbbs
[2026-10-09 08:41:08.973051 +00:00] INFO [src/common.rs:121] Private key comes from id_ed25519
[2026-10-09 08:41:08.973181 +00:00] INFO [src/rendezvous_server.rs:1243] Key: хххххххххххххххххх
[2026-10-09 08:41:08.973236 +00:00] INFO [src/peer.rs:84] DB_URL=./db_v2.sqlite3
[2026-10-09 08:41:08.976774 +00:00] INFO [src/rendezvous_server.rs:107] serial=0
[2026-10-09 08:41:08.976816 +00:00] INFO [src/common.rs:45] rendezvous-servers=[]
[2026-10-09 08:41:08.976835 +00:00] INFO [src/rendezvous_server.rs:109] Listening on tcp/udp :21116
[2026-10-09 08:41:08.976842 +00:00] INFO [src/rendezvous_server.rs:110] Listening on tcp :21115, extra port for NAT test
[2026-10-09 08:41:08.976849 +00:00] INFO [src/rendezvous_server.rs:111] Listening on websocket :21118
[2026-10-09 08:41:08.976943 +00:00] INFO [src/rendezvous_server.rs:146] mask: None
[2026-10-09 08:41:08.976952 +00:00] INFO [src/rendezvous_server.rs:147] local-ip: ""
[2026-10-09 08:41:08.976982 +00:00] INFO [src/common.rs:45] relay-servers=[]
[2026-10-09 08:41:08.977057 +00:00] INFO [src/rendezvous_server.rs:161] ALWAYS_USE_RELAY=N
[2026-10-09 08:41:08.977096 +00:00] INFO [src/rendezvous_server.rs:193] Start
opkg info rustdesk-server
Package: rustdesk-server
Version: 1.1.15-1
Depends: libc, libssp, librt, libpthread
Provides: rustdesk-server-any
Status: unknown ok not-installed
Section: utilities
Architecture: aarch64-3.10
Size: 3972922
Filename: rustdesk-server_1.1.15-1_aarch64-3.10.ipk
Description: RustDesk Server Program.
What am I doing wrong?
- Lingua principale
- Rust
- Stelle
- 10.6k
- Fork
- 2.7k
- Merge medio
- 32m
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rustdesk/rustdesk-server
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
rustdesk/rustdesk-server#711 ·
I maintainer di solito rispondono entro 1 giorno
-
hbbr: relay legs arriving together are never paired (race in make_pair_)Forse già presa @jahvari l’ha presa 13 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rustdesk/rustdesk-server#708 ·
I maintainer di solito rispondono entro 1 giorno
-
hbbs 1.1.16 silently drops RegisterPk from a remote RustDesk 1.5.0 client (identical packet accepted when sent manually)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
rustdesk/rustdesk-server#733 ·
I maintainer di solito rispondono entro 1 giorno
-
Upgrade rendezvous KeyExchange to a v1-style transcript-bound key derivationForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
rustdesk/rustdesk-server#709 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
rustdesk/rustdesk-server#704 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di rustdesk/rustdesk-server
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
limitlessprojects/Go-Hybrid#3342 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
librespeed/speedtest-rust#52 · 1 commento ·
-
enhancement needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
bherbruck/solvecraft#11246 · 1 commento · 1 reazione ·
-
example
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rust-lang-nursery/rust-cookbook#954 ·
I maintainer di solito rispondono entro 1 giorno