"Mail Quit Unexpectedly" - Every 15 Minutes

Discussion in 'macOS High Sierra (10.13)' started by James.K.Polk, Apr 5, 2018.

  1. James.K.Polk macrumors 6502a

    James.K.Polk

    Joined:
    Aug 31, 2015
    #1
    It's becoming reasonably expected, at this point! Literally happens 10+ times per day. Anyone else having this issue?

    I've tried removing the .plist files, as suggested here (https://appletoolbox.com/2018/01/mail-keeps-crashing-on-macos-high-sierra-fix/) and here (https://swissmacuser.ch/mail-macos-highsierra-crashing-fix-rebuild-envelope-index-files/). Anything else? I don't have that many emails - less than 10,000.

    Here is the error dump, if it means something to someone (unfortunately, it does not to me).

    Process: Mail [8139]
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Identifier: com.apple.mail
    Version: 11.3 (3445.6.18)
    Build Info: Mail-3445006018000000~4
    Code Type: X86-64 (Native)
    Parent Process: ??? [1]
    Responsible: Mail [8139]
    User ID: 501

    Date/Time: 2018-04-05 13:05:53.422 -0500
    OS Version: Mac OS X 10.13.4 (17E199)
    Report Version: 12
    Bridge OS Version: 3.0 (14Y664)
    Anonymous UUID: E8DEB1FF-799F-EBD4-1E95-647B96A74C30

    Sleep/Wake UUID: 10B4706A-6138-4D45-8BBC-2D9063F5A1F3

    Time Awake Since Boot: 77000 seconds
    Time Since Wake: 3300 seconds

    System Integrity Protection: disabled

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

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
    Exception Note: EXC_CORPSE_NOTIFY

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

    VM Regions Near 0x18:
    -->
    __TEXT 0000000103912000-0000000103cd3000 [ 3844K] r-x/rwx SM=COW [ [/Applications/Mail.app/Contents/MacOS/Mail]

    Application Specific Information:
    objc_msgSend() selector name: undoManager


    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 libobjc.A.dylib 0x00007fff5bdbde9d objc_msgSend + 29
    1 com.apple.WebKit 0x00007fff435c982f WebKit::WebViewImpl::clearAllEditCommands() + 39
    2 com.apple.WebKit 0x00007fff4332e6d1 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 127
    3 com.apple.WebKit 0x00007fff435697ec WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 24
    4 com.apple.WebKit 0x00007fff432fbfc5 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 119
    5 com.apple.WebKit 0x00007fff432feb1c IPC::Connection::dispatchOneMessage() + 176
    6 com.apple.JavaScriptCore 0x00007fff3830505f WTF::RunLoop::performWork() + 479
    7 com.apple.JavaScriptCore 0x00007fff38305202 WTF::RunLoop::performWork(void*) + 34
    8 com.apple.CoreFoundation 0x00007fff346eda61 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    9 com.apple.CoreFoundation 0x00007fff347a747c __CFRunLoopDoSource0 + 108
    10 com.apple.CoreFoundation 0x00007fff346d04c0 __CFRunLoopDoSources0 + 208
    11 com.apple.CoreFoundation 0x00007fff346cf93d __CFRunLoopRun + 1293
    12 com.apple.CoreFoundation 0x00007fff346cf1a3 CFRunLoopRunSpecific + 483
    13 com.apple.HIToolbox 0x00007fff339b7d96 RunCurrentEventLoopInMode + 286
    14 com.apple.HIToolbox 0x00007fff339b7b06 ReceiveNextEventCommon + 613
    15 com.apple.HIToolbox 0x00007fff339b7884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
    16 com.apple.AppKit 0x00007fff31c6aa73 _DPSNextEvent + 2085
    17 com.apple.AppKit 0x00007fff32400e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    18 com.apple.AppKit 0x00007fff31c5f885 -[NSApplication run] + 764
    19 com.apple.AppKit 0x00007fff31c2ea72 NSApplicationMain + 804
    20 libdyld.dylib 0x00007fff5c9e5015 start + 1

    Thread 1:
    0 libsystem_kernel.dylib 0x00007fff5cb35a1e __psynch_cvwait + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfe589 _pthread_cond_wait + 732
    2 libc++.1.dylib 0x00007fff5a943d43 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
    3 com.apple.JavaScriptCore 0x00007fff3831a945 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 117
    4 com.apple.JavaScriptCore 0x00007fff3831a830 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 96
    5 com.apple.JavaScriptCore 0x00007fff3831a459 bmalloc::Scavenger::threadRunLoop() + 361
    6 com.apple.JavaScriptCore 0x00007fff3831a1e9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
    7 com.apple.JavaScriptCore 0x00007fff3831a528 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 40
    8 libsystem_pthread.dylib 0x00007fff5ccfd661 _pthread_body + 340
    9 libsystem_pthread.dylib 0x00007fff5ccfd50d _pthread_start + 377
    10 libsystem_pthread.dylib 0x00007fff5ccfcbf9 thread_start + 13

    Thread 2:: com.apple.NSURLConnectionLoader
    0 libsystem_kernel.dylib 0x00007fff5cb2c20a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff5cb2b724 mach_msg + 60
    2 com.apple.CoreFoundation 0x00007fff346d07d5 __CFRunLoopServiceMachPort + 341
    3 com.apple.CoreFoundation 0x00007fff346cfb27 __CFRunLoopRun + 1783
    4 com.apple.CoreFoundation 0x00007fff346cf1a3 CFRunLoopRunSpecific + 483
    5 com.apple.CFNetwork 0x00007fff33817ca8 -[__CoreSchedulingSetRunnable runForever] + 722
    6 com.apple.Foundation 0x00007fff367cd1f8 __NSThread__start__ + 1197
    7 libsystem_pthread.dylib 0x00007fff5ccfd661 _pthread_body + 340
    8 libsystem_pthread.dylib 0x00007fff5ccfd50d _pthread_start + 377
    9 libsystem_pthread.dylib 0x00007fff5ccfcbf9 thread_start + 13

    Thread 3:: com.apple.CFSocket.private
    0 libsystem_kernel.dylib 0x00007fff5cb35cfa __select + 10
    1 com.apple.CoreFoundation 0x00007fff3470a8db __CFSocketManager + 635
    2 libsystem_pthread.dylib 0x00007fff5ccfd661 _pthread_body + 340
    3 libsystem_pthread.dylib 0x00007fff5ccfd50d _pthread_start + 377
    4 libsystem_pthread.dylib 0x00007fff5ccfcbf9 thread_start + 13

    Thread 4:: com.apple.NSEventThread
    0 libsystem_kernel.dylib 0x00007fff5cb2c20a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff5cb2b724 mach_msg + 60
    2 com.apple.CoreFoundation 0x00007fff346d07d5 __CFRunLoopServiceMachPort + 341
    3 com.apple.CoreFoundation 0x00007fff346cfb27 __CFRunLoopRun + 1783
    4 com.apple.CoreFoundation 0x00007fff346cf1a3 CFRunLoopRunSpecific + 483
    5 com.apple.AppKit 0x00007fff31da7fc4 _NSEventThread + 184
    6 libsystem_pthread.dylib 0x00007fff5ccfd661 _pthread_body + 340
    7 libsystem_pthread.dylib 0x00007fff5ccfd50d _pthread_start + 377
    8 libsystem_pthread.dylib 0x00007fff5ccfcbf9 thread_start + 13

    Thread 5:: com.apple.coreanimation.render-server
    0 libsystem_kernel.dylib 0x00007fff5cb2c20a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff5cb2b724 mach_msg + 60
    2 com.apple.QuartzCore 0x00007fff3f9eea16 CA::Render::Server::server_thread(void*) + 870
    3 com.apple.QuartzCore 0x00007fff3f9ee6a6 thread_fun + 25
    4 libsystem_pthread.dylib 0x00007fff5ccfd661 _pthread_body + 340
    5 libsystem_pthread.dylib 0x00007fff5ccfd50d _pthread_start + 377
    6 libsystem_pthread.dylib 0x00007fff5ccfcbf9 thread_start + 13

    Thread 6:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd009 _pthread_wqthread + 1035
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 7:: com.apple.CFNetwork.CustomProtocols
    0 libsystem_kernel.dylib 0x00007fff5cb2c20a mach_msg_trap + 10
    1 libsystem_kernel.dylib 0x00007fff5cb2b724 mach_msg + 60
    2 com.apple.CoreFoundation 0x00007fff346d07d5 __CFRunLoopServiceMachPort + 341
    3 com.apple.CoreFoundation 0x00007fff346cfb27 __CFRunLoopRun + 1783
    4 com.apple.CoreFoundation 0x00007fff346cf1a3 CFRunLoopRunSpecific + 483
    5 com.apple.CFNetwork 0x00007fff33817ca8 -[__CoreSchedulingSetRunnable runForever] + 722
    6 com.apple.Foundation 0x00007fff367cd1f8 __NSThread__start__ + 1197
    7 libsystem_pthread.dylib 0x00007fff5ccfd661 _pthread_body + 340
    8 libsystem_pthread.dylib 0x00007fff5ccfd50d _pthread_start + 377
    9 libsystem_pthread.dylib 0x00007fff5ccfcbf9 thread_start + 13

    Thread 8:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd20e _pthread_wqthread + 1552
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 9:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd009 _pthread_wqthread + 1035
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 10:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd009 _pthread_wqthread + 1035
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 11:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd009 _pthread_wqthread + 1035
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 12:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd20e _pthread_wqthread + 1552
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 13:
    0 libsystem_kernel.dylib 0x00007fff5cb36292 __workq_kernreturn + 10
    1 libsystem_pthread.dylib 0x00007fff5ccfd009 _pthread_wqthread + 1035
    2 libsystem_pthread.dylib 0x00007fff5ccfcbe9 start_wqthread + 13

    Thread 0 crashed with X86 Thread State (64-bit):
    rax: 0x0000000000000008 rbx: 0x0000000107bfd080 rcx: 0x00007f88bec49d70 rdx: 0x0100000000000000
    rdi: 0x00007f88c09126e0 rsi: 0x00007fff32928f88 rbp: 0x00007ffeec2ec360 rsp: 0x00007ffeec2ec348
    r8: 0x0000000000000073 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x00007fff32928f88
    r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x00007fff5bdbde80 r15: 0x0000000106a7e5a0
    rip: 0x00007fff5bdbde9d rfl: 0x0000000000010246 cr2: 0x0000000000000018

    Logical CPU: 4
    Error Code: 0x00000004
    Trap Number: 14
     
  2. dianeoforegon macrumors 6502a

    dianeoforegon

    Joined:
    Apr 26, 2011
    Location:
    Oregon
    #2
    It could have something to do with "System Integrity Protection: disabled". What are you running that requires you to disable SIP?

    I suspect if you tested Mail in a new User it wouldn't crash. Try it.

    CREATE A NEW USER
    Go to System Preferences --> Create a New User in Users & Groups.
    Switch to the New User by logging out under the Apple in the Menu Bar.
    Log into the new User.
    You can skip logging in with an Apple ID. Hit continue then skip.

    Only Apple apps will be in the Dock.
    Go to Applications to open other apps that you want to test.

    Do you still see the issue?
    If no, then the problem is in your User's folder.
     
  3. James.K.Polk thread starter macrumors 6502a

    James.K.Polk

    Joined:
    Aug 31, 2015
    #3
    I can't imagine there are many programs I use requiring disabling SIP - is that a common thing?

    Didn't seem to have the issue with a new user profile - if the issue is in my (main) User folder, how to do I suss it out?
     
  4. SuperMatt macrumors 6502a

    SuperMatt

    Joined:
    Mar 28, 2002
    #4
    I have a user with a similar issue, but it's triggered in an odd way. Whenever she types email addresses, she clicks on the one she wants from the autocomplete list, and instead of typing the next address into the "To:" field, she hits the spacebar (unnecessarily and habitually) before typing another address which will often cause Mail to suddenly quit. She is running MacOS 10.12 - I'm hoping updating her to 10.13 will fix this. If not, does anybody know what might cause this? I've tried to have her stop hitting the spacebar but this should not be happening regardless...
     
  5. BrianBaughn macrumors 603

    BrianBaughn

    Joined:
    Feb 13, 2011
    Location:
    Baltimore, Maryland
    #5
    You should probably create your own thread about that...and not "hijack" this one. BTW using Sierra here and recreating the steps you describe I have no problems.
    --- Post Merged, Jun 6, 2018 ---
    James.K.Polk: In your new User Account did all of the emails load into Mail from the server when you tested? I was thinking it could be a corrupt email but you'd think that would affect the new User Account the same way.
     
  6. SuperMatt macrumors 6502a

    SuperMatt

    Joined:
    Mar 28, 2002
    #6
    Sorry, I didn't mean to hijack your thread. If the problem persists, I'll start a new thread. Have a good evening.
     

Share This Page