Failing to run when loading an incompatible plugin
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia dal codice della VM che implementa l’istruzione per il caricamento dei plugin .dll, .so e .dynlib. Riproduci il caricamento di un plugin debug con un Ark release, quindi traccia l’eccezione non gestita e definisci il percorso di errore in modo che un plugin incompatibile produca un errore chiaro e interrompa l’esecuzione invece di lasciare simboli non definiti per dopo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In the VM, we have an instruction to load plugins (.dll, .so and .dynlib, depending on the OS), working perfectly when Ark and the plugin have been compiled with the same compiler and the same compilation options (both debug or both release).
A problem occurs when we use a debug plugin with a release ark: ark silently fails to load it, throwing an exception we aren't catching / interpreting as "bad plugin".
This should be investigated to be able to tell the user that the plugin couldn't be loaded, and we should abort execution (no plugin loaded => undefined symbols later on, coming from the plugin we didn't load, thus can not execute: better to abort to give a clear error message).
This problem will mostly be encountered by our contributors and development team, as our end users are only being provided the final binaries, which we should test before publishing. When developing we sometimes forget to recompile everything, and it's really annoying because we start searching for a bug in the VM while it's just a target to recompile.
- Lingua principale
- C++
- Stelle
- 729
- Fork
- 54
- Merge medio
- 4h 8m
- PR unite (30g)
- 2
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 ArkScript-lang/Ark
-
Unexpected module resolution Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
ArkScript-lang/Ark#712 · 2 commenti ·
-
🤔 help wanted ark/repl documentation enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ArkScript-lang/Ark#711 ·
-
Add Mayhem integration Aperta❗️ priority/low 👷 ci 🤔 help wanted github_actions
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
ArkScript-lang/Ark#708 ·
-
Link Checker Report Apertaautomated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
ArkScript-lang/Ark#700 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ArkScript-lang/Ark#631 ·
Tutte le issue di ArkScript-lang/Ark
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
games-on-whales/wolf#509 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
bug-unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
NVIDIA/cuda-samples#453 ·