简体   繁体   English

在Android 8.0(API 26,Oreo)上Twilio聊天客户端关闭期间崩溃

[英]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.

相关问题 从API 26:Android 8.0 Oreo开始,不推荐使用Build.SERIAL - Build.SERIAL is deprecated as of API 26: Android 8.0 Oreo onTaskRemoved()在Android 8.0 Oreo API级别26上不起作用 - onTaskRemoved() doesn't work on Android 8.0 Oreo API level 26 如何在 Android 8.0 中正确更新小部件 - Oreo - API 26 - How To Properly Update A Widget In Android 8.0 - Oreo - API 26 在Xamarin.Forms中使用Android支持库API Level 26(MonoAndroid 8.0 Oreo)? - Using android support libraries API Level 26 (MonoAndroid 8.0 Oreo) in Xamarin.Forms? 如何在Android 8.0 Oreo API 26及更高版本上检测到应用终止 - How can I detect app kill on Android 8.0 Oreo API 26 and after API 26(Android 8.0 Oreo)不推荐使用IntentService + WakefulBroadcastReceiver + AlarmManager。 哪个是最好的选择? - IntentService + WakefulBroadcastReceiver + AlarmManager are deprecated with API 26 (Android 8.0 Oreo). Which is the best alternative? 找不到 Android 8.0-8.1 (Oreo) API 26-27 ARM 系统映像 - Can't find Android 8.0-8.1 (Oreo) API 26-27 ARM System Images Android 8.0 Oreo 在聚焦 TextInputEditText 时崩溃 - Android 8.0 Oreo crash on focusing TextInputEditText 通知无法在Android Oreo(API 26)中显示 - Notifications fail to display in Android Oreo (API 26) Android 8.0-Google API 26升级失败 - Android 8.0 - Google API 26 upgrade failure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM