[英]Crash during Twilio chat client shutdown on Android 8.0 (API 26, Oreo)
On Android 8.0, I am getting a consistent crash when calling client.shutdown()
, with the following error message: 在Android 8.0上,调用
client.shutdown()
时出现一致的崩溃,并显示以下错误消息:
A/libc: invalid pthread_t 0x7dd83384f0 passed to libc
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 28040 (RxCachedThreadS)
The pthread implementation returns null pre-8.0 but fatally crashes on >=8.0 when the thread is not found, I believe this is related. pthread实现在8.0之前的版本中返回空值,但在未找到线程时> = 8.0时致命崩溃,我相信这是相关的。
Potentially useful lines from ChatClient.setLogLevel
: 来自
ChatClient.setLogLevel
可能有用的行:
W/TWC: TNRegNotificationCtxSession: 540533023984 | 10/04/16:57:35.623 | WARNING | 26 | TNRegNotificationCtxSession | Could not operate with notification context in twilsock. Error 9
E/TWC: TNWebsocket: 540501275888 | 10/04/16:57:35.624 | CRITICAL | 9 | TNWebsocket | Received error while waiting for message: Net Exception
I can provide the full logs if needed. 如果需要,我可以提供完整的日志。 Thanks!
谢谢!
Twilio rep here, (RxCachedThreadS)
are you using some RxJava in your app? 这里的Twilio代表
(RxCachedThreadS)
您是否在应用程序中使用了一些RxJava?
In any case, providing logs as per this howto is perhaps the best way forward. 无论如何,按照此方法提供日志可能是最好的方法。
JFYI: SO is probably not the best place for bug reports and crash investigations, so please open a ticket on github here and we'll be able to do it there. JFYI:SO可能不是错误报告和崩溃调查的最佳场所,所以请在github上打开一张票,我们将在那里做。 Thanks!
谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.