#2953 new
Juri

MailMate crash "Export to Folder"while activating rule on Smart folder

Reported by Juri | November 17th, 2021 @ 01:01 PM

Using a smart mailbox with backup function "Export to folder" for several sub smart folders. Sub smart folders contain Mailbox rules and Conditions. The mention "parent" smart mailbox runs the backup rule "Export to folder" (type A). Under Mailboxes "Include messages in any submailboxes of this mailbox" is checked. Right mouse click on Parent Folder, Apply rules of ..., All messages. Export starts, *.eml export files appear in Finder, MailMate crashes.

Apple error report:

------------------------------------
Translated Report (Full Report Below)  
-------------------------------------

Process:               MailMate [9018]  
Path:                  /Applications/MailMate.app/Contents/MacOS/MailMate  
Identifier:            com.freron.MailMate  
Version:               1.14 (5846)  
Code Type:             ARM-64 (Native)  
Parent Process:        launchd [1]  
User ID:               501

Date/Time:             2021-11-17 13:25:26.7948 +0100  
OS Version:            macOS 12.0.1 (21A559)  
Report Version:        12



Time Awake Since Boot: 18000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)  
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000  
Exception Codes:       0x0000000000000001, 0x0000000000000000  
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11  
Terminating Process:   exc handler [9018]

VM Region Info: 0 is not in any region.  Bytes before following region: 4308008960  
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100c70000-101410000    [ 7808K] r-x/r-x SM=COW  ...acOS/MailMate

Application Specific Information:  
Performing @selector(applyRulesToMailbox:) from sender NSMenuItem 0x600003c2b1e0


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread  
0   MailMate                               0x100f73e8c void query::query_t::for_each<boost::container::vec_iterator<int*, true> >(boost::container::vec_iterator<int*, true>, boost::container::vec_iterator<int*, true>, std::__1::function<void (int)> const&) + 32  
1   MailMate                               0x100dc3d38 -[MmMailbox handleEvent:msgIDs:] + 384  
2   MailMate                               0x100dc3d38 -[MmMailbox handleEvent:msgIDs:] + 384  
3   MailMate                               0x100d790f4 -[MmMessagesWindowController applyRulesToAllMessages:] + 832  
4   AppKit                                 0x18ed1c024 -[NSApplication(NSResponder) sendAction:to:from:] + 456  
5   AppKit                                 0x18ee11c4c -[NSMenuItem _corePerformAction] + 444  
6   AppKit                                 0x18ee11940 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 100  
7   AppKit                                 0x18ee5a298 -[NSMenu performActionForItemAtIndex:] + 196  
8   AppKit                                 0x18ee5a1bc -[NSMenu _internalPerformActionForItemAtIndex:] + 100  
9   AppKit                                 0x18ee59fc8 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 116  
10  AppKit                                 0x18edf5838 NSSLMMenuEventHandler + 728  
11  HIToolbox                              0x194b10e34 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1116  
12  HIToolbox                              0x194b102a0 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 356  
13  HIToolbox                              0x194b2642c SendEventToEventTarget + 40  
14  HIToolbox                              0x194b88370 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 420  
15  HIToolbox                              0x194bad124 SendMenuCommandWithContextAndModifiers + 56  
16  HIToolbox                              0x194bad0b4 SendMenuItemSelectedEvent + 356  
17  HIToolbox                              0x194bacedc FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 100  
18  HIToolbox                              0x194cd9edc PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 1280  
19  HIToolbox                              0x194cd95c4 _HandlePopUpMenuSelection8(OpaqueMenuRef*, OpaqueEventRef*, unsigned int, Point, unsigned short, unsigned int, unsigned int, Rect const*, unsigned short, Rect const*, Rect const*, __CFDictionary const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 600  
20  HIToolbox                              0x194b8ffbc _HandlePopUpMenuSelectionWithDictionary + 380  
21  AppKit                                 0x18efb16ec SLMPerformPopUpCarbonMenu + 1796  
22  AppKit                                 0x18ee53ee0 _NSSLMPopUpCarbonMenu3 + 808  
23  AppKit                                 0x18eeea040 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 232  
24  AppKit                                 0x18eee9ea0 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 248  
25  AppKit                                 0x18ed15780 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4436  
26  AppKit                                 0x18ec88c78 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2444  
27  AppKit                                 0x18ec88080 -[NSWindow(NSEventRouting) sendEvent:] + 348  
28  MailMate                               0x100e93fd0 -[OakDeleteKeyWindow sendEvent:] + 68  
29  AppKit                                 0x18ec86fe4 -[NSApplication(NSEvent) sendEvent:] + 2776  
30  AppKit                                 0x18ef3f588 -[NSApplication _handleEvent:] + 76  
31  AppKit                                 0x18eb083d8 -[NSApplication run] + 636  
32  AppKit                                 0x18ead9a84 NSApplicationMain + 1064  
33  MailMate                               0x100db766c main + 820  
34  dyld                                   0x101b7d0f4 start + 520  
...

Comments and changes to this ticket

  • benny

    benny November 17th, 2021 @ 03:25 PM

    This is a complex setup and it might be easier for me to reproduce if you send me your Mailboxes.plist file using Help > Send Feedback:

    ~/Library/Application Support/MailMate/Mailboxes.plist
    

    I've added a check to the code which might prevent the crash (based on the crash report), but it'll just do nothing instead and I assume you expected something to be exported.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket

Pages