Sam Clegg
Sam Clegg
I think I found a better solution which is simply not allow the AF_NETLINK socket to be created: https://github.com/emscripten-core/emscripten/pull/24364
Are you able to reproduce this consistently?
Sorry I just read that you its not consistent. It guess there must be some kind of race condition when removing the lock, likely between different calls to emcc. I...
I'm struggling to understand why this would be specific to emdawn. It seems like it should happen for all ports (e.g. SDL2 ,etc ).
I wrote a test to try an repro this but so far its not reproducing: https://github.com/emscripten-core/emscripten/pull/25772
Do you know where `calculate_stealing_threshold` is defined so what its trying to do? It don't think its part of emscripten itself. Does increasing the stack size help? I.e. does building...
Looks like the problem is with the `grep` command we use to clean up some of those macros. My guess is that its assuming GNU grep: https://github.com/WebAssembly/wasi-libc/blob/67080fa04564030496faaac868c4531a178a6e1a/Makefile#L908 Perhaps we should...
You might want to try using the helper functions in `html5.h` rather than trying to call `getElementById` yourself. See `emscripten_set_click_callback` for example.
The `val::module_property("onClick")` line look it is likely wrong since `onClick` is not a property of the module, right? Its property of the button class. @brendandahl will know more.
Looking at the comment around the `await import('module')` statement it seems that one solution that would avoid importing `'module` would be to switch from using `require` to using `await import`...