iink SDK on Device

Answered

occasinally crash when touch up

I got a crash on my test device, this crash is not inevitable and the probability of occurrence is extremely low, I only got one, happened when I touch up.

And my device is running on Android 7.1, the version of Ink is 1.3.1.

I'm not sure where this crash came from, but maybe you can help, Thanks.



2020-06-04 14:23:16.554 18717-18736/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x676e79 in tid 18736 (Thread-14)
2020-06-04 14:23:16.739 18802-18802/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-06-04 14:23:16.740 18802-18802/? A/DEBUG: Build fingerprint: 'Android/msm8953_64/msm8953_64:7.1.2/N2G47H/221:userdebug/release-keys'
2020-06-04 14:23:16.740 18802-18802/? A/DEBUG: Revision: '0'
2020-06-04 14:23:16.740 18802-18802/? A/DEBUG: ABI: 'arm64'
2020-06-04 14:23:16.740 18802-18802/? A/DEBUG: pid: 18717, tid: 18736, name: Thread-14  >>> com.okay.demo.ink <<<
2020-06-04 14:23:16.740 18802-18802/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x676e79
2020-06-04 14:23:16.741 18802-18802/? A/DEBUG:     x0   0000007fa1be5700  x1   0000007f8e36f840  x2   0000007fa4b2eeb4  x3   0000000000000000
2020-06-04 14:23:16.741 18802-18802/? A/DEBUG:     x4   0000000000000010  x5   0000007f8feaba28  x6   0000ffffffffffff  x7   ffffffffffffffff
2020-06-04 14:23:16.741 18802-18802/? A/DEBUG:     x8   0000000000000005  x9   0000007f97df8000  x10  0000000000000010  x11  0000000000000000
2020-06-04 14:23:16.741 18802-18802/? A/DEBUG:     x12  0000000000000000  x13  0000007f97def000  x14  0000000000000001  x15  2e8ba2e8ba2e8ba3
2020-06-04 14:23:16.741 18802-18802/? A/DEBUG:     x16  0000007faee9e5a0  x17  0000007faee45bb4  x18  0000000000000000  x19  0000007f8e36f840
2020-06-04 14:23:16.741 18802-18802/? A/DEBUG:     x20  0000007fa1be5700  x21  0000007f8eddfef0  x22  0000000000000016  x23  0000000000676e69
2020-06-04 14:23:16.742 18802-18802/? A/DEBUG:     x24  0000000000000000  x25  0000007f8feac4e8  x26  0000007f97ccfce0  x27  0000000000000001
2020-06-04 14:23:16.742 18802-18802/? A/DEBUG:     x28  0000007f8feabfa0  x29  0000007f8feabcc0  x30  0000007fa4b2eee0
2020-06-04 14:23:16.742 18802-18802/? A/DEBUG:     sp   0000007f8feabc90  pc   0000007fa4b2593c  pstate 0000000080000000
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG: backtrace:
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #00 pc 000000000004893c  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #01 pc 0000000000051edc  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #02 pc 00000000000c7930  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #03 pc 0000000000051edc  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #04 pc 00000000000d0468  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #05 pc 0000000000051edc  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #06 pc 00000000000558a4  /data/app/com.okay.demo.ink-1/lib/arm64/libMyScriptEngine.so
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #07 pc 0000000000264f9c  /data/app/com.okay.demo.ink-1/lib/arm64/libiink.so (_ZN8myscript6engine13ManagedObject7releaseEv+32)
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #08 pc 0000000000356a9c  /data/app/com.okay.demo.ink-1/lib/arm64/libiink.so (_ZN8myscript4iink11TextBackend17updateContentTreeEPNS0_11ContentTreeENS0_26BackendContentChangedFlagsERKNSt6__ndk16vectorINS0_6StringENS5_9allocatorIS7_EEEERKN3atk4core6ExtentE+2184)
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #09 pc 00000000002a5024  /data/app/com.okay.demo.ink-1/lib/arm64/libiink.so (_ZN8myscript4iink10EditorImpl14contentChangedENS0_26BackendContentChangedFlagsENSt6__ndk110shared_ptrINS3_4listINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS9_ISB_EEEEEE+1264)
2020-06-04 14:23:16.764 18802-18802/? A/DEBUG:     #10 pc 00000000002d5388  /data/app/com.okay.demo.ink-1/lib/arm64/libiink.so
2020-06-04 14:23:16.765 18802-18802/? A/DEBUG:     #11 pc 00000000002d3738  /data/app/com.okay.demo.ink-1/lib/arm64/libiink.so (_ZN3atk4core9Scheduler3runIDnEEvRKT_+264)
2020-06-04 14:23:16.765 18802-18802/? A/DEBUG:     #12 pc 00000000002d35a0  /data/app/com.okay.demo.ink-1/lib/arm64/libiink.so (_ZNSt6__ndk114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN3atk4core9SchedulerC1EvEUlvE_EEEEEPvSC_+68)
2020-06-04 14:23:16.765 18802-18802/? A/DEBUG:     #13 pc 00000000000684b0  /system/lib64/libc.so (_ZL15__pthread_startPv+196)
2020-06-04 14:23:16.765 18802-18802/? A/DEBUG:     #14 pc 000000000001de00  /system/lib64/libc.so (__start_thread+16)


Best Answer

Dear Cheng Kong,


IIf you happen to have a scenario or ink that allows to reproduce, please let us know.


Best regards,


Olivier


Dear Cheng Kong,


thank you for contacting us.


Unfortunately, this stack trace doesn't help in finding out what could cause this crash.


Without a scenario to reproduce, we will not be able to investigate further. Do you happen to have any ink that could allow to reproduce?


Best regards,


Olivier

thanks for you response.

this crash is really hard to reproduce, i can't make that.

and because of the low probability of occurrence, i chose to ignore this crash. and you may just close this post.

best regards.

Answer

Dear Cheng Kong,


IIf you happen to have a scenario or ink that allows to reproduce, please let us know.


Best regards,


Olivier