Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Trying to view a multi-part message in MIME format crashes MailMate

#2783

Trying to view a multi-part message in MIME format triggers a crash of MailMate (5779).

I can provide the crash log and the mail message that triggers the crash.

__

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

Date/Time: 2021-03-19 21:17:48.304 +0100
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Anonymous UUID: 669DA4A9-E8FA-FF48-7C13-E2073A1EB00C

Sleep/Wake UUID: 7CB3970E-95A8-4FF6-AD9D-6A0EAB715426

Time Awake Since Boot: 18000 seconds
Time Since Wake: 8100 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000170e00198726
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x170e00198726:
GPU Carveout (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL reserved VM address space (unallocated) --> MALLOC_NANO 600000000000-600008000000 [128.0M] rw-/rwx SM=ALI

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00000001a4640cec pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001a4671c24 pthread_kill + 292
2 libsystem_c.dylib 0x00000001a45b9864 abort + 104
3 com.freron.MailMate 0x00000001028ac73c query::query_coalescing_t::~query_coalescing_t() + 120
4 com.freron.MailMate 0x00000001028ab808 query::query_coalescing_t::~query_coalescing_t() + 12
5 com.freron.MailMate 0x000000010289d5a8 query::query_t::coalesce_perform_callbacks(oracle_manager_t*) + 304
6 com.freron.MailMate 0x00000001028a0ef0 query::set_query_t::set_msg_ids(boost::container::flat_set<int, std::
1::less, void> const&) + 608
7 com.freron.MailMate 0x0000000102716774 -[MmQuery setBodyParts:] + 136
8 com.freron.MailMate 0x0000000102675cd4 -[MmMessageViewController setSelectedBodyParts:] + 100
9 com.freron.MailMate 0x000000010268dd48 -[MmMessagesOutlineViewController setSelectedBodyParts:] + 200
10 com.freron.MailMate 0x000000010268de1c -[MmMessagesOutlineViewController delayedSetSelectedBodyParts] + 140
11 com.apple.CoreFoundation 0x00000001a47615a8 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 28
12 com.apple.CoreFoundation 0x00000001a48027d4 ___CFXRegistrationPost_block_invoke + 52
13 com.apple.CoreFoundation 0x00000001a4802740 _CFXRegistrationPost + 440
14 com.apple.CoreFoundation 0x00000001a4730090 _CFXNotificationPost + 720
15 com.apple.Foundation 0x00000001a5499650 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
16 com.apple.AppKit 0x00000001a707a2b0 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 244
17 com.apple.AppKit 0x00000001a72a5510 -[NSTableView mouseDown:] + 4984
18 com.apple.AppKit 0x00000001a72a3f88 -[NSOutlineView mouseDown:] + 84
19 com.apple.AppKit 0x00000001a71586dc -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4384
20 com.apple.AppKit 0x00000001a70c89ac -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2444
21 com.apple.AppKit 0x00000001a70c7db4 -[NSWindow(NSEventRouting) sendEvent:] + 352
22 com.freron.MailMate 0x00000001027c15f4 -[OakDeleteKeyWindow sendEvent:] + 68
23 com.apple.AppKit 0x00000001a70c6b5c -[NSApplication(NSEvent) sendEvent:] + 2512
24 com.apple.AppKit 0x00000001a739646c -[NSApplication _handleEvent:] + 76
25 com.apple.AppKit 0x00000001a6f35088 -[NSApplication run] + 640
26 com.apple.AppKit 0x00000001a6f06804 NSApplicationMain + 1064
27 com.freron.MailMate 0x00000001026e8f3c main + 820
28 libdyld.dylib 0x00000001a468df34 start + 4

Thread 1:: Dispatch queue: com.freron.server-background
0 libsystem_kernel.dylib 0x00000001a4638ce8 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001a4639098 mach_msg + 76
2 com.apple.CoreFoundation 0x00000001a476ce98 CFRunLoopServiceMachPort + 380
3 com.apple.CoreFoundation 0x00000001a476b36c __CFRunLoopRun + 1216
4 com.apple.CoreFoundation 0x00000001a476a740 CFRunLoopRunSpecific + 600
5 com.freron.MailMate 0x00000001029a90c8 connection_t::wait_for_select(bool, bool) + 332
6 com.freron.MailMate 0x00000001029c9914 int connection_t::read<std::
1::back_insert_iterator, std::__1::allocator > > >(std::__1::back_insert_iterator, std::__1::allocator > >, bool, int) + 364
7 com.freron.MailMate 0x00000001029bae6c imap_t::read_response() + 996
8 com.freron.MailMate 0x00000001029b0700 imap_t::run_action() + 5088
9 com.freron.MailMate 0x00000001029aa508 connection_t::run() + 932
10 com.freron.MailMate 0x00000001029ae1e8 invocation function for block in connection::run_in_background(std::__1::shared_ptr, connection_callbacks_t*) + 76
11 libdispatch.dylib 0x00000001a44c38bc dispatch_call_block_and_release + 32
12 libdispatch.dylib 0x00000001a44c5420 dispatch_client_callout + 20
13 libdispatch.dylib 0x00000001a44c879c _dispatch_continuation_pop + 416
14 libdispatch.dylib 0x00000001a44c7ec4 _dispatch
async_redirect_invoke + 592
15 libdispatch.dylib 0x00000001a44d5fac _dispatch
root_queue_drain + 356
16 libdispatch.dylib 0x00000001a44d67a4 dispatch_worker_thread2 + 116
17 libsystem_pthread.dylib 0x00000001a466e024 _pthread
wqthread + 216
18 libsystem_pthread.dylib 0x00000001a466cd94 start_wqthread + 8

Reported by Stefan Dorscht · March 19th, 2021 @ 08:19 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    I've noticed the crash reports for r5779 and I would very much like to be able to reproduce it. Maybe best if you first archive it using “Compress” in the Finder and then attach it to an email to me.

    March 20th, 2021 @ 09:06 AM

  2. Stefan Dorscht
    Stefan Dorscht

    Done. :-)

    Thanks for the ultrafast response...

    March 20th, 2021 @ 10:39 AM

  3. benny
    benny
    • State changed from new to reproduced

    March 20th, 2021 @ 03:48 PM

  4. benny
    benny
    • State changed from reproduced to fixcommitted

    March 20th, 2021 @ 03:57 PM

  5. Stefan Dorscht
    Stefan Dorscht

    Resolved!
    With the speed of light...
    Hats off!

    March 20th, 2021 @ 10:14 PM

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.