JS embedded engine crashes on initialization

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? 
0
Al
2/9/2019 3:43:53 AM
mozilla.dev.tech.js-engine 2028 articles. 0 followers. Post Follow

0 Replies
9 Views

Similar Articles

[PageSpeed] 0

Reply: