The wasm-reduce tool encountered an abnormal timeout under the condition of "--command=./wasmer run test.wasm"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- wasm
- Ambito
- compilers
Direzione di ricerca
Inizia riproducendo il timeout con hello_world.c, test.wasm, work.wasm e il comando wasm-reduce segnalato, quindi confrontalo con i comandi del runtime che funzionano separatamente. Traccia il percorso di esecuzione dei comandi di wasm-reduce e verifica il completamento usando wasmer; è completato quando la riduzione fornita non segnala più un timeout anomalo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Phenomenon description
Hello, when I use the wasm-reduce tool to shorten the wasm program, there is an abnormal timeout. The command in --command exits normally when executed separately in the terminal, and the exit code is 0. But when using the wasm-reduce tool, the execution is as follows:
Commands from other runtime tools can be executed normally, as follows:
Steps to reproduce
// hello_world.c
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}
emcc hello_world.c -o hello_world.wasm -O2 -s WASM=1
/bin/wasm-reduce hello_world.wasm "--command=/path/to/wasmer run test.wasm" -t test.wasm -w work.wasm
Versions and Environment
binaryen is built from source.
- wasm-reduce: version 123 (version_123-229-g6f4e4f7d0)
- wasmer: 6.0.1
- emcc: 4.0.10 (b7dc6e5747465580df5984e723b9d1f10d8e804b)
- wabt: 1.0.27
- Host OS: Ubuntu 22.04.5 LTS x64
- CPU: 12th Gen Intel® Core™ i7-12700 × 20
Extra Info
If you need any other relevant information, please let me know and I will do my best to provide it. Looking forward to your reply! Thank you!
- Lingua principale
- WebAssembly
- Stelle
- 8.6k
- Fork
- 885
- Merge medio
- 2g 2h
- PR unite (30g)
- 86
Guida per i contributori
Apri la 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 WebAssembly/binaryen
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
WebAssembly/binaryen#9135 · 1 commento ·
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 76/100
WebAssembly/binaryen#9018 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
WebAssembly/binaryen#9133 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
WebAssembly/binaryen#9123 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
WebAssembly/binaryen#9122 ·
Tutte le issue di WebAssembly/binaryen
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
JakeChampion/lang#10260 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
objectionary/jeo-maven-plugin#1811 ·
-
`String.Parser.chompUntilEndOr` leaves the column one short when it runs to the end past a newline Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
enhancement PyCDE
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
llvm:support
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
llvm/llvm-project#226296 ·