在尝试复现bug的过程中发现,第一次登录成功之后再打开APP,首次登录时会报这个错误。在因为应用无响应退出之后,重新打开APP则一切正常。在已登陆的情况下退出登录再重新登录也不会报错。
看日志里DB version的版本数一直在增加,这是不是不太对?
我在追踪到https://github.com/LeonDevLifeLog/proto 之后就不知道怎么入手了,目前野火使用的mars版本似乎和这个链接里的对不上,没有在对应行号发现getDBPath
函数。希望官方能提供野火目前使用的安卓客户端协议栈代码。
2024-05-09 20:51:19.380 10571-10585 mars::proto com.feixim.chat E [DB2.cc, Open, 543]:open db done
2024-05-09 20:51:19.380 10571-10585 mars::proto com.feixim.chat I [alarm.h, Alarm, 56]:handler:(18446744072448117024,22)
2024-05-09 20:51:19.381 10571-10585 mars::comm com.feixim.chat I [alarm.cc, Start, 69]:alarm id:3607170112, after:10000, seq:3, po.reg.q:18446744072448117024,po.reg.s:0,po.s:24, MQ:18446744072448117024
2024-05-09 20:51:19.381 10571-10585 mars::proto com.feixim.chat I [DB2.cc, Upgrade, 988]:New created DB
2024-05-09 20:51:19.386 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:1
2024-05-09 20:51:19.386 10571-10585 mars::proto com.feixim.chat I [DB2.cc, Upgrade, 1022]:DB current version:1
2024-05-09 20:51:19.386 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:2
2024-05-09 20:51:19.387 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:3
2024-05-09 20:51:19.387 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:4
2024-05-09 20:51:19.388 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:5
2024-05-09 20:51:19.388 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:6
2024-05-09 20:51:19.389 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:7
2024-05-09 20:51:19.390 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:8
2024-05-09 20:51:19.390 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:9
2024-05-09 20:51:19.391 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:10
2024-05-09 20:51:19.391 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:11
2024-05-09 20:51:19.391 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:12
2024-05-09 20:51:19.391 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:13
2024-05-09 20:51:19.392 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:14
2024-05-09 20:51:19.392 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:15
2024-05-09 20:51:19.393 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:16
2024-05-09 20:51:19.393 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:17
2024-05-09 20:51:19.395 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:18
2024-05-09 20:51:19.395 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:19
2024-05-09 20:51:19.396 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:20
2024-05-09 20:51:19.397 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:21
2024-05-09 20:51:19.398 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:22
2024-05-09 20:51:19.398 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:23
2024-05-09 20:51:19.399 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:24
2024-05-09 20:51:19.400 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:25
2024-05-09 20:51:19.400 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:26
2024-05-09 20:51:19.401 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:27
2024-05-09 20:51:19.402 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:28
2024-05-09 20:51:19.403 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:29
2024-05-09 20:51:19.403 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:30
2024-05-09 20:51:19.403 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:31
2024-05-09 20:51:19.404 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:32
2024-05-09 20:51:19.404 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:33
2024-05-09 20:51:19.406 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:34
2024-05-09 20:51:19.407 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:35
2024-05-09 20:51:19.408 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:36
2024-05-09 20:51:19.409 10571-10585 mars::proto com.feixim.chat I [DB2.cc, SetDBVersion, 2062]:Set db version:37
2024-05-09 20:51:19.411 10571-10585 mars::proto com.feixim.chat E [DB2.cc, getDBPath, 444]:open db /data/user/0/com.feixim.chat/files/aygqmws2k/c8d00bb3-506e-42fc-aa18-c11d263746b31715259058224/data
2024-05-09 20:51:19.412 10571-10585 libc com.feixim.chat A Fatal signal 11 (SIGSEGV), code 1, fault addr 0x23 in tid 10585 (Binder:10571_3)
2024-05-09 20:51:19.412 1742-1742 <no-tag> debuggerd W debuggerd: handling request: pid=10571 uid=10057 gid=10057 tid=10585
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys'
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A Revision: '12'
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A ABI: 'x86'
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A pid: 10571, tid: 10585, name: Binder:10571_3 >>> com.feixim.chat:marsservice <<<
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x23
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A eax b5856c00 ebx b5856c00 ecx 00000017 edx c9f2c8fc
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A esi b57a239a edi 00000017
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
2024-05-09 20:51:19.467 10696-10696 DEBUG pid-10696 A eip b552c8c2 ebp b7408b78 esp b7408b30 flags 00010296
2024-05-09 20:51:19.468 10696-10696 DEBUG pid-10696 A
backtrace:
2024-05-09 20:51:19.468 10696-10696 DEBUG pid-10696 A #00 pc 002928c2 /data/app/com.feixim.chat-1/lib/x86/libmarsstn.so
2024-05-09 20:51:19.468 10696-10696 DEBUG pid-10696 A #01 pc 002695b8 /data/app/com.feixim.chat-1/lib/x86/libmarsstn.so
2024-05-09 20:51:19.468 10696-10696 DEBUG pid-10696 A #02 pc 00000028 <unknown>
2024-05-09 20:51:19.601 10696-10696 <no-tag> pid-10696 E debuggerd: failed to kill process 10571: No such process