Subj : spider monkey crashes in JS_DestroyContext To : netscape.public.mozilla.jseng From : "Pradip Singh" Date : Wed Mar 31 2004 12:13 pm This is a multi-part message in MIME format. ------=_NextPart_000_0069_01C41719.9DE0C070 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, When I am trying to delete the context by calling JS_DestroyContext, = SpiderMonkey js engine crashes. It crashes at js_ForceGC in = js_DestroyContext in jscntxt.c. I debugged further and found out that it = crashes in js_GC. In js_GC it crashes at JS_DHashTableEnumerate. I = further debugged and found out that it crashes at point op =3D = etor(table, entry, i++, arg);. in etor function which is nothing but=20 JS_STATIC_DLL_CALLBACK(JSDHashOperator) gc_root_marker(JSDHashTable *table, JSDHashEntryHdr *hdr, uint32 num, = void *arg) in jsgc.c it crashes at point=20 jsval v =3D *rp; can somebody tell me what is the problem. Any help will be apreciated. Thanx regards, Pradip -------------------------------------------------------------------------= Sony India Pvt Ltd, Software Archietecture Division No. 1 "Adarsh Opus, 2nd Floor Campbel Road, Austin Town Bangalore-47 Phone: +91-80-5546825/6/7 Fax: +91-80-5546828 ************************************************************************ **************** Note: The information contained in this message may be privileged and confidential and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.=20 ************************************************************************ **************** ------=_NextPart_000_0069_01C41719.9DE0C070 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi All,
 
   When I am trying to delete = the context=20 by calling JS_DestroyContext, SpiderMonkey js engine crashes. It crashes = at=20 js_ForceGC in js_DestroyContext in jscntxt.c. I debugged further and = found out=20 that it crashes in js_GC. In js_GC it crashes at JS_DHashTableEnumerate. = I=20 further debugged and found out that it crashes at point op =3D = etor(table, entry,=20 i++, arg);. in etor function which is nothing but
JS_STATIC_DLL_CALLBACK(JSDHashOperator)
gc_root_marker(JSDHas= hTable=20 *table, JSDHashEntryHdr *hdr, uint32 num, void *arg)
in jsgc.c it = crashes at=20 point
jsval v =3D *rp;
 
can somebody tell me what is the=20 problem.
Any help will be = apreciated.
 
Thanx regards,
Pradip
----------------------------------------------------------------= ---------
Sony=20 India Pvt Ltd,
Software Archietecture Division
No. 1 "Adarsh Opus, = 2nd=20 Floor
Campbel Road, Austin Town
Bangalore-47
Phone: = +91-80-5546825/6/7=20 Fax:=20 +91-80-5546828
*******************************************************= *****************
****************
 
Note: The information contained in this = message may=20 be privileged and
confidential and thus protected from disclosure. If = the=20 reader of this
message is not the intended recipient, or an employee = or=20 agent
responsible for delivering this message to the intended = recipient,=20 you
are hereby notified that any dissemination, distribution or = copying=20 of
this communication is strictly prohibited. If you have received=20 this
communication in error, please notify us immediately by replying = to=20 the
message and deleting it from your computer. Thank you. =
 
****************************************************************= ********
****************
 
 
------=_NextPart_000_0069_01C41719.9DE0C070-- .