崩溃堆栈: Reason:Signal:SIGSEGV(SEGV_ACCERR)@000000000000000000 probably caused by NULL pointer dereference Fault thread info: #00 pc 0000000000000000 Not mapped #01 pc 0000000000017ed4 /data/storage/el1/bundle/libs/arm64/libaki_jsbind.so(252cc0c1d79d3e14576a67a67978a117098a8436) 原因: safety_callback.h 调用 ctx->forwardCallJs(...) 时为 nullptr,触发 SIGSEGV(SEGV_ACCERR)。
最新代码: safety_callback.h 的 Data 多了 std::shared_ptr ctx,通过 queued data 延长 ThreadSafeContext 生命周期。
forwardCallJs 默认仍是 nullptr,但safety_callback CallJs 里加了判空 if (ctx->forwardCallJs == nullptr) { napi_throw_error(env, nullptr, "forwardCallJs is nullptr in ThreadSafeContext::CallJs"); return; }
请问什么时候会出新版本?
预计7月中旬左右会发布1.3.0版本
1.3.0版本已发布
崩溃堆栈:
Reason:Signal:SIGSEGV(SEGV_ACCERR)@000000000000000000 probably caused by NULL pointer dereference
Fault thread info:
#00 pc 0000000000000000 Not mapped
#01 pc 0000000000017ed4 /data/storage/el1/bundle/libs/arm64/libaki_jsbind.so(252cc0c1d79d3e14576a67a67978a117098a8436)
原因:
safety_callback.h 调用 ctx->forwardCallJs(...) 时为 nullptr,触发 SIGSEGV(SEGV_ACCERR)。
最新代码: ctx,通过 queued data 延长 ThreadSafeContext 生命周期。
safety_callback.h 的 Data 多了 std::shared_ptr
forwardCallJs 默认仍是 nullptr,但safety_callback CallJs 里加了判空
if (ctx->forwardCallJs == nullptr) {
napi_throw_error(env, nullptr, "forwardCallJs is nullptr in ThreadSafeContext::CallJs");
return;
}
请问什么时候会出新版本?