注册

iOS 奔溃 std::out_of_range

用户打开 app 时直接闪退了,异常来自 HyphenateChat

在 bugly crash 信息如下:

0
libc++.1.dylib
std::__1::__throw_out_of_range(char const*) + 64
2
libc++.1.dylib
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::assign(char const*, unsigned long)
3
HyphenateChat
easemob::EMLog::convertMessage(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long) + 2528
4
HyphenateChat
easemob::EMLog::maskingMessage(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 3460
5
HyphenateChat
easemob::EMLog::saveLog(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 1076
6
HyphenateChat
easemob::EMTaskQueue::EMTaskQueueThread::main() + 260
7
HyphenateChat
_ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN7easemob11EMTaskQueue17EMTaskQueueThreadC1ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEE3$_0EEEEEPvSK_ + 96
8
libsystem_pthread.dylib
_pthread_start + 320
已邀请:

yangjian - 90后闷骚男

浮现场景是什么?SDK版本是多少?更新到最新版本试试

要回复问题请先登录注册