natario1
09/13/2020, 4:43 PMA/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
A/DEBUG: Cause: null pointer dereference
A/DEBUG: backtrace:
A/DEBUG: #00 pc 0000000000096078 /data/app/deepmedia.demo-itY22XAPUiJgjr6rmZ2chg==/lib/arm64/libdeepmedia.so (kfun:kotlin.collections#plus@kotlin.collections.Set<0:0>(0:0){0§<kotlin.Any?>}kotlin.collections.Set<0:0>+152)
A/DEBUG: #01 pc 0000000000207058 /data/app/deepmedia.demo-itY22XAPUiJgjr6rmZ2chg==/lib/arm64/libdeepmedia.so
A/DEBUG: #02 pc 000000000023195c /data/app/deepmedia.demo-itY22XAPUiJgjr6rmZ2chg==/lib/arm64/libdeepmedia.so ((anonymous namespace)::initRuntime()+320)
A/DEBUG: #03 pc 0000000000231780 /data/app/deepmedia.demo-itY22XAPUiJgjr6rmZ2chg==/lib/arm64/libdeepmedia.so (Kotlin_initRuntimeIfNeeded+32)
A/DEBUG: #04 pc 000000000021069c /data/app/deepmedia.demo-itY22XAPUiJgjr6rmZ2chg==/lib/arm64/libdeepmedia.so (Java_deepmedia_core_internal_CoreContext_create+24)
A/DEBUG: #05 pc 000000000001e0b8 /data/app/deepmedia.demo-itY22XAPUiJgjr6rmZ2chg==/oat/arm64/base.odex (offset 0x1e000)
It happens in Kotlin's initRuntime()
, but the top element in the trace is a kotlin function, so it's K/N code called by initRuntime()
.
I am thinking that it might be crashing while initializing Kotlin global variables. But I have reviewed all Set.plus()
invocation in the project and there's nothing wrong there. Log calls are not even hit. If not, it might be a subtle bug in the runtime, since I recently updated to 1.4.0. Not sure how to proceed now...