我已将 MailCore 集成到我的 iOS 项目中。最近,我在 Crittercism(现在的 Apteligent)收到了几份关于 MailCore 导致应用程序崩溃的报告。崩溃是由 MCData.cc 的 appendBytes 方法引起的,该方法是从 MailCore2 的多个方法调用的。崩溃的一个例子是:
名称:MCData.cc 原因:SEGV_MAPERR
libsystem_platform.dylib 0x0000000180c52240 _platform_memmove + 76
! 1 app 0x000000010029f6f4 appendBytes (char, unsigned int) (MCData.cc:123)
2 app 0x000000010029f4d0 Data (char, unsigned int) (MCData.cc:84)
3 app 0x000000010029f600 dataWithBytes (char, unsigned int) (MCData.cc:101)
4 app 0x00000001002b997c dataAndFilterBccAndForEncryption (bool, bool) (MCMessageBuilder.cc:792)
5 app 0x00000001002d64e8 -[MCOMessageBuilder data] (MCOMessageBuilder.mm:66)
另一个例子是下一个跟踪:
名称:MCData.cc 原因:SEGV_MAPERR
0 libsystem_platform.dylib 0x00000001810d6240 _platform_memmove + 76
! 1 app 0x00000001001b76f4 appendBytes (char, unsigned int) (MCData.cc:123)
2 app 0x00000001001b74d0 Data (char, unsigned int) (MCData.cc:84)
3 app 0x00000001001b7600 dataWithBytes (char, unsigned int) (MCData.cc:101)
4 app 0x00000001001f6424 -[MCOSMTPSession sendOperationWithData:] (MCOSMTPSession.mm:109)
还有更多:
名称:MCData.cc 原因:SEGV_MAPERR
libsystem_platform.dylib 0x00000001819fe240 _platform_memmove + 76
! 1 app 0x000000010021f6f4 appendBytes (char, unsigned int) (MCData.cc:123)
2 app 0x000000010021f4d0 Data (char, unsigned int) (MCData.cc:84)
3 app 0x000000010021f600 dataWithBytes (char, unsigned int) (MCData.cc:101)
4 app 0x0000000100255cf8 +[MCOAttachment attachmentWithData:filename:] (MCOAttachment.mm:63)
我尝试重现崩溃,但一切似乎都正常。有什么想法,是什么导致了这些崩溃?
非常感谢
最佳答案
这次崩溃看起来并不是 Crittercism 造成的。如果您仍然认为这与 Crittercism 相关,您可以通过发送电子邮件到 support@apteligent.com 并提及相关的应用程序 ID 和直接崩溃 URL 来创建支持票证。请注意,电子邮件支持仅适用于付费客户。
关于iOS - MailCore - 在 MCData.cc 崩溃 -appendBytes,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39728104/