#2068 ✓cantreproduce
Nick Vahalik

MailMate crashes when right-clicking on an email address... for ONE contact.

Reported by Nick Vahalik | July 31st, 2018 @ 04:05 PM

Added a particular user to my address book. If I right/control-click on the email address in a mail window, MailMate crashes and provides me with the crash reporter. Happens every time without fail.

If I click on the email address, it filters as you would expect.

If I delete the contact from Address Book and then right-click on it in MailMate... it does not crash. If I click "Add to Contacts..." and then right click on it again... it crashes!

However... only for THIS contact!

I've added other contacts to my address books and I'm not seeing this happen anywhere else.

Comments and changes to this ticket

  • Nick Vahalik

    Nick Vahalik July 31st, 2018 @ 04:08 PM

    Process:               MailMate [1386]
    Path:                  /Applications/MailMate.app/Contents/MacOS/MailMate
    Identifier:            com.freron.MailMate
    Version:               1.11.3 (5509)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           MailMate [1386]
    User ID:               501
    
    Date/Time:             2018-07-31 11:02:34.736 -0500
    OS Version:            Mac OS X 10.12.6 (16G1510)
    Report Version:        12
    Anonymous UUID:        42F14FB0-F422-FD59-0DB8-A57C57D9AB15
    
    
    Time Awake Since Boot: 1300 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 0x00006ede34a3bec8
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Segmentation fault: 11
    Termination Reason:    Namespace SIGNAL, Code 0xb
    Terminating Process:   exc handler [0]
    
    VM Regions Near 0x6ede34a3bec8:
        MALLOC_NANO            0000618000000000-0000618008400000 [132.0M] rw-/rwx SM=PRV  
    --> 
        STACK GUARD            000070000ca46000-000070000ca47000 [    4K] ---/rwx SM=NUL  stack guard for thread 22
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                 0x00007fffa7838f31 objc_retain + 33
    1   com.apple.CoreFoundation        0x00007fff92a90f05 +[__NSSingleObjectArrayI __new::] + 69
    2   com.apple.CoreFoundation        0x00007fff9291b08f -[__NSPlaceholderArray initWithObjects:count:] + 159
    3   com.apple.CoreFoundation        0x00007fff92922c74 +[NSArray arrayWithObjects:count:] + 52
    4   com.freron.MailMate             0x0000000101057344 MenuItemsForAddress(NSDictionary*) + 2660
    5   com.freron.MailMate             0x00000001010cd002 -[MmHeadersViewController webView:contextMenuItemsForElement:defaultMenuItems:] + 3163
    6   com.apple.WebKitLegacy          0x00007fff9abe23dc CallUIDelegate(WebView*, objc_selector*, objc_object*, objc_object*) + 108
    7   com.apple.WebKitLegacy          0x00007fff9ab4e069 -[WebHTMLView menuForEvent:] + 2201
    8   com.apple.AppKit                0x00007fff90d1ad95 -[NSView _showMenuForEvent:] + 58
    9   com.apple.AppKit                0x00007fff9086feb6 -[NSView rightMouseDown:] + 100
    10  com.apple.AppKit                0x00007fff9098cddd -[NSControl _rightMouseUpOrDown:] + 515
    11  com.apple.AppKit                0x00007fff90d89c10 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6458
    12  com.apple.AppKit                0x00007fff90d87f0a -[NSWindow(NSEventRouting) sendEvent:] + 541
    13  com.freron.MailMate.OakAppKit   0x0000000101441751 -[OakDeleteKeyWindow sendEvent:] + 42
    14  com.apple.AppKit                0x00007fff90c0ce7e -[NSApplication(NSEvent) sendEvent:] + 3190
    15  com.apple.AppKit                0x00007fff90487427 -[NSApplication run] + 1002
    16  com.apple.AppKit                0x00007fff90451e0e NSApplicationMain + 1237
    17  com.freron.MailMate             0x000000010108661a main + 617
    18  libdyld.dylib                   0x00007fffa812d235 start + 1
    
    Thread 1:: main::signal_handler
    0   libsystem_kernel.dylib          0x00007fffa825c1fe __sigwait + 10
    1   libsystem_pthread.dylib         0x00007fffa8348dc4 sigwait + 61
    2   com.freron.MailMate             0x000000010108634d signal_handler_thread(void*) + 41
    3   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    4   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    5   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 2:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa8346621 _pthread_wqthread + 1426
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 3:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa8346621 _pthread_wqthread + 1426
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 4:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa8346621 _pthread_wqthread + 1426
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 5:
    0   libsystem_kernel.dylib          0x00007fffa825bf46 __semwait_signal + 10
    1   libsystem_c.dylib               0x00007fffa81e2b72 nanosleep + 199
    2   libc++.1.dylib                  0x00007fffa6d0665b std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 80
    3   com.apple.JavaScriptCore        0x00007fff959a7f43 bmalloc::Heap::scavenge(std::__1::unique_lock<bmalloc::StaticMutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 275
    4   com.apple.JavaScriptCore        0x00007fff959a7cf6 bmalloc::Heap::concurrentScavenge() + 102
    5   com.apple.JavaScriptCore        0x00007fff959a9381 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 97
    6   com.apple.JavaScriptCore        0x00007fff959a928d bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadEntryPoint(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*) + 29
    7   com.apple.JavaScriptCore        0x00007fff959a953d void* std::__1::__thread_proxy<std::__1::tuple<void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 93
    8   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    9   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    10  libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 6:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   OakProtocols.dylib              0x0000000101a8e86d connection_t::wait_for_select(bool, bool) + 1081
    6   OakProtocols.dylib              0x0000000101a85c6b int connection_t::read<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool, int) + 1115
    7   OakProtocols.dylib              0x0000000101a72b16 imap_t::read_response() + 470
    8   OakProtocols.dylib              0x0000000101a70740 imap_t::run_idle() + 608
    9   OakProtocols.dylib              0x0000000101a64d35 imap_t::run_action() + 547
    10  OakProtocols.dylib              0x0000000101a913cf connection_t::run() + 1107
    11  OakProtocols.dylib              0x0000000101aa70f7 connection_command_t::handle_request(std::__1::shared_ptr<connection_t>) + 597
    12  OakProtocols.dylib              0x0000000101aa7ca8 oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 488
    13  OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    14  libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    15  libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    16  libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 7:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib          0x00007fffa825beb6 __select + 10
    1   com.apple.CoreFoundation        0x00007fff929d766a __CFSocketManager + 682
    2   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    3   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    4   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 8:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   OakProtocols.dylib              0x0000000101a8e86d connection_t::wait_for_select(bool, bool) + 1081
    6   OakProtocols.dylib              0x0000000101a85c6b int connection_t::read<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool, int) + 1115
    7   OakProtocols.dylib              0x0000000101a72b16 imap_t::read_response() + 470
    8   OakProtocols.dylib              0x0000000101a70740 imap_t::run_idle() + 608
    9   OakProtocols.dylib              0x0000000101a64d35 imap_t::run_action() + 547
    10  OakProtocols.dylib              0x0000000101a913cf connection_t::run() + 1107
    11  OakProtocols.dylib              0x0000000101aa70f7 connection_command_t::handle_request(std::__1::shared_ptr<connection_t>) + 597
    12  OakProtocols.dylib              0x0000000101aa7ca8 oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 488
    13  OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    14  libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    15  libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    16  libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 9:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakProtocols.dylib              0x0000000101aa7b9e oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 222
    3   OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 10:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakProtocols.dylib              0x0000000101aa7b9e oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 222
    3   OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 11:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   com.apple.CFNetwork             0x00007fff91ad7214 +[NSURLConnection(Loader) _resourceLoadLoop:] + 313
    6   com.apple.Foundation            0x00007fff943be8ad __NSThread__start__ + 1243
    7   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    8   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    9   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 12:: com.apple.NSEventThread
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   com.apple.AppKit                0x00007fff905dff02 _NSEventThread + 205
    6   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    7   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    8   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 13:: com.apple.CFNetwork.CustomProtocols
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   com.apple.CFNetwork             0x00007fff91d21416 _privateRunloopEmulationSet(void*) + 258
    6   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    7   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    8   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 14:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakProtocols.dylib              0x0000000101aa7b9e oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 222
    3   OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 15:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   OakProtocols.dylib              0x0000000101a8e86d connection_t::wait_for_select(bool, bool) + 1081
    6   OakProtocols.dylib              0x0000000101a85c6b int connection_t::read<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool, int) + 1115
    7   OakProtocols.dylib              0x0000000101a72b16 imap_t::read_response() + 470
    8   OakProtocols.dylib              0x0000000101a70740 imap_t::run_idle() + 608
    9   OakProtocols.dylib              0x0000000101a64d35 imap_t::run_action() + 547
    10  OakProtocols.dylib              0x0000000101a913cf connection_t::run() + 1107
    11  OakProtocols.dylib              0x0000000101aa70f7 connection_command_t::handle_request(std::__1::shared_ptr<connection_t>) + 597
    12  OakProtocols.dylib              0x0000000101aa7ca8 oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 488
    13  OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    14  libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    15  libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    16  libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 16:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   OakProtocols.dylib              0x0000000101a8e86d connection_t::wait_for_select(bool, bool) + 1081
    6   OakProtocols.dylib              0x0000000101a85c6b int connection_t::read<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool, int) + 1115
    7   OakProtocols.dylib              0x0000000101a72b16 imap_t::read_response() + 470
    8   OakProtocols.dylib              0x0000000101a70740 imap_t::run_idle() + 608
    9   OakProtocols.dylib              0x0000000101a64d35 imap_t::run_action() + 547
    10  OakProtocols.dylib              0x0000000101a913cf connection_t::run() + 1107
    11  OakProtocols.dylib              0x0000000101aa70f7 connection_command_t::handle_request(std::__1::shared_ptr<connection_t>) + 597
    12  OakProtocols.dylib              0x0000000101aa7ca8 oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 488
    13  OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    14  libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    15  libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    16  libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 17:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakProtocols.dylib              0x0000000101aa7b9e oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 222
    3   OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 18:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825434a mach_msg_trap + 10
    1   libsystem_kernel.dylib          0x00007fffa8253797 mach_msg + 55
    2   com.apple.CoreFoundation        0x00007fff9299c434 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation        0x00007fff9299b8c1 __CFRunLoopRun + 1361
    4   com.apple.CoreFoundation        0x00007fff9299b114 CFRunLoopRunSpecific + 420
    5   OakProtocols.dylib              0x0000000101a8e86d connection_t::wait_for_select(bool, bool) + 1081
    6   OakProtocols.dylib              0x0000000101a85c6b int connection_t::read<std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(std::__1::back_insert_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, bool, int) + 1115
    7   OakProtocols.dylib              0x0000000101a72b16 imap_t::read_response() + 470
    8   OakProtocols.dylib              0x0000000101a70740 imap_t::run_idle() + 608
    9   OakProtocols.dylib              0x0000000101a64d35 imap_t::run_action() + 547
    10  OakProtocols.dylib              0x0000000101a913cf connection_t::run() + 1107
    11  OakProtocols.dylib              0x0000000101aa70f7 connection_command_t::handle_request(std::__1::shared_ptr<connection_t>) + 597
    12  OakProtocols.dylib              0x0000000101aa7ca8 oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 488
    13  OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    14  libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    15  libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    16  libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 19:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakProtocols.dylib              0x0000000101aa7b9e oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 222
    3   OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 20:: IMAP connection
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakProtocols.dylib              0x0000000101aa7b9e oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_run() + 222
    3   OakProtocols.dylib              0x0000000101aa781f oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 21:: atomic_saving_thread_t
    0   libsystem_kernel.dylib          0x00007fffa825bbf2 __psynch_cvwait + 10
    1   libsystem_pthread.dylib         0x00007fffa83477fa _pthread_cond_wait + 712
    2   OakUtilities.dylib              0x0000000101b7ac2d oak::server_t<atomic_saving::atomic_saving_thread_t, std::__1::shared_ptr<atomic_saving::atomic_saving_t>, bool>::server_run() + 219
    3   OakUtilities.dylib              0x0000000101b7a91d oak::server_t<atomic_saving::atomic_saving_thread_t, std::__1::shared_ptr<atomic_saving::atomic_saving_t>, bool>::server_t(unsigned long)::runner_t::server(void*) + 9
    4   libsystem_pthread.dylib         0x00007fffa834693b _pthread_body + 180
    5   libsystem_pthread.dylib         0x00007fffa8346887 _pthread_start + 286
    6   libsystem_pthread.dylib         0x00007fffa834608d thread_start + 13
    
    Thread 22:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa8346621 _pthread_wqthread + 1426
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 23:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa8346621 _pthread_wqthread + 1426
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 24:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa834648e _pthread_wqthread + 1023
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 25:
    0   libsystem_kernel.dylib          0x00007fffa825c44e __workq_kernreturn + 10
    1   libsystem_pthread.dylib         0x00007fffa8346621 _pthread_wqthread + 1426
    2   libsystem_pthread.dylib         0x00007fffa834607d start_wqthread + 13
    
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0xbaddeede34a3bead  rbx: 0x0000608000e180b0  rcx: 0x00006ede34a3bea8  rdx: 0x001dffffad9d0be1
      rdi: 0x000061800087b900  rsi: 0x0000000000000000  rbp: 0x00007fff5ebfe750  rsp: 0x00007fff5ebfe750
       r8: 0x0000000000000001   r9: 0x0000000000000001  r10: 0x00007fffad9d0d98  r11: 0x000060800009c2d0
      r12: 0x00007fff5ebfe7d0  r13: 0x00007fff910b3195  r14: 0x000061800087b900  r15: 0x0000000000000000
      rip: 0x00007fffa7838f31  rfl: 0x0000000000010202  cr2: 0x00006ede34a3bec8
      
    Logical CPU:     2
    Error Code:      0x00000004
    Trap Number:     14
    
    <SNIP>
    
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 861
        thread_create: 0
        thread_set_state: 0
    
    VM Region Summary:
    ReadOnly portion of Libraries: Total=380.0M resident=0K(0%) swapped_out_or_unallocated=380.0M(100%)
    Writable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)
     
                                      VIRTUAL   REGION 
    REGION TYPE                          SIZE    COUNT (non-coalesced) 
    ===========                       =======  ======= 
    Accelerate framework                 384K        4 
    Activity Tracing                     256K        2 
    CG backing stores                   20.2M        4 
    CG image                             968K       57 
    CoreAnimation                       67.6M       51 
    CoreData Object IDs                 4100K        3 
    CoreUI image data                   4156K       26 
    CoreUI image file                    200K        7 
    Foundation                            32K        3 
    Image IO                            1220K       19 
    JS JIT generated code              128.0M        5 
    JS JIT generated code (reserved)   896.0M        2         reserved VM address space (unallocated)
    Kernel Alloc Once                      8K        2 
    MALLOC                             643.2M       86 
    MALLOC guard page                     48K       10 
    Memory Tag 242                        12K        2 
    Memory Tag 251                        92K        4 
    SQLite page cache                    640K        9 
    STACK GUARD                         56.1M       27 
    Stack                               20.7M       27 
    VM_ALLOCATE                          428K       30 
    WebKit Malloc                       18.0M       37 
    __DATA                              39.1M      397 
    __GLSLBUILTINS                      2588K        2 
    __IMAGE                              528K        2 
    __LINKEDIT                         123.4M       43 
    __TEXT                             256.6M      392 
    __UNICODE                            556K        2 
    mapped file                        276.6M       84 
    shared memory                       16.4M       15 
    ===========                       =======  ======= 
    TOTAL                                2.5G     1324 
    TOTAL, minus reserved VM space       1.6G     1324 
    
    Model: MacBookPro11,4, BootROM MBP114.0184.B00, 4 processors, Intel Core i7, 2.8 GHz, 16 GB, SMC 2.29f24
    Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.21.171.133.1a2)
    Bluetooth: Version 5.0.5f3, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en0
    Serial ATA Device: APPLE SSD SM1024G, 1 TB
    USB Device: USB 3.0 Bus
    USB Device: BUP Slim BK
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: Bluetooth USB Host Controller
    USB Device: USB-PS/2 Optical Mouse
    Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
    
  • benny

    benny August 9th, 2018 @ 12:24 PM

    Would it be possible to send me the examples via “Help ▸ Send Feedback”?

    If not, then please try again with the next update of MailMate. I've fixed a minor issue which might also help track down the bug.

  • Nick Vahalik

    Nick Vahalik September 11th, 2018 @ 01:01 PM

    Still an issue in r5523.

    Is there anything else I can do to assist in getting this resolved?

  • benny

    benny September 11th, 2018 @ 01:05 PM

    It would be nice with an example via “Help > Send Feedback”. I would, at least, need the email header as seen when showing the raw message (see the View menu). Then I can try to reproduce it.

  • Nick Vahalik

    Nick Vahalik September 11th, 2018 @ 01:58 PM

    1. The contact doesn't appear to load properly. Unlike my other contacts, when I type in this contact's email address, the name doesn't show up next to the contact like it does for the others (it acts like an "unknown" contact).
    2. This happens during message composition. Raw message appears to be blank.
    3. Actually, while #2 is true, if I right-click on the contact elsewhere in the application, it also does this.

    While playing around, I noticed the following log entires in Console just before the crash:

    error 08:56:46.742098 -0500 MailMate "Error returned from daemon: "
    error 08:56:46.743288 -0500 MailMate "Error returned from daemon: "
    error 08:56:46.768801 -0500 MailMate warning: dynamic accessors failed to find @property implementation for 'linkId' for entity ABCDContact while resolving selector 'linkId' on class 'ABCDContact'. Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    error 08:56:46.768858 -0500 MailMate warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDContact while resolving selector 'uniqueId' on class 'ABCDContact'. Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    error 08:56:46.772877 -0500 MailMate warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDEmailAddress while resolving selector 'uniqueId' on class 'ABCDEmailAddress'. Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    error 08:56:46.772920 -0500 MailMate warning: dynamic accessors failed to find @property implementation for 'label' for entity ABCDEmailAddress while resolving selector 'label' on class 'ABCDEmailAddress'. Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    error 08:56:46.772973 -0500 MailMate warning: dynamic accessors failed to find @property implementation for 'address' for entity ABCDEmailAddress while resolving selector 'address' on class 'ABCDEmailAddress'. Did you remember to declare it @dynamic or @synthesized in the @implementation ?

  • benny

    benny September 11th, 2018 @ 02:03 PM

    With “Show Raw Message” I was thinking of the email in which the address appeared and you used “Add to Contacts...”? Using that I should be able to create the same entry in my Contacts for testing.

  • Nick Vahalik
  • benny

    benny September 12th, 2018 @ 08:53 AM

    I'm afraid this didn't help me. There was nothing “suspicious” about this header which might have triggered a bug and I also couldn't reproduce it.

    Try enabling this in the Terminal window:

    defaults write com.freron.MailMate MmDebugMenuItemsForAddress -bool YES
    

    Then download this update: https://updates.mailmate-app.com/archives/MailMate_r5524.tbz

    Launch from a Terminal window, reproduce the crash, and then send me the output.

    Thanks in advance!

    The name-less completion in the Composer is probably a hint, but that also didn't happen for me. The contact did have a name and I assume it also does for you in the Contacts app.

  • Nick Vahalik

    Nick Vahalik September 12th, 2018 @ 01:51 PM

    I didn't reckon that it would.

    I noticed in the MM "Address panel" that there is a duplicate contact (at least, by name) for this user. I am not sure where this address panel gets populated from

    Here is the output:

    Warning: Decoding empty text body for id 230549
    CoreData: warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDInfo while resolving selector 'uniqueId' on class 'ABCDInfo'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDContact while resolving selector 'uniqueId' on class 'ABCDContact'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDEmailAddress while resolving selector 'uniqueId' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'address' for entity ABCDEmailAddress while resolving selector 'address' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'label' for entity ABCDEmailAddress while resolving selector 'label' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'isPrimary' for entity ABCDEmailAddress while resolving selector 'isPrimary' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'orderingIndex' for entity ABCDEmailAddress while resolving selector 'orderingIndex' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'serialNumber' for entity ABCDAddressBookSource while resolving selector 'serialNumber' on class 'ABCDAddressBookSource'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    2018-09-12 08:35:10.896 MailMate[23203:2317312] MenuItemsForAddress: {
        emailAddress = "rrig@gmail.com";
        name = "Ryan R";
    }
    2018-09-12 08:35:10.896 MailMate[23203:2317312] Blacklist items: rrig@gmail.com
    2018-09-12 08:35:10.896 MailMate[23203:2317312] ContactIdentifierForIdentity: {
        emailAddress = "rrig@gmail.com";
        name = "Ryan R";
    }
    CoreData: warning: dynamic accessors failed to find @property implementation for 'linkId' for entity ABCDContact while resolving selector 'linkId' on class 'ABCDContact'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDContact while resolving selector 'uniqueId' on class 'ABCDContact'.  Did you remember to declare it @dynami
    c or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'uniqueId' for entity ABCDEmailAddress while resolving selector 'uniqueId' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'label' for entity ABCDEmailAddress while resolving selector 'label' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    CoreData: warning: dynamic accessors failed to find @property implementation for 'address' for entity ABCDEmailAddress while resolving selector 'address' on class 'ABCDEmailAddress'.  Did you remember to declare it @dynamic or @synthesized in the @implementation ?
    2018-09-12 08:35:10.915 MailMate[23203:2317312]  Result: 1D39DB34-58F9-4942-B033-BB00360890C1:ABPerson
    [1]    23203 segmentation fault  /Applications/MailMate.app/Contents/MacOS/MailMate
    

    The stack trace in the Error Reporting window was different, too. It appears to be segfaulting in a different spot:

    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 0x000016a9902fbec0
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Segmentation fault: 11
    Termination Reason:    Namespace SIGNAL, Code 0xb
    Terminating Process:   exc handler [0]
    
    VM Regions Near 0x16a9902fbec0:
        CoreData Object IDs    0000000139c3e000-0000000139c3f000 [    4K] ---/rwx SM=NUL  
    --> 
        JS JIT generated code  00002a4ff2000000-00002a4ff2001000 [    4K] ---/rwx SM=NUL  
    
    Application Specific Information:
    objc_msgSend() selector name: respondsToSelector:
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libobjc.A.dylib                 0x00007fff9027c05d objc_msgSend + 29
    1   com.apple.Foundation            0x00007fff7cdd8cde _NSDescriptionWithStringProxyFunc + 49
    2   com.apple.CoreFoundation        0x00007fff7b38e406 __CFStringAppendFormatCore + 10566
    3   com.apple.CoreFoundation        0x00007fff7b38ba91 _CFStringCreateWithFormatAndArgumentsAux2 + 257
    4   com.apple.CoreFoundation        0x00007fff7b4c9d48 _CFLogvEx2Predicate + 136
    5   com.apple.CoreFoundation        0x00007fff7b439f4d _CFLogvEx3 + 477
    6   com.apple.Foundation            0x00007fff7ce715c5 _NSLogv + 117
    7   com.apple.Foundation            0x00007fff7ce5c74e NSLog + 152
    8   com.freron.MailMate             0x0000000107afd81c ContactIdentifierForIdentity(NSDictionary*) + 493
    9   com.freron.MailMate             0x0000000107afe0eb MenuItemsForAddress(NSDictionary*) + 1541
    10  com.freron.MailMate             0x0000000107bb29ab -[OakCompletionTokenField tokenField:menuForRepresentedObject:] + 1590
    11  com.apple.AppKit                0x00007fff79718eab -[NSTokenAttachmentCell menu] + 102
    12  com.apple.AppKit                0x00007fff79719698 -[NSTokenAttachmentCell trackMouse:inRect:ofView:atCharacterIndex:untilMouseUp:] + 898
    13  com.apple.AppKit                0x00007fff796f130b -[NSTextView(NSPrivate) _trackAttachmentClick:characterIndex:glyphIndex:attachmentCell:] + 570
    14  com.apple.AppKit                0x00007fff7971ce3a -[NSTokenTextView rightMouseDown:] + 165
    15  com.apple.AppKit                0x00007fff797ccc10 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6458
    16  com.apple.AppKit                0x00007fff797caf0a -[NSWindow(NSEventRouting) sendEvent:] + 541
    17  com.freron.MailMate.OakAppKit   0x0000000107f07751 -[OakDeleteKeyWindow sendEvent:] + 42
    18  com.apple.AppKit                0x00007fff7964fe7e -[NSApplication(NSEvent) sendEvent:] + 3190
    19  com.apple.AppKit                0x00007fff78eca427 -[NSApplication run] + 1002
    20  com.apple.AppKit                0x00007fff78e94e0e NSApplicationMain + 1237
    21  com.freron.MailMate             0x0000000107b2e0da main + 617
    22  libdyld.dylib                   0x00007fff90b70235 start + 1
    
  • Nick Vahalik

    Nick Vahalik September 12th, 2018 @ 02:13 PM

    Hm. Seems that it is now working.

    You were right that the unformatted email was a clue.

    I received an email with this as the From:

    From: "Guilty Party :: 1st Time" <gparty@1sttime.com>
    

    However, if I click on this address and load it into Address book, I cannot actually find that address anywhere in my address book until I reload. Screenshot of the offender is attached.

    What's really interesting is that exporting that contact yields the broken.vcf file. However, there is a working contact which exports the email address.

    So it looks like the double colon :: is causing some sort of ABDB issue?

  • Nick Vahalik

    Nick Vahalik September 12th, 2018 @ 02:16 PM

    Whoops. Here is the aforementioned screenshot.

    Probably also should mention that removing that address book entry causes everything to work OK.

  • Nick Vahalik

    Nick Vahalik September 12th, 2018 @ 02:22 PM

    Was able to just confirm it again by adding :: to another contact already in my address book. It causes the application to crash for that user, too.

    1. Create a contact with first name Test :: and last name User. Email address test@test.com.
    2. Open MM. Compose a new message. Type and autocomplete test@test.com. Right click on email and click "add to contacts".
    3. Right click on contact again. Application will crash.

    Removing the entry from Contacts resolves the crash.

  • benny

    benny September 12th, 2018 @ 07:56 PM

    • State changed from “new” to “cantreproduce”

    I'm still not getting the crash, but I suspect that might be because we are on different macOS versions. I do see the issue with adding :: items to the address book resulting in semi-empty entries. I'll see if that is caused by MailMate or the Contacts framework.

  • Nick Vahalik

    Nick Vahalik September 12th, 2018 @ 09:37 PM

    Thanks benny,

    Weird that you are having issues with this. I did open a ticket with Apple since it's clear that in Sierra, at least, there is some bug in how they are handling the exports of contacts with '::' in them.

  • benny

    benny September 13th, 2018 @ 08:53 AM

    Great. I've fixed the issue of the missing name parts.

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