Subject: Re: bug#41678: 27.0.91; [macOS] crash, maybe due to frame switching and/or switch input sources from menu bar

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 22 Jan 2021 21:20:52 +0100

Devon Sean McCullough <[email-masked]> writes:

> Seems unlikely to recur but on the off chance this is helpful:
> MacOSX 10.11.6 Emacs 27.0.91 crashed upon
>       1	rapidly flipping between frames
>       2	killing all but one frame
>       3	switching input sources in the Apple menu bar
> unclear whether it crashed after the second or third event.

(I'm going through old bug reports that unfortunately got no response at
the time.)

Have you seen this crash again in more recent versions of Emacs?

> (lldb) thread backtrace
> * thread #1: tid = 0x4c377c7, 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18)
>   * frame #0: 0x00007fff93fa04dd libobjc.A.dylib`objc_msgSend + 29
>     frame #1: 0x000000010b019aa4 Emacs-x86_64-10_10`-[EmacsImage dealloc] + 84
>     frame #2: 0x00007fff93fa7288 libobjc.A.dylib`objc_object::sidetable_release(bool) + 242
>     frame #3: 0x00007fff93fa5b3b libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 477
>     frame #4: 0x00007fff8ecc2bc2 CoreFoundation`_CFAutoreleasePoolPop + 50
>     frame #5: 0x00007fff9637f7ca Foundation`-[NSAutoreleasePool drain] + 153
>     frame #6: 0x00007fff8b7b8e53 AppKit`-[NSApplication run] + 893

I've added Alan to the CCs; perhaps he has some insight here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no