iOS 野火SDK内部闪退问题,无法处理

kaito 3天前 50

-------------------------------闪退问题1:

Crashed: mars::stn::lonklink
0  libsystem_platform.dylib       0x2ab0 _platform_memmove + 144
1  WFChatClient                   0x24a328 mars::stn::$_2::__invoke(AutoBuffer const&, unsigned int&, unsigned int&, unsigned long&, AutoBuffer&, AutoBuffer&, mars::stn::longlink_tracker*) + 728
2  WFChatClient                   0x3fb6f8 mars::stn::LongLink::__RunReadWrite(int, mars::stn::ErrCmdType&, int&, mars::stn::ConnectProfile&) + 7228
3  WFChatClient                   0x3f7258 mars::stn::LongLink::__Run() + 1340
4  WFChatClient                   0x493c14 Thread::start_routine(void*) + 76
5  libsystem_pthread.dylib        0x606c _pthread_start + 136
6  libsystem_pthread.dylib        0x10d8 thread_start + 8

-------------------------------闪退问题2:

Crashed: mars::stn
0  WFChatClient                   0x46c5a4 mars::stn::WeakNetworkLogic::OnTaskEvent(mars::stn::TaskProfile const&) + 1544
1  WFChatClient                   0x46bfdc mars::stn::WeakNetworkLogic::OnTaskEvent(mars::stn::TaskProfile const&) + 64
2  WFChatClient                   0x41058c mars::stn::LongLinkTaskManager::__SingleRespHandle(std::__1::__list_iterator<mars::stn::TaskProfile, void*>, mars::stn::ErrCmdType, int, int, mars::stn::ConnectProfile const&) + 7432
3  WFChatClient                   0x40d058 mars::stn::LongLinkTaskManager::~LongLinkTaskManager() + 420
4  WFChatClient                   0x40d544 mars::stn::LongLinkTaskManager::~LongLinkTaskManager() + 12
5  WFChatClient                   0x41ea04 mars::stn::NetCore::~NetCore() + 1092
6  WFChatClient                   0x41ec38 mars::stn::NetCore::~NetCore() + 12
7  WFChatClient                   0xa1a6c MessageQueue::__AsyncInvokeHandler(MessageQueue::MessagePost_t const&, MessageQueue::Message&) + 164
8  WFChatClient                   0xa0e14 MessageQueue::RunLoop::Run() + 3952
9  WFChatClient                   0xa1ce4 MessageQueue::MessageQueueCreater::__ThreadRunloop() + 56
10 WFChatClient                   0x493c14 Thread::start_routine(void*) + 76
11 libsystem_pthread.dylib        0x3344 _pthread_start + 136
12 libsystem_pthread.dylib        0xab8 thread_start + 8

-------------------------------闪退问题3:

          Crashed: mars::stn
0  WFChatClient                   0x4269d8 void mars_boost::signals2::detail::signal1_impl<void, bool, mars_boost::signals2::optional_last_value<void>, int, std::__1::less<int>, mars_boost::function<void (bool)>, mars_boost::function<void (mars_boost::signals2::connection const&, bool)>, mars_boost::signals2::mutex>::do_disconnect<mars_boost::_bi::bind_t<void, mars_boost::_mfi::mf1<void, mars::stn::NetCore, bool>, mars_boost::_bi::list2<mars_boost::_bi::value<mars::stn::NetCore*>, mars_boost::arg<1>>>>(mars_boost::_bi::bind_t<void, mars_boost::_mfi::mf1<void, mars::stn::NetCore, bool>, mars_boost::_bi::list2<mars_boost::_bi::value<mars::stn::NetCore*>, mars_boost::arg<1>>> const&, mpl_::bool_<false>) + 56
1  WFChatClient                   0x41e724 mars::stn::NetCore::~NetCore() + 356
2  WFChatClient                   0x41e724 mars::stn::NetCore::~NetCore() + 356
3  WFChatClient                   0x41ec38 mars::stn::NetCore::~NetCore() + 12
4  WFChatClient                   0xa1a6c MessageQueue::__AsyncInvokeHandler(MessageQueue::MessagePost_t const&, MessageQueue::Message&) + 164
5  WFChatClient                   0xa0e14 MessageQueue::RunLoop::Run() + 3952
6  WFChatClient                   0xa1ce4 MessageQueue::MessageQueueCreater::__ThreadRunloop() + 56
7  WFChatClient                   0x493c14 Thread::start_routine(void*) + 76
8  libsystem_pthread.dylib        0x3344 _pthread_start + 136
9  libsystem_pthread.dylib        0xab8 thread_start + 8

-------------------------------闪退问题4:

Crashed: mars::stn::lonklink
0  libsystem_kernel.dylib         0xb1dc __pthread_kill + 8
1  libsystem_pthread.dylib        0x7c60 pthread_kill + 268
2  libsystem_c.dylib              0x770ac abort + 124
3  libsystem_malloc.dylib         0x16d70 malloc_vreport + 892
4  libsystem_malloc.dylib         0x169e8 malloc_report + 64
5  libsystem_malloc.dylib         0x11594 ___BUG_IN_CLIENT_OF_LIBMALLOC_POINTER_BEING_FREED_WAS_NOT_ALLOCATED + 32
6  libsystem_malloc.dylib         0x646c _xzm_free_not_found + 92
7  WFChatClient                   0x267b14 sqlite3VdbeMemSetStr + 1064
8  WFChatClient                   0x26311c sqlite3ErrorWithMsg + 212
9  WFChatClient                   0x2c354c sqlite3Prepare + 968
10 WFChatClient                   0x27a08c sqlite3LockAndPrepare + 192
11 WFChatClient                   0x1c6ecc mars::stn::RecyclableStatement::RecyclableStatement(mars::stn::DB2*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int&) + 860
12 WFChatClient                   0x1faa64 mars::stn::MessageDB::getFriendHead() + 220
13 WFChatClient                   0x22bba0 mars::stn::PullFriend(long long) + 52
14 WFChatClient                   0x3c6f2c mars::stn::StnCallBack::OnLonglinkIdentifyResponse(AutoBuffer const&, AutoBuffer const&, 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&, int) + 1276
15 WFChatClient                   0x484dc8 mars::stn::$_31::__invoke(AutoBuffer const&, AutoBuffer const&, 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&, int) + 240
16 WFChatClient                   0x408cbc LongLinkIdentifyChecker::OnIdentifyResp(AutoBuffer&, 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&, int) + 264
17 WFChatClient                   0x3f60f8 mars::stn::LongLink::__NoopResp(unsigned int, unsigned int, AutoBuffer&, AutoBuffer&, Alarm&, bool&, mars::stn::ConnectProfile&) + 288
18 WFChatClient                   0x3fbd18 mars::stn::LongLink::__RunReadWrite(int, mars::stn::ErrCmdType&, int&, mars::stn::ConnectProfile&) + 8796
19 WFChatClient                   0x3f7258 mars::stn::LongLink::__Run() + 1340
20 WFChatClient                   0x493c14 Thread::start_routine(void*) + 76
21 libsystem_pthread.dylib        0x3344 _pthread_start + 136
22 libsystem_pthread.dylib        0xab8 thread_start + 8
最新回复 (1)
  • HeavyRain 2天前
    引用 2
    协议栈确实有一定的崩溃概率,但一般都是万分之几的概率,甚至更低,都是发生在sqlite3中,一般是可接受范围之内。其他地方的崩溃如果比较多,可能是应用或者使用的其他第三方组件有问题,比如有内存泄漏和内存越界等可能,如果有可能是这种情况,可以用野火demo对比测试看看
返回