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

发起音频通话时,有时会崩溃,目测应该是jni的问题吧?APP要急着上线了,音视频方面老出问题,急啊!对了,这个问题在环信的Demo app上也会出现。该如何解决啊?求官方大神啊~
共7个回复

Shorr

2015-09-13 21:21

视频时也会出现类似问题。 Fatal signal 11 (SIGSEGV), code 1, fault addr 0x18 in tid 18991 (Thread-5020)

jiangym

2015-09-14 14:59

是2.2.2的uidemo? 有么有完整的打印信息?这边测试下 没有问题。

Shorr

2015-09-14 15:08

你好,是用的2.2.2的uidemo,我的测试机是4.4系统的酷派大神f1和一个5.0的安卓开发板,下边我贴的是视频时出现崩溃时的相关log,麻烦看下~

漫步云端

2015-10-16 15:35

大家好,最近有很多外单项目APP【IM+电商+智能家居】,想组建一个兼职团队,职位为兼职项目经理,兼职安卓开发,兼职苹果开发,兼职java后台开发。我是一个程序员,主要负责java后台, 安卓等核心技术的研究实现工作。现在我们就2人,正在探索组建兼职团队,虽然一个项目就几万,但是如果团队够强大,还是有得赚的。 任务分配方面:不会将项目整包给一个人,只分配一个小模块,采用开源中国Team,Git,做完后,继续分配下一个模块,随时都可以接,随时都可以退出 酬劳方面,根据一个项目整体金额,一个人在这个项目花费时间和贡献的价值计算,可能一个项目每个人最多分配几千元,但是每个人都在成长。 QQ群498017337,如果没诚意的,请不要进入。 愿景:建立一个随时都可以走,随时都可以进来;谁都可以代替谁,谁都可以带走团队;谁都可以自由提问自由行动的,以分享为主的团队。

Shorr

2015-09-14 15:06

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 

jiangym

2015-09-14 15:08

如果是uidemo也是这个问题 您可以换一个网络试试

Shorr

2015-09-14 15:11

换个网络具体是指什么啊?我现在用的是校园网,在家的时候也会出现这个问题的

Shorr

2015-09-14 15:16

再就是,一方频繁的给对方拨打语音电话,打通挂断,一般在10次以内,拨打方就会崩溃。

Shorr

2015-09-14 15:34

刚才又用2.2.2版本的UIdemo试了几次,还真是屡试不爽啊,还是出现了RT图片中的log。真愁人~

Shorr

2015-09-14 15:35

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 )   报出这个错误后,就停在这个拨号界面了,怎么按都没有反应了,还响着报号音,想关都关不掉,只能等到系统回收,才不响了,要响好一段时间

jiangym

2015-10-16 12:33

现在有最新的 版本了 2.2.3  改了许多实时视频的东西 您这边可以用2.2.3uidemo试试看 。
点击此处继续提问与开发者们互动

申请试用

提交后工作人员会尽快与您联系进行功能演示
技术咨询已转移到管理后台,请先登录

即时通讯云使用者请在应用详情页面咨询
客服云使用者请进入管理员模式咨询

×

在线咨询

电话咨询

技术咨询

免费试用