Better error for `performance` access at Wizer time
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- tooling
Direzione di ricerca
Riproduci il fallimento con il comando jco componentize, cowsay.js e src/cowsay.wit, quindi esamina la chiamata a componentize.js alla riga 271 dello stack riportato. Confronta la modifica referenziata di ComponentizeJS PR #146 e l’issue #150, concentrandoti sull’accesso alle prestazioni durante l’inizializzazione di Wizer. È completato quando l’esempio può essere componentizzato senza il componentize.wizer trap.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I still get the same error with jco 1.7.1 that uses 0.13.1 of this project. #150 does not set timeOrigin. The change from https://github.com/bytecodealliance/ComponentizeJS/pull/146/commits/cb4d73af4fbbd75fb4bafc79b04a7d500180bd96#diff-882dd8ad95be11b373fd2693a697c12144f8b51d4605a35cd678a0d2e5b4a09dR354 makes it work for me locally.
~/ms/StarlingMonkey15/cowsay> npx jco componentize cowsay.js --wit src/cowsay.wit -o cowsay.wasm
Redirecting call to abort() to mozalloc_abort
Error: the `componentize.wizer` function trapped
Caused by:
0: error while executing at wasm backtrace:
0: 0x25f20 - <unknown>!<wasm function 206>
1: 0x25f29 - <unknown>!<wasm function 207>
2: 0xa921 - <unknown>!<wasm function 87>
3: 0x42119 - <unknown>!<wasm function 348>
4: 0x25431f - <unknown>!<wasm function 5279>
5: 0x254f50 - <unknown>!<wasm function 5282>
6: 0x25576e - <unknown>!<wasm function 5285>
7: 0x35a029 - <unknown>!<wasm function 7091>
8: 0x258ee8 - <unknown>!<wasm function 5313>
9: 0x24bbcc - <unknown>!<wasm function 5278>
10: 0x245b22 - <unknown>!<wasm function 5276>
11: 0x255aeb - <unknown>!<wasm function 5288>
12: 0x29a0a9 - <unknown>!<wasm function 5791>
13: 0x34e9db - <unknown>!<wasm function 7049>
14: 0x34e72d - <unknown>!<wasm function 7049>
15: 0x20286 - <unknown>!<wasm function 105>
16: 0x1f50e - <unknown>!<wasm function 104>
17: 0xa882 - <unknown>!<wasm function 86>
18: 0x22580f - <unknown>!<wasm function 5012>
1: wasm trap: wasm `unreachable` instruction executed
(jco componentize) Error: Failed to initialize the compiled Wasm binary with Wizer:
Wizering failed to complete
at componentize (file:///Users/cataggar/ms/StarlingMonkey15/node_modules/@bytecodealliance/componentize-js/src/componentize.js:271:13)
at async componentize (file:///Users/cataggar/ms/StarlingMonkey15/node_modules/@bytecodealliance/jco/src/cmd/componentize.js:11:25)
at async file:///Users/cataggar/ms/StarlingMonkey15/node_modules/@bytecodealliance/jco/src/jco.js:200:9
- Lingua principale
- Rust
- Stelle
- 392
- Fork
- 54
- Merge medio
- 2g 18h
- PR unite (30g)
- 3
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 bytecodealliance/ComponentizeJS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
bytecodealliance/ComponentizeJS#335 · 3 commenti ·
Tutte le issue di bytecodealliance/ComponentizeJS
Issue simili
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
n0-computer/iroh#4550 ·
-
impl detach for native Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
paritytech/zombienet-sdk#591 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
farion1231/cc-switch#7638 · 1 commento ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100