GNU bug report logs - #23065
24.5; OS X 10.11 delete-frame fullscreen frame causes segfault

Previous Next

Package: emacs;

Reported by: Trey Ethan Harris <trey <at> cpan.org>

Date: Sat, 19 Mar 2016 17:23:02 UTC

Severity: normal

Merged with 23395

Found in version 24.5

Fixed in version 25.1

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23065 in the body.
You can then email your comments to 23065 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23065; Package emacs. (Sat, 19 Mar 2016 17:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Trey Ethan Harris <trey <at> cpan.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 19 Mar 2016 17:23:02 GMT) Full text and rfc822 format available.

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

From: Trey Ethan Harris <trey <at> cpan.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; OS X 10.11 delete-frame fullscreen frame causes segfault
Date: Sat, 19 Mar 2016 16:39:36 +0000
[Message part 1 (text/plain, inline)]
To reproduce:

0. Run "Emacs.app/Contents/MacOS/Emacs -Q".
1. Create a second frame (with make-frame or other method)
2. Make the frame fullscreen using the green titlebar fullscreen button
3. Delete the new fullscreen frame using delete-frame or other method
(including clicking the red titlebar close button).

Expected result: Frame deleted, prior frame refocused, Emacs continues
running
Actual result: Frame deleted, then segmentation fault

I have done some additional differential diagnosis that may be helpful:

1. This only occurs with OS X El Capitan (10.11) and later—which
rewrote fullscreen support to support Split View, so I suspect the
new interaction is to blame.
2. I have tested other Cocoa builds of Emacs 24 such as emacsforosx, and
they
also exhibit this behavior. (I have not tested Emacs 25.)
3. I have had others, including non-Emacs users, reproduce the bug, in
one case on an otherwise clean install of OS X.





In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Windowing system distributor `Apple', version 10.3.1404
Configured using:
 `configure --with-ns '--enable-locallisppath=/Library/Application
 Support/Emacs/${version}/site-lisp:/Library/Application
 Support/Emacs/site-lisp''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23065; Package emacs. (Sat, 19 Mar 2016 17:40:01 GMT) Full text and rfc822 format available.

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

From: Saulius Menkevičius <saulius.menkevicius <at> gmail.com>
To: Trey Ethan Harris <trey <at> cpan.org>
Cc: 23065 <at> debbugs.gnu.org
Subject: Re: bug#23065: 24.5;
 OS X 10.11 delete-frame fullscreen frame causes segfault
Date: Sat, 19 Mar 2016 19:39:23 +0200
Hi,

I can confirm I had this on 24.x and that this sequence no longer
crashes emacs 25 (pretest).

-Saulius

Trey Ethan Harris <trey <at> cpan.org> writes:

> To reproduce:
>
> 0. Run "Emacs.app/Contents/MacOS/Emacs -Q".
> 1. Create a second frame (with make-frame or other method)
> 2. Make the frame fullscreen using the green titlebar fullscreen button
> 3. Delete the new fullscreen frame using delete-frame or other method
> (including clicking the red titlebar close button).
>
> Expected result: Frame deleted, prior frame refocused, Emacs continues
> running
> Actual result: Frame deleted, then segmentation fault
>
> I have done some additional differential diagnosis that may be helpful:
>
> 1. This only occurs with OS X El Capitan (10.11) and later—which
> rewrote fullscreen support to support Split View, so I suspect the
> new interaction is to blame.
> 2. I have tested other Cocoa builds of Emacs 24 such as emacsforosx, and
> they
> also exhibit this behavior. (I have not tested Emacs 25.)
> 3. I have had others, including non-Emacs users, reproduce the bug, in
> one case on an otherwise clean install of OS X.
>
>
>
>
>
> In GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
>  of 2015-04-10 on builder10-9.porkrind.org
> Windowing system distributor `Apple', version 10.3.1404
> Configured using:
>  `configure --with-ns '--enable-locallisppath=/Library/Application
>  Support/Emacs/${version}/site-lisp:/Library/Application
>  Support/Emacs/site-lisp''
>
> Important settings:
>   value of $LANG: en_US.UTF-8
>   locale-coding-system: utf-8-unix





Merged 23065 23395. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 28 Apr 2016 15:58:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23065; Package emacs. (Wed, 04 May 2016 19:18:01 GMT) Full text and rfc822 format available.

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

From: Alan Third <alan <at> idiocy.org>
To: Saulius Menkevičius <saulius.menkevicius <at> gmail.com>
Cc: Trey Ethan Harris <trey <at> cpan.org>, 23065 <at> debbugs.gnu.org,
 23395 <at> debbugs.gnu.org
Subject: Re: bug#23065: 24.5;
 OS X 10.11 delete-frame fullscreen frame causes segfault
Date: Wed, 04 May 2016 20:17:52 +0100
Saulius Menkevičius <saulius.menkevicius <at> gmail.com> writes:

> Hi,
>
> I can confirm I had this on 24.x and that this sequence no longer
> crashes emacs 25 (pretest).

I don't get this crash in Emacs 25 either.
-- 
Alan Third




bug marked as fixed in version 25.1, send any further explanations to 23395 <at> debbugs.gnu.org and przemyslaw+emacs <at> kaminski.se (Przemysław Kamiński) Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Wed, 04 May 2016 19:19:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 02 Jun 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 208 days ago.

Previous Next


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