注册

发起音频通话时,有时APP会崩溃

发起音频通话时,有时会崩溃,目测应该是jni的问题吧?APP要急着上线了,音视频方面老出问题,急啊!对了,这个问题在环信的Demo app上也会出现。该如何解决啊?求官方大神啊~
已邀请:
视频时也会出现类似问题。
Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 18991 (Thread-5020)
是2.2.2的uidemo? 有么有完整的打印信息?这边测试下 没有问题。
09-13 19:54:36.487: E/ShorrLog(9181): 掉线了
09-13 19:54:36.487: E/ShorrLog(9181): 掉线了error
09-13 19:54:36.712: E/SMACK-Voe(9181): enter JNI_OnLoad
09-13 19:54:37.185: E/(9181): Device driver API match
09-13 19:54:37.185: E/(9181): Device driver API version: 401
09-13 19:54:37.185: E/(9181): User space API version: 401 
09-13 19:54:37.185: E/(9181): mali: REVISION=Linux-r4p0-00rel0 BUILD_DATE=Fri Jul 18 22:37:22 CST 2014 
09-13 19:54:38.064: E/ShorrLog(9181): 上线了
09-13 19:54:38.328: E/ShorrLog(9181): 上线了
09-13 19:54:38.331: E/ShorrLog(9181): 上线了
09-13 19:55:24.288: E/MediaPlayer(9181): Should have subtitle controller already set
09-13 19:55:24.298: E/MediaPlayer(9181): Should have subtitle controller already set
09-13 19:55:28.198: E/SMACK-Voe(9181): create voeEngine ok
09-13 19:55:28.198: E/SMACK-Voe(9181): line:244 at funtion :VoeEngine_Create,last error:0
09-13 19:55:28.335: E/SMACK-Voe(9181): line:303 at funtion :VoeBase_Init,last error:0
09-13 19:55:28.335: E/SMACK-Voe(9181): m_base init return value:0
09-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetNSStatus return:0
09-13 19:55:28.335: E/SMACK-Voe(9181): line:714 at funtion :VoeApm_SetNSStatus,last error:0,ret:0
09-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetECStatus return:0
09-13 19:55:28.335: E/SMACK-Voe(9181): line:921 at funtion :VoeApm_SetECStatus,last error:0,ret:0
09-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetAGCStatus return:0
09-13 19:55:28.335: E/SMACK-Voe(9181): line:799 at funtion :VoeApm_SetAGCStatus,last error:0,ret:0
09-13 19:55:28.339: E/SMACK-Voe(9181): line:358 at funtion :VoeBase_CreateChannel,last error:0
09-13 19:55:28.339: E/SMACK-Voe(9181): create channel:0
09-13 19:55:28.339: E/SMACK-Voe(9181): VoeApm_SetRxNSStatus return:0
09-13 19:55:28.339: E/SMACK-Voe(9181): line:759 at funtion :VoeApm_SetRxNSStatus,last error:0,ret:0
09-13 19:55:28.339: E/SMACK-Voe(9181): VoeApm_SetAecmMode return:0
09-13 19:55:28.339: E/SMACK-Voe(9181): line:880 at funtion :VoeApm_SetAecmMode,last error:0,ret:0
09-13 19:55:28.339: E/SMACK-Voe(9181): dest  channel:0,port:48309,ip:192.168.191.2,ret value:0
09-13 19:55:28.339: E/SMACK-Voe(9181): line:420 at funtion :VoeBase_SetSendDestination,last error:0,ret:0
09-13 19:55:28.339: E/SMACK-Voe(9181): total audio codec nums:20
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[0]:ISAC
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[1]:L16
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[2]:L16
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[3]:L16
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[4]:L16
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[5]:L16
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[6]:L16
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[7]:PCMU
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[8]:PCMA
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[9]:PCMU
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[10]:PCMA
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[11]:ILBC
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[12]:G722
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[13]:G722
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[14]:opus
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[15]:CN
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[16]:CN
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[17]:CN
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[18]:telephone-event
09-13 19:55:28.339: E/SMACK-Voe(9181): codec[19]:red
09-13 19:55:28.339: E/SMACK-Voe(9181): find opus at index:14
09-13 19:55:28.340: E/SMACK-Voe(9181): set codec:opus for channel,0,retVal:0
09-13 19:55:28.340: E/SMACK-Voe(9181): line:631 at funtion :VoeCodec_SetSendCodec,last error:0,ret:0
09-13 19:55:28.340: E/SMACK-Voe(9181): VoeCodec_SetVADStatus return:0
09-13 19:55:28.340: E/SMACK-Voe(9181): line:668 at funtion :VoeCodec_SetVADStatus,last error:0,ret:0
09-13 19:55:28.346: E/SMACK-Voe(9181): playout channel:0,ret value:0
09-13 19:55:28.346: E/SMACK-Voe(9181): line:467 at funtion :VoeBase_StartPlayout,last error:0,ret:0
09-13 19:55:28.346: E/SMACK-Voe(9181): local port = 46168 in VoeBase_SetLocalReceiver
09-13 19:55:28.346: E/SMACK-Voe(9181): line:402 at funtion :VoeBase_SetLocalReceiver,last error:0,ret:0
09-13 19:55:28.346: E/SMACK-Voe(9181): listen channel:0,ret value:0
09-13 19:55:28.346: E/SMACK-Voe(9181): line:451 at funtion :VoeBase_StartListen,last error:0,ret:0
09-13 19:55:28.346: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,channelId:-1,voe engine index:0 in VoeClient_Register
09-13 19:55:28.357: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_FullDuplexSpeech
09-13 19:55:28.357: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_FullDuplexSpeech
09-13 19:55:28.376: E/SMACK-Voe(9181): send channel:0,ret value:0
09-13 19:55:28.376: E/SMACK-Voe(9181): line:497 at funtion :VoeBase_StartSend,last error:0,ret:0
09-13 19:55:28.376: E/SMACK-Voe(9181): VoeClient_FullDuplexSpeech success
09-13 19:55:37.094: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_Stop
09-13 19:55:37.094: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_Stop
09-13 19:55:37.176: E/SMACK-Voe(9181): VoeBase_StopSend channel:0,ret value:0
09-13 19:55:37.176: E/SMACK-Voe(9181): line:564 at funtion :VoeBase_StopSend,last error:0,ret:0
09-13 19:55:38.180: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_Release
09-13 19:55:38.180: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_Release
09-13 19:55:38.180: E/SMACK-Voe(9181): to stop Heart Beat thread
09-13 19:55:38.180: E/SMACK-Voe(9181): have stopped Heart Beat thread
09-13 19:55:38.181: E/SMACK-Voe(9181): VoeBase_StopSend channel:0,ret value:0
09-13 19:55:38.181: E/SMACK-Voe(9181): line:564 at funtion :VoeBase_StopSend,last error:0,ret:0
09-13 19:55:38.302: E/SMACK-Voe(9181): VoeBase_StopPlayout channel:0,ret value:0
09-13 19:55:38.302: E/SMACK-Voe(9181): line:538 at funtion :VoeBase_StopPlayout,last error:0,ret:0
09-13 19:55:38.302: E/SMACK-Voe(9181): line:178,last error:0
09-13 19:55:38.302: E/SMACK-Voe(9181): line:179,last error:0
09-13 19:55:38.302: E/SMACK-Voe(9181): VoeBase_StopListen channel:0,ret value:0
09-13 19:55:38.302: E/SMACK-Voe(9181): line:522 at funtion :VoeBase_StopListen,last error:0,ret:0
09-13 19:55:38.302: E/SMACK-Voe(9181): line:181,last error:0
09-13 19:55:38.336: E/SMACK-Voe(9181): line:386 at funtion :VoeBase_DeleteChannel,last error:0,ret:0
09-13 19:55:38.336: E/SMACK-Voe(9181): line:183,last error:0
09-13 19:55:38.368: E/SMACK-Voe(9181): line:324 at funtion :VoeBase_Terminate,last error:0
09-13 19:55:38.368: E/SMACK-Voe(9181): line:185,last error:0
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_base
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_codec
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_file
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_netw
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_apm
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_volume
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_hardware
09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_rtp_rtcp
09-13 19:55:38.370: E/SMACK-Voe(9181): to call VoiceEngine::SetAndroidObjects(NULL, NULL, NULL);
09-13 19:55:38.370: E/SMACK-Voe(9181): have  called VoiceEngine::SetAndroidObjects(NULL, NULL, NULL);
09-13 19:55:38.370: E/SMACK-Voe(9181): quit VoeClient_Release
09-13 19:56:16.536: A/libc(9181): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 9348 (Smack Listener )
09-13 19:56:19.945: E/ShorrLog(9763): 上线了
09-13 19:56:19.946: E/ShorrLog(9763): 上线了
09-13 19:56:20.258: E/(9763): Device driver API match
09-13 19:56:20.258: E/(9763): Device driver API version: 401
09-13 19:56:20.258: E/(9763): User space API version: 401 
09-13 19:56:20.258: E/(9763): mali: REVISION=Linux-r4p0-00rel0 BUILD_DATE=Fri Jul 18 22:37:22 CST 2014 
如果是uidemo也是这个问题 您可以换一个网络试试
刚才又用2.2.2版本的UIdemo试了几次,还真是屡试不爽啊,还是出现了RT图片中的log。真愁人~
09-14 15:34:48.233: E/NativeCrypto(25026): ssl=0x76878bf8 cert_verify_callback x509_store_ctx=0x76f6c940 arg=0x0
09-14 15:34:48.233: E/NativeCrypto(25026): ssl=0x76878bf8 cert_verify_callback calling verifyCertificateChain authMethod=RSA
09-14 15:34:55.411: A/libc(25026): Fatal signal 11 (SIGSEGV) at 0x01477020 (code=1), thread 25108 (Smack Listener )
 
报出这个错误后,就停在这个拨号界面了,怎么按都没有反应了,还响着报号音,想关都关不掉,只能等到系统回收,才不响了,要响好一段时间
现在有最新的 版本了 2.2.3  改了许多实时视频的东西 您这边可以用2.2.3uidemo试试看 。

要回复问题请先登录注册