GNU bug report logs - #38618
27.0.50; Mach port leak on macOS Catalina causing crash

Previous Next

Package: emacs;

Reported by: Phillip Hutchings <phillip <at> iontech.nz>

Date: Sun, 15 Dec 2019 03:44:02 UTC

Severity: normal

Found in version 27.0.50

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 38618-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Phillip Hutchings <phillip <at> iontech.nz>
Cc: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>,
 38618-done <at> debbugs.gnu.org
Subject: Re: bug#38618: 27.0.50; Mach port leak on macOS Catalina causing crash
Date: Sun, 22 Dec 2019 11:49:56 +0000
On Wed, Dec 18, 2019 at 10:29:06AM +1300, Phillip Hutchings wrote:
> On 18/12/2019, at 10:23 AM, Alan Third <alan <at> idiocy.org> wrote:
> > 
> > On Tue, Dec 17, 2019 at 12:49:07PM +0900, YAMAMOTO Mitsuharu wrote:
> >> 
> >> The Mac port (not the NS port in your report) also has the problem of
> >> Mach port leaks in -[NSWindow setRepresentedURL:] on macOS 10.15.  I
> >> think this is a bug in AppKit or some lower-level stuff.  I'll file it
> >> to Apple later.
> >> 
> >> I've installed a workaround into the "work" branch of the repository
> >> of the Mac port:
> >> 
> >>  https://bitbucket.org/mituharu/emacs-mac/commits/19c97087065b7ca64b71f392a453673042e024c6
> > 
> > Thank you for finding the problem!
> > 
> > Can someone on 10.15 try the attached patch, please?
> 
> Just tested the patch against the same revision I was using
> previously (dd162a3f) and the port leak is fixed, thanks!

Thanks everyone. Change pushed to master.
-- 
Alan Third




This bug report was last modified 5 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.