Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

20 views
Skip to first unread message

Hossein Amin

unread,
May 10, 2012, 9:42:29 AM5/10/12
to dev-tech-...@lists.mozilla.org
On Tue, 2012-04-24 at 12:30 +0430, Hossein Amin wrote:
> 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!!
my project is keep going with safethread option for android devices.
where should i submit bug about this problem, if is there.

--
Hossein



0 new messages