|
通话挂断,有时候会出现闪退:
activity销毁代码:
@Override
protected void onDestroy() {
super.onDestroy();
// executorService.submit(dialResetRun);// 销毁之前一律复位,暂且不考虑下行报文
int a = anychat.UserSpeakControl(-1, 0);
if (StringUtils.isNotEmpty(otherUserid + "")) {
int b = anychat.UserCameraControl(otherUserid, 0);
System.out.println("取消控制对方语音:"+b);
}
int c = anychat.LeaveRoom(-1);
int d = anychat.Logout();
int e = anychat.Release();
System.out.println(a+"----"+c+"--"+d+"-"+e);
BussinessCenter.roomName = "";
timer.cancel();
System.out.println("===================onDestroy===================");
}
[2014-09-13 16:22:24(786)] ---------------------------AnyChat Platform Core SDK Client Log---------------------------
[2014-09-13 16:22:24(786)] Load libanychatcore.so success!(V5.1 Build Time:Sep 9 2014 02:20:41)
[2014-09-13 16:22:24(787)] Android OS SDK Version:17, Support ARMv7:2, Support Neon:4
[2014-09-13 16:22:24(809)] Load libmediautil_v7.so success!(V5.1 Build Time:Sep 9 2014 02:21:56)
[2014-09-13 16:22:24(822)] Load libmediashow_4.0.so success!(V5.1 Build Time:Sep 9 2014 02:21:15)
[2014-09-13 16:22:24(833)] Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "_ZN7android6Camera7connectEi" referenced by "libmediacore_4.2.so"...
[2014-09-13 16:22:24(834)] Load libmediacore.so success!(V5.1 Build Time:Sep 9 2014 02:21:19)
[2014-09-13 16:22:24(836)] CPU:2376.00 MIPS, Hardware:PXA1088
[2014-09-13 16:22:24(836)] Invoke BRAC_Connect(demo.anychat.cn,8906)=0
[2014-09-13 16:22:29(949)] CheckClientSocketLink Connect(ip=121.199.51.198,port=8906)
[2014-09-13 16:22:29(983)] Server version: V5.1(Build Time:2014-09-03 20:45:57, Server OS:Windows)
[2014-09-13 16:22:30(016)] Message OnConnect(bSuccess:1, errorcode=0)
[2014-09-13 16:22:30(048)] Invoke LoginServer(username=81)
[2014-09-13 16:22:30(248)] Message OnLoginSystem(userid=-3477,errorcode=0,username=81), msg deliver worked(0)
[2014-09-13 16:22:30(265)] Invoke EnterRoom(291551444DF64919844EAB4435919750)
[2014-09-13 16:22:30(285)] Connection to streaming media server successfully!(udp delay:18ms)
[2014-09-13 16:22:30(296)] Message OnEnterRoom(roomid=509,errorcode=0,siteindex=1)
[2014-09-13 16:22:30(298)] Audio Playback Device Init(0, 1, 16000, 16), Default Playback Driver
[2014-09-13 16:22:30(299)] Message OnReceiveOnlineUser(count=2,roomid=509)
[2014-09-13 16:22:30(326)] Invoke UserSpeakControl(userid=-1,bOpen=1)
[2014-09-13 16:22:30(354)] Invoke UserSpeakControl(userid=-3476,bOpen=1)
[2014-09-13 16:22:30(376)] Audio Init, error:0, device:-1, 1, 16000, 16, capmode:0
[2014-09-13 16:22:30(377)] Audio codec init, handle:1, 11, 1, 16000, 16, 15850
[2014-09-13 16:22:30(577)] Message OnP2PConnectState(userid=-3476, state=1)
[2014-09-13 16:22:30(698)] Audio FX Status: VAD:1, NS:1, AGC:1, AEC:1
[2014-09-13 16:22:30(722)] Message OnP2PConnectState(userid=-3476, state=3)
[2014-09-13 16:22:30(824)] On Remote UserSpeakControl(dwUserId:-3476, bOpen:1)
[2014-09-13 16:22:38(949)] Invoke UserSpeakControl(userid=-1,bOpen=0)
[2014-09-13 16:22:38(958)] Invoke UserCameraControl(userid=-3476,bOpen=0)
[2014-09-13 16:22:39(065)] Invoke LeaveRoom(roomid=-1) Elapse:105 ms
[2014-09-13 16:22:39(078)] Invoke LogoutServer(userid=-3477) Elapse:13 ms
[2014-09-13 16:22:39(103)] Invoke BRAC_Release Elapse:25 ms
DEBUG日志:
09-13 16:22:40.390: I/DEBUG(112): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-13 16:22:40.390: I/DEBUG(112): Build fingerprint: 'samsung/delos3gzm/delos3gcmcc:4.2.2/JDQ39/I8558ZMUANG1:user/release-keys'
09-13 16:22:40.390: I/DEBUG(112): Revision: '0'
09-13 16:22:40.390: I/DEBUG(112): pid: 22635, tid: 23184, name: om.yyk.knowchat >>> com.yyk.knowchat <<<
09-13 16:22:40.390: I/DEBUG(112): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000019b0
09-13 16:22:40.671: I/DEBUG(112): r0 00000000 r1 56c6a2fc r2 79c733c6 r3 000019b0
09-13 16:22:40.671: I/DEBUG(112): r4 56c6a2fc r5 00000000 r6 56c2fb51 r7 50121190
09-13 16:22:40.671: I/DEBUG(112): r8 56c2fb51 r9 00100000 sl 50121190 fp 00000073
09-13 16:22:40.671: I/DEBUG(112): ip 00004000 sp 56157eb8 lr 400efa81 pc 56c2fb7a cpsr 28000030
09-13 16:22:40.671: I/DEBUG(112): d0 0000009601502e80 d1 3ff0000043168000
09-13 16:22:40.671: I/DEBUG(112): d2 3fe45f306dc9c883 d3 40b150029eca5e2a
09-13 16:22:40.671: I/DEBUG(112): d4 00017c8900027c89 d5 0000298300012983
09-13 16:22:40.671: I/DEBUG(112): d6 0001530600015306 d7 01502e803f800000
09-13 16:22:40.671: I/DEBUG(112): d8 0000000000000000 d9 43a2000042ca0000
09-13 16:22:40.671: I/DEBUG(112): d10 00000000429c0000 d11 0000000000000000
09-13 16:22:40.671: I/DEBUG(112): d12 0000000000000000 d13 0000000000000000
09-13 16:22:40.671: I/DEBUG(112): d14 0000000000000000 d15 0000000000000000
09-13 16:22:40.671: I/DEBUG(112): d16 417502e808000000 d17 3fe0000000000000
09-13 16:22:40.671: I/DEBUG(112): d18 3f6ea62ae756a5c3 d19 3fe0000000000000
09-13 16:22:40.671: I/DEBUG(112): d20 bf29cb3118a75036 d21 bfe642bdd1b790c9
09-13 16:22:40.671: I/DEBUG(112): d22 3f80d40091e14d75 d23 bfb2dc3f370ebe16
09-13 16:22:40.671: I/DEBUG(112): d24 d6d6d6d6d6d6d6d6 d25 2929292929292929
09-13 16:22:40.671: I/DEBUG(112): d26 d6d6d6d629292929 d27 0707070703030303
09-13 16:22:40.671: I/DEBUG(112): d28 0030003000300030 d29 0030003000300030
09-13 16:22:40.671: I/DEBUG(112): d30 0000000000000000 d31 00000000ffffffff
09-13 16:22:40.671: I/DEBUG(112): scr 60000092
09-13 16:22:40.671: I/DEBUG(112): backtrace:
09-13 16:22:40.671: I/DEBUG(112): #00 pc 00040b7a /data/app-lib/com.yyk.knowchat-1/libanychatcore.so (VerifyBindDomainThread(void*)+41)
09-13 16:22:40.671: I/DEBUG(112): #01 pc 0000e418 /system/lib/libc.so (__thread_entry+72)
09-13 16:22:40.671: I/DEBUG(112): #02 pc 0000db04 /system/lib/libc.so (pthread_create+160)
09-13 16:22:40.671: I/DEBUG(112): stack:
09-13 16:22:40.671: I/DEBUG(112): 56157e78 00000000
09-13 16:22:40.671: I/DEBUG(112): 56157e7c 98fe4cfb
09-13 16:22:40.671: I/DEBUG(112): 56157e80 00000000
09-13 16:22:40.671: I/DEBUG(112): 56157e84 56157ed4 [stack:23184]
09-13 16:22:40.671: I/DEBUG(112): 56157e88 00000000
09-13 16:22:40.671: I/DEBUG(112): 56157e8c 56c2fb51 /data/app-lib/com.yyk.knowchat-1/libanychatcore.so (VerifyBindDomainThread(void*))
09-13 16:22:40.671: I/DEBUG(112): 56157e90 50121190
09-13 16:22:40.671: I/DEBUG(112): 56157e94 56c2fb51 /data/app-lib/com.yyk.knowchat-1/libanychatcore.so (VerifyBindDomainThread(void*))
09-13 16:22:40.679: I/DEBUG(112): 56157e98 00100000
09-13 16:22:40.679: I/DEBUG(112): 56157e9c 50121190
09-13 16:22:40.679: I/DEBUG(112): 56157ea0 00000073
09-13 16:22:40.679: I/DEBUG(112): 56157ea4 56c3284b /data/app-lib/com.yyk.knowchat-1/libanychatcore.so (AC_IOUtils::DnsResolution(char const*, unsigned int&, unsigned int)+14)
09-13 16:22:40.679: I/DEBUG(112): 56157ea8 56c6a2fc
09-13 16:22:40.679: I/DEBUG(112): 56157eac 565d8d48
09-13 16:22:40.679: I/DEBUG(112): 56157eb0 df0027ad
09-13 16:22:40.679: I/DEBUG(112): 56157eb4 00000000
09-13 16:22:40.679: I/DEBUG(112): #00 56157eb8 00000000
09-13 16:22:40.679: I/DEBUG(112): 56157ebc 00000000
09-13 16:22:40.679: I/DEBUG(112): 56157ec0 00000000
09-13 16:22:40.679: I/DEBUG(112): 56157ec4 00000000
09-13 16:22:40.679: I/DEBUG(112): 56157ec8 00000000
09-13 16:22:40.679: I/DEBUG(112): 56157ecc 00000000
09-13 16:22:40.679: I/DEBUG(112): 56157ed0 50121190
09-13 16:22:40.679: I/DEBUG(112): 56157ed4 79c733c6
09-13 16:22:40.679: I/DEBUG(112): 56157ed8 40114978 /system/lib/libc.so
09-13 16:22:40.679: I/DEBUG(112): 56157edc 56157f00 [stack:23184]
09-13 16:22:40.679: I/DEBUG(112): 56157ee0 5585cd18
09-13 16:22:40.679: I/DEBUG(112): 56157ee4 400e041c /system/lib/libc.so (__thread_entry+76)
09-13 16:22:40.679: I/DEBUG(112): #01 56157ee8 50121190
09-13 16:22:40.679: I/DEBUG(112): 56157eec 56157f00 [stack:23184]
09-13 16:22:40.679: I/DEBUG(112): 56157ef0 40114978 /system/lib/libc.so
09-13 16:22:40.679: I/DEBUG(112): 56157ef4 5585cd18
09-13 16:22:40.679: I/DEBUG(112): 56157ef8 00000078
09-13 16:22:40.679: I/DEBUG(112): 56157efc 400dfb08 /system/lib/libc.so (pthread_create+164)
09-13 16:22:40.679: I/DEBUG(112): #02 56157f00 56157f00 [stack:23184]
09-13 16:22:40.679: I/DEBUG(112): 56157f04 5585cd18
09-13 16:22:40.703: I/DEBUG(112): memory map around fault addr 000019b0:
09-13 16:22:40.703: I/DEBUG(112): (no map below)
09-13 16:22:40.703: I/DEBUG(112): (no map for address)
09-13 16:22:40.703: I/DEBUG(112): 400a4000-400a6000 /system/bin/app_process
09-13 16:22:40.882: I/DEBUG(112): !@dumpstate -k -t -z -d -o /data/log/dumpstate_app_native -m 22635
|
|