#2253 new
Florian

Crashes with r5600

Reported by Florian | February 7th, 2019 @ 09:41 AM

I've updated to r5600 this morning and had 5+ crashes since then. It sometimes happened when sending a reply, sometimes directly after starting MailMate.

I've sent the crash reports when asked, not sure if there is something else I can do.

I've downgraded to r5594 now, which works flawlessly.

Comments and changes to this ticket

  • benny

    benny February 11th, 2019 @ 02:40 PM

    Thanks for the report. Could you verify that this is still an issue for you with r5603?

  • Florian

    Florian February 11th, 2019 @ 06:53 PM

    I've installed r5603 any will keep you posted.

  • Florian

    Florian February 11th, 2019 @ 07:59 PM

    Unfortunately, it's still crashing and does now on every start. I've sent a few crash reports, not sure if you're seeing them. Let me know if there is something else I can try.

    Here is the call stack of the crashed thread:

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib          0x00007fff74ea523e __pthread_kill + 10
    1   libsystem_pthread.dylib         0x00007fff74f5bc1c pthread_kill + 285
    2   libsystem_c.dylib               0x00007fff74e0e1c9 abort + 127
    3   OakDatabase.dylib               0x0000000105fe065a mm::threading_t::get_sorted_children(int, mm::threading_node_t<std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> > > const*, bool&, bool&) + 1076
    4   com.freron.MailMate             0x0000000105bb0df8 -[MmThreading childrenOfMessage:] + 137
    5   com.freron.MailMate             0x0000000105bb1213 -[MmThreading childAtIndex:ofMessage:] + 92
    6   com.apple.AppKit                0x00007fff45215011 loadItemEntryLazyInfoIfNecessary + 180
    7   com.apple.AppKit                0x00007fff4523c6b7 findAndLoadRowEntryForUnloadedLazyItem + 122
    8   com.apple.AppKit                0x00007fff452155ab -[NSOutlineView rowForItem:] + 123
    9   com.freron.MailMate.OakAppKit   0x0000000105f3ad12 -[NSOutlineView(OakOutlineViewExtensions) setSelectedItems:byExtendingSelection:] + 268
    10  com.freron.MailMate             0x0000000105aeaf43 -[MmMessagesOutlineViewController resort] + 128
    11  com.freron.MailMate             0x0000000105aeb173 -[MmMessagesOutlineViewController didUpdateMsgs:forSpecifier:] + 505
    12  OakDatabase.dylib               0x0000000105feea79 header_oracle_t::perform_coalesced_callbacks(bool) + 121
    13  OakDatabase.dylib               0x0000000105feeb61 header_oracle_t::did_change_header(int) + 95
    14  OakDatabase.dylib               0x0000000105feeb7f header_oracle_t::did_change_header(int) + 125
    15  OakDatabase.dylib               0x0000000106014e3a database_t::_set_flag_state(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 598
    16  OakDatabase.dylib               0x000000010601489a database_t::set_flag_state(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 302
    17  OakDatabase.dylib               0x0000000106096e40 controller_t::set_flag_state(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 110
    18  OakDatabase.dylib               0x000000010609c99e controller_t::change_flags(boost::container::flat_set<int, std::__1::less<int>, boost::container::new_allocator<int> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 120
    19  Controller.dylib                0x0000000105e46505 -[MmMailbox handleEvent:msgIDs:withRule:] + 1384
    20  Controller.dylib                0x0000000105e46b56 -[MmMailbox handleEvent:msgIDs:] + 320
    21  Controller.dylib                0x0000000105e47177 -[MmMailbox didChangeQuery:] + 912
    22  Controller.dylib                0x0000000105e5799b -[MmQuery didAddBodyPartIDs:andRemoveBodyPartIDs:] + 251
    23  Controller.dylib                0x0000000105e58c69 query_callback_t::operator()(std::__1::shared_ptr<boost::container::flat_set<int, std::__1::less<int>, boost::container::new_allocator<int> > >, std::__1::shared_ptr<boost::container::flat_set<int, std::__1::less<int>, boost::container::new_allocator<int> > >) const + 85
    24  Controller.dylib                0x0000000105e58b4e query::query_callback_t<query_callback_t>::did_change(std::__1::shared_ptr<boost::container::flat_set<int, std::__1::less<int>, boost::container::new_allocator<int> > >, std::__1::shared_ptr<boost::container::flat_set<int, std::__1::less<int>, boost::container::new_allocator<int> > >) + 78
    25  OakDatabase.dylib               0x0000000106080de3 query::query_coalescing_t::commit() + 979
    26  OakDatabase.dylib               0x000000010607104a query::destroy_coalescer(oracle_manager_t*) + 139
    27  OakDatabase.dylib               0x000000010601ba09 database::coalesce_t::~coalesce_t() + 39
    28  OakDatabase.dylib               0x0000000105fc2d0d imap_account_t::handle_data(std::__1::shared_ptr<connection_result_t>) + 31373
    29  OakProtocols.dylib              0x00000001065c366a connection_command_t::handle_reply(connection_command_t::result_t const&) + 490
    30  OakProtocols.dylib              0x00000001065c3aed oak::server_t<connection_command_t, std::__1::shared_ptr<connection_t>, connection_command_t::result_t>::master_run() + 151
    31  com.apple.CoreFoundation        0x00007fff47a980f9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    32  com.apple.CoreFoundation        0x00007fff47a9809f __CFRunLoopDoSource0 + 108
    33  com.apple.CoreFoundation        0x00007fff47a7bf4c __CFRunLoopDoSources0 + 195
    34  com.apple.CoreFoundation        0x00007fff47a7b4f3 __CFRunLoopRun + 1226
    35  com.apple.CoreFoundation        0x00007fff47a7add6 CFRunLoopRunSpecific + 467
    36  com.apple.HIToolbox             0x00007fff46d04ab5 RunCurrentEventLoopInMode + 293
    37  com.apple.HIToolbox             0x00007fff46d047eb ReceiveNextEventCommon + 618
    38  com.apple.HIToolbox             0x00007fff46d04568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    39  com.apple.AppKit                0x00007fff44fbf363 _DPSNextEvent + 997
    40  com.apple.AppKit                0x00007fff44fbe102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
    41  com.apple.AppKit                0x00007fff44fb8165 -[NSApplication run] + 699
    42  com.apple.AppKit                0x00007fff44fa78a3 NSApplicationMain + 780
    43  com.freron.MailMate             0x0000000105b630ba main + 617
    44  libdyld.dylib                   0x00007fff74d65ed9 start + 1
    
  • benny

    benny February 11th, 2019 @ 10:35 PM

    Thanks for trying. Could you launch MailMate as follows in a Terminal window and let me know what the output is before the crash:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    Note that the crash happens when a mailbox is synchronized. This likely means that it won't crash if you take the machine offline (but it'll happen as soon as you go online).

    It looks like a mailbox rule changes a flag/tag and this then triggers the message list to be resorted (but something about this results in an invalid action causing the crash).

  • Florian

    Florian February 12th, 2019 @ 11:15 AM

    I'm getting this output on the console right before the crash:

    Warning: Sorted cache size is incorrect (28 != 29)
    Fatal: Sorted cache size is incorrect (28 != 29)
    [1]    23882 abort      /Applications/MailMate.app/Contents/MacOS/MailMate
    
  • Florian

    Florian February 12th, 2019 @ 12:27 PM

    OK, this is getting interesting. I could nail it down to a set of custom rules I'm applying for the INBOX of a specific account. It's basically:

    If "From > Address" is "sender@email.com"
    Then
    Set Tag/Keyword "TEST"
    Set Tag/Keyword "TEST-Sender"
    

    where TEST is mapped to IMAP Keyword TEST and has an icon assigned and TEST-Sender is assigned to IMAP Keyword TEST-Sender.

    Does this make sense to you?

  • Florian

    Florian February 23rd, 2019 @ 08:41 AM

    It's still crashing with r5609.

  • benny

    benny February 27th, 2019 @ 01:14 PM

    Could you try this direct download.

  • Florian
  • benny

    benny February 27th, 2019 @ 02:23 PM

    • State changed from “new” to “fixcommitted”

    Thanks for the update. Keep an eye out for other issues though. I've fixed a somewhat general bug (and performance issue), but it's in complex code and there could be unintended side-effects.

  • benny

    benny May 27th, 2019 @ 01:05 PM

    • State changed from “fixcommitted” to “fixreleased”

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