问题描述
发起音频通话时,有时会崩溃,目测应该是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): 掉线了error09-13 19:54:36.712: E/SMACK-Voe(9181): enter JNI_OnLoad09-13 19:54:37.185: E/(9181): Device driver API match09-13 19:54:37.185: E/(9181): Device driver API version: 40109-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 set09-13 19:55:24.298: E/MediaPlayer(9181): Should have subtitle controller already set09-13 19:55:28.198: E/SMACK-Voe(9181): create voeEngine ok09-13 19:55:28.198: E/SMACK-Voe(9181): line:244 at funtion :VoeEngine_Create,last error:009-13 19:55:28.335: E/SMACK-Voe(9181): line:303 at funtion :VoeBase_Init,last error:009-13 19:55:28.335: E/SMACK-Voe(9181): m_base init return value:009-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetNSStatus return:009-13 19:55:28.335: E/SMACK-Voe(9181): line:714 at funtion :VoeApm_SetNSStatus,last error:0,ret:009-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetECStatus return:009-13 19:55:28.335: E/SMACK-Voe(9181): line:921 at funtion :VoeApm_SetECStatus,last error:0,ret:009-13 19:55:28.335: E/SMACK-Voe(9181): VoeApm_SetAGCStatus return:009-13 19:55:28.335: E/SMACK-Voe(9181): line:799 at funtion :VoeApm_SetAGCStatus,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): line:358 at funtion :VoeBase_CreateChannel,last error:009-13 19:55:28.339: E/SMACK-Voe(9181): create channel:009-13 19:55:28.339: E/SMACK-Voe(9181): VoeApm_SetRxNSStatus return:009-13 19:55:28.339: E/SMACK-Voe(9181): line:759 at funtion :VoeApm_SetRxNSStatus,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): VoeApm_SetAecmMode return:009-13 19:55:28.339: E/SMACK-Voe(9181): line:880 at funtion :VoeApm_SetAecmMode,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): dest channel:0,port:48309,ip:192.168.191.2,ret value:009-13 19:55:28.339: E/SMACK-Voe(9181): line:420 at funtion :VoeBase_SetSendDestination,last error:0,ret:009-13 19:55:28.339: E/SMACK-Voe(9181): total audio codec nums:2009-13 19:55:28.339: E/SMACK-Voe(9181): codec[0]:ISAC09-13 19:55:28.339: E/SMACK-Voe(9181): codec[1]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[2]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[3]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[4]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[5]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[6]:L1609-13 19:55:28.339: E/SMACK-Voe(9181): codec[7]:PCMU09-13 19:55:28.339: E/SMACK-Voe(9181): codec[8]:PCMA09-13 19:55:28.339: E/SMACK-Voe(9181): codec[9]:PCMU09-13 19:55:28.339: E/SMACK-Voe(9181): codec[10]:PCMA09-13 19:55:28.339: E/SMACK-Voe(9181): codec[11]:ILBC09-13 19:55:28.339: E/SMACK-Voe(9181): codec[12]:G72209-13 19:55:28.339: E/SMACK-Voe(9181): codec[13]:G72209-13 19:55:28.339: E/SMACK-Voe(9181): codec[14]:opus09-13 19:55:28.339: E/SMACK-Voe(9181): codec[15]:CN09-13 19:55:28.339: E/SMACK-Voe(9181): codec[16]:CN09-13 19:55:28.339: E/SMACK-Voe(9181): codec[17]:CN09-13 19:55:28.339: E/SMACK-Voe(9181): codec[18]:telephone-event09-13 19:55:28.339: E/SMACK-Voe(9181): codec[19]:red09-13 19:55:28.339: E/SMACK-Voe(9181): find opus at index:1409-13 19:55:28.340: E/SMACK-Voe(9181): set codec:opus for channel,0,retVal:009-13 19:55:28.340: E/SMACK-Voe(9181): line:631 at funtion :VoeCodec_SetSendCodec,last error:0,ret:009-13 19:55:28.340: E/SMACK-Voe(9181): VoeCodec_SetVADStatus return:009-13 19:55:28.340: E/SMACK-Voe(9181): line:668 at funtion :VoeCodec_SetVADStatus,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): playout channel:0,ret value:009-13 19:55:28.346: E/SMACK-Voe(9181): line:467 at funtion :VoeBase_StartPlayout,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): local port = 46168 in VoeBase_SetLocalReceiver09-13 19:55:28.346: E/SMACK-Voe(9181): line:402 at funtion :VoeBase_SetLocalReceiver,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): listen channel:0,ret value:009-13 19:55:28.346: E/SMACK-Voe(9181): line:451 at funtion :VoeBase_StartListen,last error:0,ret:009-13 19:55:28.346: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,channelId:-1,voe engine index:0 in VoeClient_Register09-13 19:55:28.357: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_FullDuplexSpeech09-13 19:55:28.357: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_FullDuplexSpeech09-13 19:55:28.376: E/SMACK-Voe(9181): send channel:0,ret value:009-13 19:55:28.376: E/SMACK-Voe(9181): line:497 at funtion :VoeBase_StartSend,last error:0,ret:009-13 19:55:28.376: E/SMACK-Voe(9181): VoeClient_FullDuplexSpeech success09-13 19:55:37.094: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_Stop09-13 19:55:37.094: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_Stop09-13 19:55:37.176: E/SMACK-Voe(9181): VoeBase_StopSend channel:0,ret value:009-13 19:55:37.176: E/SMACK-Voe(9181): line:564 at funtion :VoeBase_StopSend,last error:0,ret:009-13 19:55:38.180: E/SMACK-Voe(9181): to find voe engine conferenceId:6opfd2ndlni6j ,in VoeClient_Release09-13 19:55:38.180: E/SMACK-Voe(9181): conferenceId:6opfd2ndlni6j,voe engine index:0 in VoeClient_Release09-13 19:55:38.180: E/SMACK-Voe(9181): to stop Heart Beat thread09-13 19:55:38.180: E/SMACK-Voe(9181): have stopped Heart Beat thread09-13 19:55:38.181: E/SMACK-Voe(9181): VoeBase_StopSend channel:0,ret value:009-13 19:55:38.181: E/SMACK-Voe(9181): line:564 at funtion :VoeBase_StopSend,last error:0,ret:009-13 19:55:38.302: E/SMACK-Voe(9181): VoeBase_StopPlayout channel:0,ret value:009-13 19:55:38.302: E/SMACK-Voe(9181): line:538 at funtion :VoeBase_StopPlayout,last error:0,ret:009-13 19:55:38.302: E/SMACK-Voe(9181): line:178,last error:009-13 19:55:38.302: E/SMACK-Voe(9181): line:179,last error:009-13 19:55:38.302: E/SMACK-Voe(9181): VoeBase_StopListen channel:0,ret value:009-13 19:55:38.302: E/SMACK-Voe(9181): line:522 at funtion :VoeBase_StopListen,last error:0,ret:009-13 19:55:38.302: E/SMACK-Voe(9181): line:181,last error:009-13 19:55:38.336: E/SMACK-Voe(9181): line:386 at funtion :VoeBase_DeleteChannel,last error:0,ret:009-13 19:55:38.336: E/SMACK-Voe(9181): line:183,last error:009-13 19:55:38.368: E/SMACK-Voe(9181): line:324 at funtion :VoeBase_Terminate,last error:009-13 19:55:38.368: E/SMACK-Voe(9181): line:185,last error:009-13 19:55:38.368: E/SMACK-Voe(9181): to release m_base09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_codec09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_file09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_netw09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_apm09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_volume09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_hardware09-13 19:55:38.368: E/SMACK-Voe(9181): to release m_rtp_rtcp09-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_Release09-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 match09-13 19:56:20.258: E/(9763): Device driver API version: 40109-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=0x009-14 15:34:48.233: E/NativeCrypto(25026): ssl=0x76878bf8 cert_verify_callback calling verifyCertificateChain authMethod=RSA09-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试试看 。