Re: Get the current function name in its C/C++ method body

Mihai Dobrescu <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
On Tuesday, January 26, 2016 at 5:41:29 PM UTC+2, Boris Zbarsky wrote:
> On 1/26/16 10:29 AM, Boris Zbarsky wrote:
> > On 1/26/16 1:55 AM, [email protected] wrote:
> >> If I use JS_EncodeStringToUTF8 instead of JSAutoByteString, I get no
> >> error when I call JS_free for the newly allocated string...
> >
> > That's JS_free.  That's out-of-line.
> >
> > JSAutoByteString uses js_free.  Do you get the crash if you use js_free?
> >   I expect you do.
> 
> And do you stop crashing if you change JSAutoByteString::clear to use 
> JS_free?
> 
> -Boris

Bad bad bad! The issue returned in SpiderMonkey 45, taken from https://people.mozilla.org/~sfink/mozjs-45.0.2.tar.bz2 (refered by https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/45).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.