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.

Regular expression in messageVerifications.plist causing crash

#3458

I'm trying to set up a custom message verification, and trying to get the syntax correct for the regular expression. As I play around trying to get the right syntax, here's a sample that causes mailmate to crash.

 verifications = (
        {
            title = "Sending work email from personal address?";
            details = "You are possibly sending a work email from a personal address.";
            conditions = "#recipient ~ example\\.edu and from !~ 'example\\.edu'";

        }
    );

Here's some of the crash report:


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

Date/Time:             2026-02-09 11:20:12.8115 -0500
OS Version:            macOS 15.7.1 (24G231)
Report Version:        12
Anonymous UUID:        03390603-2FA5-E9AE-ADE0-4AA55A1C3875

Sleep/Wake UUID:       03D9FB57-A13E-406C-9251-5F0173B2E3F6

Time Awake Since Boot: 100000 seconds
Time Since Wake:       3202 seconds

System Integrity Protection: disabled

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   MailMate [74333]

Application Specific Information:
abort() called


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x19b30a388 __pthread_kill + 8
1   libsystem_pthread.dylib                0x19b343848 pthread_kill + 296
2   libsystem_c.dylib                      0x19b24c9e4 abort + 124
3   MailMate                               0x1051f8dcc query::query_manager_t::query_for_query_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, query::query_t*) + 140
4   MailMate                               0x105137b70 controller_t::perform_message_verifications(int) + 3712
5   MailMate                               0x104f224fc -[ApplicationDelegate sendMessage:moveParentsToMailbox:window:] + 220
6   MailMate                               0x104f24304 __64-[ApplicationDelegate sendMessages:moveParentsToMailbox:window:]_block_invoke + 52
7   MailMate                               0x104f4f5c8 __64-[MmComposerWindowController saveDocumentWithCompletionHandler:]_block_invoke + 168
8   MailMate                               0x10525e72c invocation function for block in body_part_t::generate_rfc822(generate::options_t, std::__1::shared_ptr<std::__1::vector<char, std::__1::allocator<char>>>, void (body_part_t*, bool) block_pointer) + 224
9   MailMate                               0x10529a260 std::__1::__function::__func<body_part_t::set_text_body_with_attributes(std::__1::shared_ptr<text_body_t>, generate::options_t, void (unsigned long) block_pointer)::$_0, std::__1::allocator<body_part_t::set_text_body_with_attributes(std::__1::shared_ptr<text_body_t>, generate::options_t, void (unsigned long) block_pointer)::$_0>, void (bool, html::result_t const&)>::operator()(bool&&, html::result_t const&) + 960
10  MailMate                               0x1052964cc html::generate(event_callback_t const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::shared_ptr<uuid_provider_t>, std::__1::shared_ptr<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, unsigned long, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, unsigned long>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::shared_ptr<text_body_t>, html::generate_options_t, std::__1::function<void (bool, html::result_t const&)>) + 47680
11  MailMate                               0x10528a880 body_part_t::set_text_body_with_attributes(std::__1::shared_ptr<text_body_t>, generate::options_t, void (unsigned long) block_pointer) + 892
12  MailMate                               0x10525e374 body_part_t::generate_rfc822(generate::options_t, std::__1::shared_ptr<std::__1::vector<char, std::__1::allocator<char>>>, void (body_part_t*, bool) block_pointer) + 336
13  MailMate                               0x104f4f3c4 -[MmComposerWindowController saveDocumentWithCompletionHandler:] + 380
14  MailMate                               0x104f241ac -[ApplicationDelegate sendMessages:moveParentsToMailbox:window:] + 404
15  MailMate                               0x104fb861c -[MmMessageSelectionViewController sendAndMoveParentsOfSelectedMessagesToMailbox:] + 236
16  AppKit                                 0x19f4f0fb0 -[NSApplication(NSResponder) sendAction:to:from:] + 560
17  MailMate                               0x105347bc0 -[OakToolbarItem performSelectorString:data:sender:] + 268
18  MailMate                               0x10534a12c -[OakSegmentedToolbarItem segmentedControlClicked:] + 108
19  AppKit                                 0x19f4f0fb0 -[NSApplication(NSResponder) sendAction:to:from:] + 560
20  AppKit                                 0x19f4f0d50 -[NSControl sendAction:to:] + 72
21  AppKit                                 0x19f4f0c94 __26-[NSCell _sendActionFrom:]_block_invoke + 100
22  AppKit                                 0x19f4f0bbc -[NSCell _sendActionFrom:] + 204
23  AppKit                                 0x19f5be208 -[NSSegmentedCell _sendActionFrom:] + 124
24  AppKit                                 0x19f4ee064 NSControlTrackMouse + 1492
25  AppKit                                 0x19f4eda64 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 144
26  AppKit                                 0x19f5bdb84 -[NSSegmentedCell trackMouse:inRect:ofView:untilMouseUp:] + 744
27  AppKit                                 0x19f4ecd88 -[NSControl mouseDown:] + 492
28  AppKit                                 0x19f4ebbe4 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3664
29  AppKit                                 0x19f477c54 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 492
30  AppKit                                 0x19f4778a0 -[NSWindow(NSEventRouting) sendEvent:] + 288
31  MailMate                               0x1050f9de4 -[OakDeleteKeyWindow sendEvent:] + 68
32  AppKit                                 0x19fcef6c0 -[NSApplication(NSEventRouting) sendEvent:] + 1504
33  AppKit                                 0x19f8ee42c -[NSApplication _handleEvent:] + 60
34  AppKit                                 0x19f344c0c -[NSApplication run] + 520
35  MailMate                               0x10500fc98 main + 880
36  dyld                                   0x19afa2b98 start + 6076

Reported by Stephen Chong · February 9th, 2026 @ 06:15 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

No comments yet.

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.