GNU bug report logs - #59794
29.0.60; NSport segfaults when a fullscreen frame is being closed

Previous Next

Package: emacs;

Reported by: Kai Ma <justksqsf <at> gmail.com>

Date: Sat, 3 Dec 2022 08:22:02 UTC

Severity: normal

Merged with 64147

Found in versions 29.0.60, 30.0.50

Done: Daniel Martín <mardani29 <at> yahoo.es>

Bug is archived. No further changes may be made.

Full log


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

From: Kai Ma <justksqsf <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Po Lu <luangruo <at> yahoo.com>,
 Gerd Möllmann <gerd.moellmann <at> gmail.com>,
 59794 <at> debbugs.gnu.org
Subject: Re: bug#59794: 29.0.60; NSport segfaults when a fullscreen frame is
 being closed)
Date: Sun, 4 Dec 2022 20:45:12 +0800
[Message part 1 (text/plain, inline)]
> On Dec 4, 2022, at 20:21, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> Thanks.  I'm fine with installing this on the release branch, but the
>> comment should be modified to say:
>> 
>>  [resetCursorRects:] can be called from the event loop after the frame
>>  is deleted.  When this happens, emacsframe is NULL.  This means there
>>  is an underlying leak of the EmacsView object!
>> 
>> also, perhaps it should be omitted on master, at least until before
>> Emacs 30 is released, to motivate other (hopefully more knowledgeable)
>> people to provide the necessary information to fix it.
> 
> Will do, thanks.


I took a few liberties here.  Attached is the revised patch.

[0001-Prevent-a-segfault-when-deleting-a-fullscreen-frame-.patch (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]


This bug report was last modified 1 year and 335 days ago.

Previous Next


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