unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Helm <nick@tenpoint.co.nz>
To: Alan Third <alan@idiocy.org>
Cc: emacs-devel@gnu.org
Subject: Re: bug#26323: 25.1; Closing frames (in fullscreen) under Mac OS cause immediate crash
Date: Mon, 19 Mar 2018 13:37:36 +1300	[thread overview]
Message-ID: <m27eq8rjcf.fsf@tenpoint.co.nz> (raw)
In-Reply-To: <20180318201416.GA7641@breton.holly.idiocy.org> (Alan Third's message of "Sun, 18 Mar 2018 20:14:16 +0000")

On Sun, 18 Mar 2018 at 20:14:16 +0000, Alan Third wrote:

> If anyone is able to provide a backtrace for either emacs 26 or the
> master branch crashing, that would be helpful.

I can't reproduce this using a current build on macOS HS (either emacs-26 or
master), but I can with a prebuilt download from emacsformacosx.com. The
emacs-26 branch (dated 2018.01.23) and master (dated 2018.02.22) crash
every time. I don't know what system these were built on.

Here's a backtrace from 27.0.50, if it's useful:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff7fb6fe3e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff7fcae150 pthread_kill + 333
2   libsystem_c.dylib             	0x00007fff7fa7e8fe raise + 26
3   Emacs-x86_64-10_9             	0x00000001000bdc11 terminate_due_to_signal + 161
4   Emacs-x86_64-10_9             	0x00000001000da9c3 emacs_abort + 19
5   Emacs-x86_64-10_9             	0x00000001001be94c ns_term_shutdown + 124
6   Emacs-x86_64-10_9             	0x00000001000bddf5 shut_down_emacs + 261
7   Emacs-x86_64-10_9             	0x00000001000bdbd6 terminate_due_to_signal + 102
8   Emacs-x86_64-10_9             	0x00000001000dc2f6 deliver_fatal_thread_signal + 134
9   Emacs-x86_64-10_9             	0x00000001000dd6d7 handle_sigsegv + 167
10  libsystem_platform.dylib      	0x00007fff7fca1f5a _sigtramp + 26
11  ???                           	000000000000000000 0 + 0
12  Emacs-x86_64-10_9             	0x00000001001c8504 -[EmacsView drawRect:] + 84
13  com.apple.AppKit              	0x00007fff55f9dc21 _NSViewDrawRect + 83
14  com.apple.AppKit              	0x00007fff55836b38 -[NSView _drawRect:clip:] + 1819
15  com.apple.AppKit              	0x00007fff5587ef62 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1735
16  com.apple.AppKit              	0x00007fff5587f42f -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2964
17  com.apple.AppKit              	0x00007fff5587f42f -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2964
18  com.apple.AppKit              	0x00007fff55834a52 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 938
19  com.apple.AppKit              	0x00007fff558341db -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 327
20  com.apple.AppKit              	0x00007fff55f9f1d8 -[NSView _oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2051
21  com.apple.AppKit              	0x00007fff55833261 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 253
22  com.apple.AppKit              	0x00007fff5582f4b8 -[NSView displayIfNeeded] + 1581
23  com.apple.AppKit              	0x00007fff557b9dc1 -[NSThemeFrame handleSetFrameCommonRedisplay] + 281
24  com.apple.AppKit              	0x00007fff557b1a1d -[NSWindow _setFrameCommon:display:stashSize:] + 4103
25  com.apple.AppKit              	0x00007fff557b0a09 -[NSWindow _setFrame:display:allowImplicitAnimation:stashSize:] + 222
26  com.apple.AppKit              	0x00007fff557b0924 -[NSWindow setFrame:display:] + 67
27  Emacs-x86_64-10_9             	0x00000001001ca17a -[EmacsWindow setFrame:display:] + 74
28  com.apple.AppKit              	0x00007fff55d71cd2 -[_NSWindowExitFullScreenTransitionController setupWindowForAfterFullScreenExit] + 282
29  com.apple.AppKit              	0x00007fff5605a90c -[_NSExitFullScreenTransitionController start] + 430
30  com.apple.AppKit              	0x00007fff55ad7d63 -[NSWindow(NSWindowTabbing) _doTabbedWindowCleanupForOrderOut] + 271
31  com.apple.AppKit              	0x00007fff55fc0f44 -[NSWindow _finishClosingWindow] + 73
32  com.apple.AppKit              	0x00007fff55961264 -[NSWindow _close] + 378
33  Emacs-x86_64-10_9             	0x00000001001bad9c x_free_frame_resources + 300
34  Emacs-x86_64-10_9             	0x00000001001bae3a x_destroy_window + 106
35  Emacs-x86_64-10_9             	0x000000010000f93f delete_frame + 1295
36  Emacs-x86_64-10_9             	0x0000000100142ca3 funcall_subr + 83
37  Emacs-x86_64-10_9             	0x0000000100142275 Ffuncall + 773
38  Emacs-x86_64-10_9             	0x0000000100141bd1 Fapply + 145
39  Emacs-x86_64-10_9             	0x000000010013e7a1 eval_sub + 2449
40  Emacs-x86_64-10_9             	0x000000010013e98d Fif + 93
41  Emacs-x86_64-10_9             	0x000000010013e3ca eval_sub + 1466
42  Emacs-x86_64-10_9             	0x000000010014326d funcall_lambda + 989
43  Emacs-x86_64-10_9             	0x0000000100142215 Ffuncall + 677
44  Emacs-x86_64-10_9             	0x0000000100141bd1 Fapply + 145
45  Emacs-x86_64-10_9             	0x0000000100142ca3 funcall_subr + 83
46  Emacs-x86_64-10_9             	0x0000000100142275 Ffuncall + 773
47  Emacs-x86_64-10_9             	0x000000010018359b exec_byte_code + 1771
48  Emacs-x86_64-10_9             	0x0000000100142215 Ffuncall + 677
49  Emacs-x86_64-10_9             	0x000000010013b8b6 Ffuncall_interactively + 70
50  Emacs-x86_64-10_9             	0x0000000100142ca3 funcall_subr + 83
51  Emacs-x86_64-10_9             	0x0000000100142275 Ffuncall + 773
52  Emacs-x86_64-10_9             	0x000000010013d04b Fcall_interactively + 6011
53  Emacs-x86_64-10_9             	0x0000000100142d92 funcall_subr + 322
54  Emacs-x86_64-10_9             	0x0000000100142275 Ffuncall + 773
55  Emacs-x86_64-10_9             	0x000000010018359b exec_byte_code + 1771
56  Emacs-x86_64-10_9             	0x0000000100142215 Ffuncall + 677
57  Emacs-x86_64-10_9             	0x000000010014297d call1 + 45
58  Emacs-x86_64-10_9             	0x00000001000c1c1d command_loop_1 + 1981
59  Emacs-x86_64-10_9             	0x0000000100140937 internal_condition_case + 87
60  Emacs-x86_64-10_9             	0x00000001000d2460 command_loop_2 + 48
61  Emacs-x86_64-10_9             	0x00000001001401ee internal_catch + 78
62  Emacs-x86_64-10_9             	0x00000001000c0b1e command_loop + 158
63  Emacs-x86_64-10_9             	0x00000001000c0a30 recursive_edit_1 + 112
64  Emacs-x86_64-10_9             	0x00000001000c0c65 Frecursive_edit + 229
65  Emacs-x86_64-10_9             	0x00000001000bf83a main + 6618
66  libdyld.dylib                 	0x00007fff7fa20115 start + 1






  reply	other threads:[~2018-03-19  0:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16  0:54 bug#26323: 25.1; Closing frames (in fullscreen) under Mac OS cause immediate crash Matthew Bauer
2018-03-16 10:47 ` Alan Third
2018-03-16 18:12   ` David Reitter
2018-03-18 11:15     ` Alan Third
2018-03-18 11:17       ` David Reitter
2018-03-18 11:30         ` Alan Third
2018-03-18 18:14         ` John Wiegley
2018-03-18 20:14           ` Alan Third
2018-03-19  0:37             ` Nick Helm [this message]
2018-03-19 12:29               ` Alan Third
2018-03-19  2:05       ` Matthew Bauer
2018-03-19 12:23         ` Alan Third
2018-03-20  1:05           ` John Wiegley
  -- strict thread matches above, loose matches on Subject: below --
2018-07-10 20:52 Noah Sussman
2018-07-12 20:51 ` Alan Third
2018-07-13  2:16 ` Radon Rosborough
2018-07-13 20:25   ` Noah Sussman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27eq8rjcf.fsf@tenpoint.co.nz \
    --to=nick@tenpoint.co.nz \
    --cc=alan@idiocy.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).