nlpguyz / hackerskeyboard

Hacker's Keyboard on RIME (official) 黑客键盘中州韵版
22 stars 3 forks source link

Crash in native code #90

Open nlpguyz opened 5 years ago

nlpguyz commented 5 years ago

10-17 17:40:05.877 1542 1542 F DEBUG : 10-17 17:40:05.877 1542 1542 F DEBUG : ABI: 'arm64' 10-17 17:40:05.877 1542 1542 F DEBUG : pid: 1498, tid: 1527, name: Thread-8 >>> org.langwiki.brime <<< 10-17 17:40:05.877 1542 1542 F DEBUG : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x748817bee8 10-17 17:40:05.877 1542 1542 F DEBUG : x0 00000074a1bc0798 x1 000000749b242d40 x2 0000000000000020 x3 000000748881f668 10-17 17:40:05.877 1542 1542 F DEBUG : x4 000000748881f668 x5 000000748881f688 x6 00000074976839c0 x7 00000074976839a0 10-17 17:40:05.877 1542 1542 F DEBUG : x8 000000748817bee8 x9 86b31893ae51d2a1 x10 0000000000000004 x11 0000000000000080 10-17 17:40:05.877 1542 1542 F DEBUG : x12 0000007497683900 x13 0000007497683980 x14 00000000ffffffff x15 0000000000000002 10-17 17:40:05.877 1542 1542 F DEBUG : x16 0000007487e32568 x17 0000007487bcc24c x18 00000074879a8fba x19 000000749b242d40 10-17 17:40:05.877 1542 1542 F DEBUG : x20 000000749b242d40 x21 00000074879aa1c0 x22 0000000000000001 x23 000000749930d000 10-17 17:40:05.877 1542 1542 F DEBUG : x24 0000000000000020 x25 00000074879aa588 x26 00000074879a9e01 x27 0000007487e3b720 10-17 17:40:05.877 1542 1542 F DEBUG : x28 0000007487c8eeca x29 00000074879a9d60 10-17 17:40:05.877 1542 1542 F DEBUG : sp 00000074879a9b60 lr 0000007487bcc28c pc 000000748817bee8 10-17 17:40:05.879 1542 1542 F DEBUG : 10-17 17:40:05.879 1542 1542 F DEBUG : backtrace: 10-17 17:40:05.879 1542 1542 F DEBUG : #00 pc 0000000000124ee8 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/libopencc.so (offset 0x120000) 10-17 17:40:05.879 1542 1542 F DEBUG : #01 pc 0000000000201288 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so (rime::UserDictManager::Backup(std::ndk1::basic_string<char, std::__ndk1::char_traits, std::ndk1::allocator> const&)+60) 10-17 17:40:05.879 1542 1542 F DEBUG : #02 pc 0000000000202ff8 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so (rime::UserDictManager::Synchronize(std::ndk1::basic_string<char, std::__ndk1::char_traits, std::ndk1::allocator> const&)+1112) 10-17 17:40:05.879 1542 1542 F DEBUG : #03 pc 00000000002033c4 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so (rime::UserDictManager::SynchronizeAll()+212) 10-17 17:40:05.879 1542 1542 F DEBUG : #04 pc 00000000001f9538 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so (rime::UserDictSync::Run(rime::Deployer)+40) 10-17 17:40:05.879 1542 1542 F DEBUG : #05 pc 000000000015bbec /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so (rime::Deployer::Run()+352) 10-17 17:40:05.879 1542 1542 F DEBUG : #06 pc 0000000000160840 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so 10-17 17:40:05.879 1542 1542 F DEBUG : #07 pc 00000000001608f4 /data/app/org.langwiki.brime--bD1HdEx5B8sHEppGP22GA==/lib/arm64/librime.so 10-17 17:40:05.879 1542 1542 F DEBUG : #08 pc 0000000000084108 /system/lib64/libc.so (__pthread_start(void)+64) 10-17 17:40:05.879 1542 1542 F DEBUG : #09 pc 0000000000023ae8 /system/lib64/libc.so (__start_thread+68)

nlpguyz commented 5 years ago

If the user requested runtime permissions after installation, this crash does not happen. Check access to sdcard.