Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch "delivery failed" message #230

Closed
sxy707 opened this issue Jul 23, 2013 · 3 comments
Closed

fetch "delivery failed" message #230

sxy707 opened this issue Jul 23, 2013 · 3 comments
Milestone

Comments

@sxy707
Copy link

sxy707 commented Jul 23, 2013

We have forward an 3rd party e-mail into a testing gmail account, when we get below "delivery failed" message, the mailcore2 has crashed.


The error message as below:

2013-07-23 10:25:59.485 iOS UI Test[41958:c07] *** Assertion failure in
-[MCTMsgViewController _fetchIMAPPartWithUniqueID:folder:], /Users/testuser/Documents/dev_works/ThirdPartyCode/mailcore2/example/ios/iOS UI Test/iOS UI Test/MCTMsgViewController.mm:98
2013-07-23 10:25:59.487 [41958:4d1f] MCOperationQueue.cc:109: check running 0x7d65640
2013-07-23 10:25:59.487 iOS UI Test[41958:c07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'part != nil'
*** First throw call stack:
(0x28bc012 0x222fe7e 0x28bbe78 0x1aae665 0x290f9 0x2a8a1 0x24e83 0x27698 0x46bea8 0x46bf06 0x45cadc 0x45c05f 0x45d4c1 0x45c0c7 0x45d07a 0x45c079 0x45d2ac 0x45c093 0x45bc0c 0x45be58 0x42cbdf 0x468de6 0x229f1 0x250b1 0x29c6e 0x298e8 0x46e0e6 0x46646d 0x466600 0x466639 0x42b820 0x421432 0x42a6a1 0x22436b0 0x1a58765 0x283ff3f 0x283f96f 0x2862734 0x2861f44 0x2861e1b 0x32317e3 0x3231668 0xf5cffc 0x25b9 0x2515)
libc++abi.dylib: terminate called throwing an exception


Below is the full mime message:

delete....

@CodaFi
Copy link
Member

CodaFi commented Jul 23, 2013

Technically it's not even MailCore2 that's crashing, you just lifted the example code verbatim (naughty, naughty). It is crashing because you need to actually satisfy asserts and check for nil parts when you call _fetchIMAPPartWithUniqueID:folder:.

@CodaFi CodaFi closed this as completed Jul 23, 2013
@sxy707
Copy link
Author

sxy707 commented Jul 23, 2013

I am running mailcore2 own example (mailcore2/example/ios/iOS UI Test / iOS UI Test), but the error, the program exits!

@dinhvh
Copy link
Member

dinhvh commented Jul 23, 2013

I'll investigate. Thanks!

@dinhvh dinhvh reopened this Jul 23, 2013
@dinhvh dinhvh closed this as completed in e2e7c10 Jul 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants