JS embedded engine crashes on initialization
Al Izi <[email protected]> Fri, 8 Feb 2019 19:43:53 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.jseng |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to embed spidermonkey engine (60.1.1pre3) into a c++ app that is statically built with libjs_static.a. The app itself is juts an empty main. JS engine crashes (SIGSEGV) when it initializes a static variable in WasmBuitins.cpp Mutex initBuiltinThunks(mutexid::WasmInitBuiltinThunks); Is there anything that has to be done to link spider monkey library correctly?