weird assertion failure in js::NewContext (JS60)

Kent Williams <[email protected]> Wed, 27 Mar 2019 16:40:36 -0500
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
This is an app that embeds JS60 SpiderMonkey (checked out from github 
and based on the the JS60 release tag)

The same code seems to work fine in a bunch of my own tests.  I passed 
it off to another programmer, and he somehow gets it to segfault.

My mystery is that the stuff he's doing follows EXACTLY the same path 
into the SpiderMonkey code as everything else I've done.

The crash comes on this line:

     MOZ_RELEASE_ASSERT(!TlsContext.get());

at the top of js::NewContext()

I don't know what TlsContext.get() is supposed to return, except in this 
case it's returning NULL/nullptr.

Any clues.

_______________________________________________
dev-tech-js-engine mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine