Hi, guys, I want to know, in which case will make js GC crash?
var jsVar = new CocosNode();
if node is not exist, called cc.sys.garbageCollect, will this make a GC crash?
Or not set armature setCompleteCallback null will make a GC crash?
I called cc.sys.garbageCollect in update function every 0.5s, it will crash more frequently. I have set gc callback, so I can see it crashed in js GC
JS_SetGCCallback(_rt, &gcCallBack, NULL);
Hope anyone can help, thanks
I got the same issue.
Have you resolved that?
#0 0x00a8ab30 in PushMarkStack(js::GCMarker*, js::BaseShape*) ()
#1 0x00a8ae84 in PushMarkStack(js::GCMarker*, js::Shape*) ()
#2 0x00a8d587 in js::GCMarker::processMarkStackTop(js::SliceBudget&) ()
#3 0x00a8a534 in js::GCMarker::drainMarkStack(js::SliceBudget&) ()
#4 0x00b03254 in js::gc::GCRuntime::incrementalCollectSlice(long long, JS::gcreason::Reason, js::JSGCInvocationKind) ()
#5 0x00b037ab in js::gc::GCRuntime::gcCycle(bool, long long, js::JSGCInvocationKind, JS::gcreason::Reason) ()
#6 0x00b03ae1 in js::gc::GCRuntime::collect(bool, long long, js::JSGCInvocationKind, JS::gcreason::Reason) ()