注册

IOS聊天室崩溃

>---------------------- Row   1 -----------------------<
=> Start Application received signal SIGSEGV
    -> translating『 0x1004a0de0 』=>
    -> translating『 0x10039dc80 』=> -[DDXMLNode copyWithZone:] /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/IMCommon/XMPPManager/XMPPFramework/Vendor/KissXML/DDXMLNode.m: line 301
    -> translating『 0x1004363f8 』=> -[XMPPElement copyWithZone:] /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/IMCommon/XMPPManager/XMPPFramework/Core/XMPPElement.m: line 70
    -> translating『 0x1002f333c 』=> -[XMPPPresence copyWithZone:] /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/IMCommon/XMPPManager/XMPPFramework/Core/XMPPPresence.m: line 94
    -> translating『 0x1002f7d58 』=> -[XMPPRoomOccupantMemoryStorageObject copyWithZone:] /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/IMCommon/XMPPManager/XMPPFramework/Extensions/XEP-0045/MemoryStorage/XMPPRoomOccupantMemoryStorageObject.m: line 71
    -> translating『 0x1002f9dec 』=> -[XMPPRoomMemoryStorage handlePresence:room:] /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/IMCommon/XMPPManager/XMPPFramework/Extensions/XEP-0045/MemoryStorage/XMPPRoomMemoryStorage.m: line 575
    -> translating『 0x100304040 』=> -[XMPPRoom xmppStream:didReceivePresence:] /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/IMCommon/XMPPManager/XMPPFramework/Extensions/XEP-0045/XMPPRoom.m: line 787
    -> translating『 0x10037d81c 』=> __44-[EMGCDMulticastDelegate forwardInvocation:]_block_invoke /Users/dhc/Desktop/easemobProject/emclient-ios/EaseMobClientSDK/Utility/GCDMulticastDelegate/EMGCDMulticastDelegate.m: line 285
=> End Application received signal SIGSEGV
>------------------------------------------------------<
 
能看出是哪里的问题吗,
已邀请:
什么操作崩溃的?
进入聊天室和切换聊天室的时候出现 不是每次都出现
这样看不出哪里的问题,自己断点仔细调试下,看看是不是哪里的指针指向了无效的地址。你用的什么版本sdk,demo用这样的情况吗?

 

要回复问题请先登录注册