GNU bug report logs - #34762
26.1.92; objc[27300]: Invalid or prematurely-freed autorelease pool 0x1040021e0.

Previous Next

Package: emacs;

Reported by: Caroptions Caroptions <caroptions <at> hotmail.com>

Date: Tue, 5 Mar 2019 21:17:01 UTC

Severity: normal

Found in version 26.1.92

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

Bug is archived. No further changes may be made.

Full log


Message #11 received at 34762 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Caroptions Caroptions <caroptions <at> hotmail.com>
Cc: "34762 <at> debbugs.gnu.org" <34762 <at> debbugs.gnu.org>
Subject: Re: bug#34762: Acknowledgement (26.1.92; objc[27300]: Invalid or
 prematurely-freed autorelease pool 0x1040021e0.)
Date: Mon, 18 Mar 2019 12:09:26 +0000
On Fri, Mar 15, 2019 at 08:55:49PM +0000, Caroptions Caroptions wrote:
> The bug reproduced on any compiled emacs.
> 
> 26.1.92 has it, latest master branch has it... Do not understand why
> nobody else hit it as yet ..
> 
> I think the problem somehow related to NSAutoreleasePool and
> pthreads : https://kenji.sx/posts/nsautoreleasepooldebian

Hi, thanks for reporting this. I didn’t get the previous email for
some reason, so I missed it.

This is an odd one. I don’t think it has anything to do with pthreads,
but I don’t really understand what’s going on. My best guess is that
somehow the autorelease pools are being drained out of order. I don’t
know why using tramp would cause that to happen.

One solution would be to remove the pool from ns_update_menubar
completely, but I assume it’s there for a good reason.
-- 
Alan Third




This bug report was last modified 4 years and 347 days ago.

Previous Next


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