marcoarment / BugshotKit

iOS in-app bug reporting for developers and testers, with annotated screenshots and the console log.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MailCompositionService Crash, Unable to send mail

bobspryn opened this issue · comments

For some reason only one person on our team is experiencing this (5s, like the rest of us).

When he tries to send the mail, the compose screen pops up and then immediately pops back down.

In the logs I see this:

Feb 13 13:50:15 MailCompositionService[1069] <Error>: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Illegal property type, {UIOffset=ff}'

then of course an error in the app

Feb 13 13:50:16 Shaun-Parkers-iPhone Three Cents[983] <Warning>: _serviceViewControllerReady:error: Error Domain=NSCocoaErrorDomain Code=4097 "The operation couldn’t be completed. (Cocoa error 4097.)"

Not sure what's going on, but the compose screen works properly in other applications (Safari, etc). Here is a stack trace of the mail composition service:

Incident Identifier: C5CAC359-9D3B-4A1C-8E7A-016C6936DBA5
CrashReporter Key:   42ee9ad36343ecb547f34e79361484f362673af9
Hardware Model:      iPhone6,1
Process:             MailCompositionService [1073]
Path:                /Applications/MailCompositionService.app/MailCompositionService
Identifier:          com.apple.MailCompositionService
Version:             1.0 (1.0)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2014-02-13 13:51:38.440 -0700
OS Version:          iOS 7.0.4 (11B554a)
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                  0x187f0309c __exceptionPreprocess + 132
1   libobjc.A.dylib                 0x193e81d78 objc_exception_throw + 60
2   CoreFoundation                  0x187f02f5c +[NSException raise:format:arguments:] + 116
3   Foundation                      0x188a33200 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 88
4   UIKit                           0x18b2ed454 -[_UIAppearanceRecorder _applyCustomizations] + 2088
5   UIKit                           0x18b3f2cb4 UIViewServiceUpdateAppearanceWithSerializedRepresentations + 404
6   UIKit                           0x18b381600 -[_UIViewServiceViewControllerOperator __createViewController:withAppearanceSerializedRepresentations:legacyAppearance:hostAccessibilityServerPort:canShowTextServices:replyHandler:] + 848
7   CoreFoundation                  0x187f07810 __invoking___ + 144
8   CoreFoundation                  0x187e20dbc -[NSInvocation invoke] + 308
9   CoreFoundation                  0x187e25614 -[NSInvocation invokeWithTarget:] + 72
10  UIKit                           0x18b3d70ac -[_UIViewServiceImplicitAnimationDecodingProxy forwardInvocation:] + 252
11  CoreFoundation                  0x187f0588c ___forwarding___ + 416
12  CoreFoundation                  0x187e254ac __forwarding_prep_0___ + 92
13  CoreFoundation                  0x187f07810 __invoking___ + 144
14  CoreFoundation                  0x187e20dbc -[NSInvocation invoke] + 308
15  CoreFoundation                  0x187e25614 -[NSInvocation invokeWithTarget:] + 72
16  UIKit                           0x18b39e24c -[_UIQueueingProxy forwardInvocation:] + 344
17  CoreFoundation                  0x187f0588c ___forwarding___ + 416
18  CoreFoundation                  0x187e254ac __forwarding_prep_0___ + 92
19  CoreFoundation                  0x187f07810 __invoking___ + 144
20  CoreFoundation                  0x187e20dbc -[NSInvocation invoke] + 308
21  CoreFoundation                  0x187e25614 -[NSInvocation invokeWithTarget:] + 72
22  CoreFoundation                  0x187f0588c ___forwarding___ + 416
23  CoreFoundation                  0x187e254ac __forwarding_prep_0___ + 92
24  CoreFoundation                  0x187f07810 __invoking___ + 144
25  CoreFoundation                  0x187e20dbc -[NSInvocation invoke] + 308
26  libdispatch.dylib               0x194450420 _dispatch_call_block_and_release + 24
27  libdispatch.dylib               0x1944503e0 _dispatch_client_callout + 16
28  libdispatch.dylib               0x19445356c _dispatch_main_queue_callback_4CF + 344
29  CoreFoundation                  0x187ec2d64 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
30  CoreFoundation                  0x187ec10a4 __CFRunLoopRun + 1452
31  CoreFoundation                  0x187e01b38 CFRunLoopRunSpecific + 452
32  GraphicsServices                0x18d827830 GSEventRunModal + 168
33  UIKit                           0x18ae400e8 UIApplicationMain + 1156
34  MailCompositionService          0x1000f0a30 0x1000ec000 + 18992
35  libdyld.dylib                   0x19446baa0 start + 4


Thread 0 Crashed:
0   libsystem_kernel.dylib          0x000000019456658c __pthread_kill + 8
1   libsystem_c.dylib               0x00000001944fa848 abort + 108
2   libc++abi.dylib                 0x0000000193720990 abort_message + 84
3   libc++abi.dylib                 0x000000019373dc28 default_terminate_handler() + 296
4   libobjc.A.dylib                 0x0000000193e82024 _objc_terminate() + 124
5   libc++abi.dylib                 0x000000019373b164 std::__terminate(void (*)()) + 12
6   libc++abi.dylib                 0x000000019373aa7c __cxa_throw + 132
7   libobjc.A.dylib                 0x0000000193e81e90 objc_exception_throw + 340
8   CoreFoundation                  0x0000000187f02f58 +[NSException raise:format:arguments:] + 112
9   Foundation                      0x0000000188a331fc -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 84
10  UIKit                           0x000000018b2ed450 -[_UIAppearanceRecorder _applyCustomizations] + 2084
11  UIKit                           0x000000018b3f2cb0 UIViewServiceUpdateAppearanceWithSerializedRepresentations + 400
12  UIKit                           0x000000018b3815fc -[_UIViewServiceViewControllerOperator __createViewController:withAppearanceSerializedRepresentations:legacyAppearance:hostAccessibilityServerPort:canShowTextServices:replyHandler:] + 844
13  CoreFoundation                  0x0000000187f0780c __invoking___ + 140
14  CoreFoundation                  0x0000000187e20db8 -[NSInvocation invoke] + 304
15  CoreFoundation                  0x0000000187e25610 -[NSInvocation invokeWithTarget:] + 68
16  UIKit                           0x000000018b3d70a8 -[_UIViewServiceImplicitAnimationDecodingProxy forwardInvocation:] + 248
17  CoreFoundation                  0x0000000187f05888 ___forwarding___ + 412
18  CoreFoundation                  0x0000000187e254a8 __forwarding_prep_0___ + 88
19  CoreFoundation                  0x0000000187f0780c __invoking___ + 140
20  CoreFoundation                  0x0000000187e20db8 -[NSInvocation invoke] + 304
21  CoreFoundation                  0x0000000187e25610 -[NSInvocation invokeWithTarget:] + 68
22  UIKit                           0x000000018b39e248 -[_UIQueueingProxy forwardInvocation:] + 340
23  CoreFoundation                  0x0000000187f05888 ___forwarding___ + 412
24  CoreFoundation                  0x0000000187e254a8 __forwarding_prep_0___ + 88
25  CoreFoundation                  0x0000000187f0780c __invoking___ + 140
26  CoreFoundation                  0x0000000187e20db8 -[NSInvocation invoke] + 304
27  CoreFoundation                  0x0000000187e25610 -[NSInvocation invokeWithTarget:] + 68
28  CoreFoundation                  0x0000000187f05888 ___forwarding___ + 412
29  CoreFoundation                  0x0000000187e254a8 __forwarding_prep_0___ + 88
30  CoreFoundation                  0x0000000187f0780c __invoking___ + 140
31  CoreFoundation                  0x0000000187e20db8 -[NSInvocation invoke] + 304
32  libdispatch.dylib               0x000000019445041c _dispatch_call_block_and_release + 20
33  libdispatch.dylib               0x00000001944503dc _dispatch_client_callout + 12
34  libdispatch.dylib               0x0000000194453568 _dispatch_main_queue_callback_4CF + 340
35  CoreFoundation                  0x0000000187ec2d60 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
36  CoreFoundation                  0x0000000187ec10a0 __CFRunLoopRun + 1448
37  CoreFoundation                  0x0000000187e01b34 CFRunLoopRunSpecific + 448
38  GraphicsServices                0x000000018d82782c GSEventRunModal + 164
39  UIKit                           0x000000018ae400e4 UIApplicationMain + 1152
40  MailCompositionService          0x00000001000f0a2c 0x1000ec000 + 18988
41  libdyld.dylib                   0x000000019446ba9c start + 0

No one having the same issue? Weird.

Do you get it in the test project or in your own project?

Own project. I'm really not sure what would be interfering though.

Using appearance in your project? Maybe on UIBarButtonItem or UITabBarItem?
If so, try removing appearance code on them and see if that helps.

onsdagen den 26:e februari 2014 skrev Bob Spryn notifications@github.com:

Own project. I'm really not sure what would be interfering though.

Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-36184127
.

Closing, as this appears not to be a BugshotKit issue. (Feel free to reopen if you find out otherwise.)