WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: jsapi, crashes(memory problems) on android when thread-safe is off

jsapi, crashes(memory problems) on android when thread-safe is off

by Hossein Amin :: Rate this Message:

| View in Thread

I used jsapi(spidermonkey) in my project, built on linux and i tested it
works fine.
When i tired to cross-compile it throw android, after building and
debugging small problems, i found an error in my javascript init
function, it failed with SIGSEGV signal error 11 which it crashes
without any log for failing.
Worked around to fix the problem probably when i increased size of init
runtime size, problem solved for little,not so long the program crashed
with same issue.
After all today i found the problem was i didn't thread-safe option in
compilation time, after another test i think problem is solved.
probably there is bug in none thread-safe.
I used both mozilla-centeral package and mozjs185-1.0.0 without
thread-safe, but mozjs185-1.0.0 also with thread safe.
android cpus tried to build are `armv7', `armv5te'.

Thanks!!
--
Hossein


_______________________________________________
dev-tech-js-engine mailing list
dev-tech-js-engine@...
https://lists.mozilla.org/listinfo/dev-tech-js-engine

 « Return to Thread: jsapi, crashes(memory problems) on android when thread-safe is off