Incompatibility with Mail Perspectives?!

21 views
Skip to first unread message

Fabian Jäger

unread,
Sep 30, 2014, 4:05:40 AM9/30/14
to apple-m...@googlegroups.com
Dear Mail experts,
is anybody else experiencing incompatibilities of plugins with Mail Perspectives? Most of my plugins are currently incompatible with that specific plugin and I am wondering whether the problem is on my side or not.

Attached is the stack trace of the crashing thread. The problematic methods seems to be "[OTMessageHeaderView_Provider load]" and/or "[MMBundleUtilities subclass:usingClassName:providerClass:]", which are then somehow calling __arclite_objc_allocateClassPair in my plugin?! I don't fully understand what's going on here...

I am looking forward to your thoughts.

Fabian

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.chungwasoft.ForgetMeNot 0x000000010323a493 __arclite_objc_allocateClassPair(glue_swift_class_t*, char const*, unsigned long) + 31
1 ca.indev.MailPerspectives 0x00000001055021d4 +[MMBundleUtilities subclass:usingClassName:providerClass:] + 100
2 ca.indev.MailPerspectives 0x000000010557f80d +[OTMessageHeaderView_Provider load] + 109
3 libobjc.A.dylib 0x00007fff987909ea call_load_methods + 745
4 libobjc.A.dylib 0x00007fff98790500 load_images + 78
5 dyld 0x00007fff6ba16f53 dyld::notifySingle(dyld_image_states, ImageLoader const*) + 249
6 dyld 0x00007fff6ba23a4f ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 289
7 dyld 0x00007fff6ba238f6 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
8 dyld 0x00007fff6ba19b0e dyld::runInitializers(ImageLoader*) + 89
9 dyld 0x00007fff6ba207cf dlopen + 538
10 libdyld.dylib 0x00007fff8bd8b7ee dlopen + 59
11 com.apple.CoreFoundation 0x00007fff93ddcada _CFBundleDlfcnLoadBundle + 170
12 com.apple.CoreFoundation 0x00007fff93ddc2fb _CFBundleLoadExecutableAndReturnError + 683
13 com.apple.Foundation 0x00007fff93a824b0 _NSBundleLoadCode + 548
14 com.apple.Foundation 0x00007fff93a8209b -[NSBundle loadAndReturnError:] + 259
15 cz.kppm.loki.mailattachmentsiconizer 0x00000001030a6b25 -[NSBundle__MAIBase3114b9 MAI_loadAndReturnError:] + 661
16 com.apple.mail 0x000000010097becd 0x1007ea000 + 1646285
17 com.apple.mail 0x00000001007eec4b 0x1007ea000 + 19531
18 com.apple.mail 0x00000001007ed9c6 0x1007ea000 + 14790
19 com.apple.CoreFoundation 0x00007fff93e61e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
20 com.apple.CoreFoundation 0x00007fff93d5582d _CFXNotificationPost + 2893
21 com.apple.Foundation 0x00007fff93a46e4a -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
22 com.apple.AppKit 0x00007fff925e0b69 -[NSApplication _postDidFinishNotification] + 289
23 com.apple.AppKit 0x00007fff925e089c -[NSApplication _sendFinishLaunchingNotification] + 195
24 com.apple.AppKit 0x00007fff925dd786 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 570
25 com.apple.AppKit 0x00007fff925dd1db -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 242
26 com.apple.Foundation 0x00007fff93a6559a -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 294
27 com.apple.Foundation 0x00007fff93a6540d _NSAppleEventManagerGenericHandler + 106
28 com.apple.AE 0x00007fff8c3f1e1f aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 381
29 com.apple.AE 0x00007fff8c3f1c32 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 31
30 com.apple.AE 0x00007fff8c3f1b36 aeProcessAppleEvent + 315
31 com.apple.HIToolbox 0x00007fff8b7cb161 AEProcessAppleEvent + 56
32 com.apple.AppKit 0x00007fff925d90b6 _DPSNextEvent + 1026
33 com.apple.AppKit 0x00007fff925d889b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
34 com.apple.AppKit 0x00007fff92937e2e -[NSApplication _realDoModalLoop:peek:] + 642
35 com.apple.AppKit 0x00007fff9293654e -[NSApplication runModalForWindow:] + 117
36 com.apple.AppKit 0x00007fff929360fd -[NSAlert runModal] + 145
37 com.apple.AppKit 0x00007fff925de119 __55-[NSPersistentUIRestorer promptToIgnorePersistentState]_block_invoke + 1054
38 com.apple.AppKit 0x00007fff925ddcbe -[NSApplication _suppressFinishLaunchingFromEventHandlersWhilePerformingBlock:] + 28
39 com.apple.AppKit 0x00007fff925ddc5f -[NSPersistentUIRestorer promptToIgnorePersistentState] + 213
40 com.apple.AppKit 0x00007fff925ddb83 -[NSPersistentUIManager promptToIgnorePersistentState] + 28
41 com.apple.AppKit 0x00007fff925dd9a4 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionHandler:] + 252
42 com.apple.AppKit 0x00007fff925e0867 -[NSApplication _sendFinishLaunchingNotification] + 142
43 com.apple.AppKit 0x00007fff925d918a _DPSNextEvent + 1238
44 com.apple.AppKit 0x00007fff925d889b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
45 com.apple.AppKit 0x00007fff925cc99c -[NSApplication run] + 553
46 com.apple.AppKit 0x00007fff925b7783 NSApplicationMain + 940
47 libdyld.dylib 0x00007fff8bd8c5fd start + 1

Scott Little

unread,
Sep 30, 2014, 4:46:48 AM9/30/14
to apple-m...@googlegroups.com
Fabian,

This is an actual bug in MailPerspectives. It should be fixed in the next release of MailPerspectives and the debug versions will have a fix later today.

This is not new code here, but it looks like the newer version of objc_allocateClassPair that tests to see if the object is a swift object is causing problems with a situation that was ignored before. A simple test to ensure that the base class exists for the allocateClassPair fixes the issue on the side of MailPerspectives.

Scott (Little) - working with Scott (Morrison) from Indev, who is currently fishing. No really he has “gone fishing”!


--
You received this message because you are subscribed to the Google Groups "Apple Mail Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apple-mail-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


"As with dogs, so with gods - by and large, you should blame the owners"
Martin Rowson The Dog Allusion
—  
Scott Little
--


 
 

 

Fabian Jäger

unread,
Sep 30, 2014, 4:50:32 AM9/30/14
to apple-m...@googlegroups.com
Thanks a lot for this clarification! 
I am looking forward to the fixed version, because for all of our customers this situation is not satisfactory.

Best regards,
Fabian

Scott Little

unread,
Sep 30, 2014, 6:08:57 AM9/30/14
to apple-m...@googlegroups.com
Hi there,

If you have customers with this issue, you can ask them to download and install this version of MailPerspectives:


Please ONLY give the link though to users that expressly describe the issue.

Thanks,
Scott (Little) for Indev

"It is remarkable that a creative process devoted to selfishness could produce organisms which, having finally discerned this creator, reflect on this central value and reject it."
Robert Wright The Moral Animal
—  
Scott Little
--


 
 

 

Reply all
Reply to author
Forward
0 new messages