thanks frank , for your valuable advice
i created a test program to call jshost main again and again i created jshost.a and renamed it's main
there is one problem with jslang when i call jshost 2nd time then that gives segmentation fault....... due to memory leak.
that is due to jslang
that comes when INIT_STATIC() is called inside jslangmoduleinit from here call goes to
commons/jlclass.h function
InitStatic( JSContext *cx, JSObject *obj, ClassSpec *cs ) {
JL_CHK(obj);
printf("cs_static_fs = %x\n",cs->static_fs);
when i call jslang 2nd time this print gives segmentation fault ...... can you suggest which part need correction ??????????
is Classspec structure pointer creating problem...........
On Tuesday, 9 April 2013 16:34:20 UTC+5:30, sachin Chaudhary wrote: