emscripten-core / emscripten-core/emscripten

SDL Initialization doesnt work (probably pthread issue)

Aperta
#20,100 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
27.6k
Fork
3.6k
Merge medio
1g 14h
PR unite (30g)
125

Descrizione

web_page_highmem.js?1692741551:656 Uncaught (in promise) RuntimeError: Aborted(Assertion failed)
at abort (web_page_highmem.js?1692741551:656:11)
at assert (web_page_highmem.js?1692741551:312:5)
at Object.getTargetThreadForEventCallback (web_page_highmem.js?1692741551:4452:13)
at registerMouseEventCallback (web_page_highmem.js?1692741551:8144:31)
at _emscripten_set_mousemove_callback_on_thread (web_page_highmem.js?1692741551:8205:14)
at Emscripten_RegisterEventHandlers (web_page_highmem.wasm?1692741551:0x4c72ce)
at Emscripten_CreateWindow (web_page_highmem.wasm?1692741551:0x4c861f)
at SDL_CreateWindow (web_page_highmem.wasm?1692741551:0x4ca76d)
at SDLApi::SDL_CreateWindow(char const*, int, int, int, int, unsigned int) (web_page_highmem.wasm?1692741551:0x127cc1)
at InitSDL2(int, int, bool, bool, bool, bool) (web_page_highmem.wasm?1692741551:0x12188d)

Newest sdk is used .44

Then I'm getting odd UTF-8 errors:
web_page_highmem.js?1692742000:590 Uncaught RuntimeError: Aborted(Assertion failed: attempt to write non-integer (undefined) into integer heap)
at abort (web_page_highmem.js?1692742000:590:11)
at assert (web_page_highmem.js?1692742000:290:5)
at checkInt (web_page_highmem.js?1692742000:909:3)
at checkInt32 (web_page_highmem.js?1692742000:917:29)
at Object.uiEventHandlerFunc [as handlerFunc] (web_page_highmem.js?1692742000:7217:43)
at jsEventHandler (web_page_highmem.js?1692742000:3616:24)
abort @ web_page_highmem.js?1692742000:590
assert @ web_page_highmem.js?1692742000:290
checkInt @ web_page_highmem.js?1692742000:909
checkInt32 @ web_page_highmem.js?1692742000:917
uiEventHandlerFunc @ web_page_highmem.js?1692742000:7217
jsEventHandler @ web_page_highmem.js?1692742000:3616
view.php:1703

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riprodurre il malfunzionamento con Emscripten SDK .44 utilizzando il percorso di inizializzazione SDL indicato. Tracciare InitSDL2 attraverso SDL_CreateWindow e gli handler generati in web_page_highmem.js, quindi verificare che i callback di mouse/UI non causino più assertion e che l’errore di integer-heap segnalato sia assente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
wasm
Ambito
compilers, web-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.