emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#23462: closed (25.0.93; Crash on OS X when suspend


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23462: closed (25.0.93; Crash on OS X when suspending main frame)
Date: Mon, 16 May 2016 18:46:02 +0000

Your message dated Mon, 16 May 2016 20:45:12 +0200
with message-id <address@hidden>
and subject line Re: [PATCH] Block input while minimizing on NS (bug#23462)
has caused the debbugs.gnu.org bug report #23462,
regarding 25.0.93; Crash on OS X when suspending main frame
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23462: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23462
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.93; Crash on OS X when suspending main frame Date: Thu, 5 May 2016 23:25:06 +0200
Emacs crashes when using the suspend-frame command (bound
to C-z by default) on the main frame.  It works correctly when the frame
is minimized by clicking on the GUI button.

Recipe: Start emacs -Q; type C-z; Emacs crashes with:
Fatal error 11: Segmentation faultAbort trap: 6

Partial crash dump from OS X console follows.  Please let me know if I can
be of further assistance.

Thanks in advance and best regards,
ICB


Process:               Emacs-x86_64-10_9 [11397]
Path:                  /Users/USER/*/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9
Identifier:            org.gnu.Emacs
Version:               Version 25.0.93 (9.0)
Code Type:             X86-64 (Native)
Parent Process:        bash [6662]
Responsible:           Terminal [319]
User ID:               501

Date/Time:             2016-05-05 23:11:24.931 +0200
OS Version:            Mac OS X 10.11.4 (15E65)
Report Version:        11
Anonymous UUID:        12F2E9FF-07EA-3C6C-2998-78FF89BB8F8C

Sleep/Wake UUID:       C53CD2D3-8D26-403E-BC4F-5F9D2B5AFC48

Time Awake Since Boot: 200000 seconds
Time Since Wake:       5200 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000010

VM Regions Near 0x10:
--> 
    __TEXT                 0000000100000000-000000010020d000 [ 2100K] r-x/rwx 
SM=COW  /Users/USER/*/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff8ac5a8ea __kill + 10
1   Emacs-x86_64-10_9                   0x00000001000b9aa0 
terminate_due_to_signal + 144
2   Emacs-x86_64-10_9                   0x00000001000d62a3 emacs_abort + 19
3   Emacs-x86_64-10_9                   0x00000001001a61ec ns_term_shutdown + 
124
4   Emacs-x86_64-10_9                   0x00000001000b9c65 shut_down_emacs + 261
5   Emacs-x86_64-10_9                   0x00000001000b9a65 
terminate_due_to_signal + 85
6   Emacs-x86_64-10_9                   0x00000001000d7be6 
deliver_fatal_thread_signal + 134
7   Emacs-x86_64-10_9                   0x00000001000d8936 handle_sigsegv + 150
8   libsystem_platform.dylib            0x00007fff98d9f52a _sigtramp + 26
9   ???                                 000000000000000000 0 + 0
10  com.apple.QuartzCore                0x00007fff974c4987 
CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) 
+ 87
11  com.apple.CoreFoundation            0x00007fff995f2067 
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
12  com.apple.CoreFoundation            0x00007fff995f1fd7 
__CFRunLoopDoObservers + 391
13  com.apple.CoreFoundation            0x00007fff995d0ef8 CFRunLoopRunSpecific 
+ 328
14  com.apple.HIServices                0x00007fff84c4571e waitForTransaction + 
204
15  com.apple.AppKit                    0x00007fff92c12b07 
minimizeItemsMaybeBatching + 89
16  com.apple.AppKit                    0x00007fff92c45f29 
-[NSWindow(NSWindow_Theme) _minimizeToDock] + 192
17  Emacs-x86_64-10_9                   0x00000001001a267e x_iconify_frame + 430
18  Emacs-x86_64-10_9                   0x0000000100010587 Ficonify_frame + 135
19  Emacs-x86_64-10_9                   0x0000000100139ec8 Ffuncall + 1016
20  Emacs-x86_64-10_9                   0x00000001001720f5 exec_byte_code + 2277
21  Emacs-x86_64-10_9                   0x0000000100139d4f Ffuncall + 639
22  Emacs-x86_64-10_9                   0x00000001001720f5 exec_byte_code + 2277
23  Emacs-x86_64-10_9                   0x0000000100139d4f Ffuncall + 639
24  Emacs-x86_64-10_9                   0x0000000100133faa 
Ffuncall_interactively + 58
25  Emacs-x86_64-10_9                   0x0000000100139de7 Ffuncall + 791
26  Emacs-x86_64-10_9                   0x00000001001397f8 Fapply + 136
27  Emacs-x86_64-10_9                   0x00000001001347ba Fcall_interactively 
+ 2042
28  Emacs-x86_64-10_9                   0x0000000100139efb Ffuncall + 1067
29  Emacs-x86_64-10_9                   0x00000001001720f5 exec_byte_code + 2277
30  Emacs-x86_64-10_9                   0x0000000100139d4f Ffuncall + 639
31  Emacs-x86_64-10_9                   0x000000010013a57d call1 + 45
32  Emacs-x86_64-10_9                   0x00000001000bd66a command_loop_1 + 1962
33  Emacs-x86_64-10_9                   0x0000000100138946 
internal_condition_case + 70
34  Emacs-x86_64-10_9                   0x00000001000cdf60 command_loop_2 + 48
35  Emacs-x86_64-10_9                   0x00000001001384a6 internal_catch + 54
36  Emacs-x86_64-10_9                   0x00000001000bc58e command_loop + 158
37  Emacs-x86_64-10_9                   0x00000001000bc4a9 recursive_edit_1 + 
105
38  Emacs-x86_64-10_9                   0x00000001000bc6cc Frecursive_edit + 220
39  Emacs-x86_64-10_9                   0x00000001000bb3ae main + 5854
40  libdyld.dylib                       0x00007fff85d4a5ad start + 1


In GNU Emacs 25.0.93.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 
10.9.5 (Build 13F1603))
of 2016-04-22 built on builder10-9.local
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''

Configured features:
NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  type-break-mode: t
  show-paren-mode: t
  recentf-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading /Users/cibrario/.recentf...done
Cleaning up the recentf list...done (0 removed)
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark saved where search started [3 times]
Saving file /Users/cibrario/.emacs...
Wrote /Users/cibrario/.emacs
ls does not support --dired; see ‘dired-use-ls-dired’ for more details.
Deleting...done
user-error: No mark set in this buffer
Undo!

Load-path shadows:
None found.

Features:
(shadow sort flyspell ispell mail-extr emacsbug message format-spec
rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils dired
misearch multi-isearch server printing ps-print ps-def lpr type-break
paren recentf tree-widget wid-edit cus-start cus-load
exec-path-from-shell finder-inf info tex-site package epg-config seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 245607 9453)
(symbols 48 24063 0)
(miscs 40 89 541)
(strings 32 29703 9388)
(string-bytes 1 900638)
(vectors 16 43786)
(vector-slots 8 1414432 167453)
(floats 8 448 88)
(intervals 56 801 63)
(buffers 976 19))



--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] Block input while minimizing on NS (bug#23462) Date: Mon, 16 May 2016 20:45:12 +0200
Hi!

I got OK from John to commit this to the emacs-25 branch. See http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=06cb28ff3f24a29fa140d8af747d10abeed44293 for details.

Everybody -- thanks!

    -- Anders

On Thu, May 12, 2016 at 8:28 PM, Anders Lindgren <address@hidden> wrote:
Hi!

This is good news! I can't recreate the problem here, most likely because I'm still on 10.10. However, it works for Alan and Ivan, who originally reported the problem, has confirmed that the patch corrects the problem.

Unless anybody objects, I will push the patch to "emacs-25" in a day or two. John?

Thanks everybody!

    -- Anders

On Thu, May 12, 2016 at 6:38 PM, Ivan Cibrario Bertolotti <address@hidden> wrote:
Hi,

> On 12 May 2016, at 13:52, Alan Third <address@hidden> wrote:
>
> […]
>
> I've tried this on GNUStep as well and it doesn't break it any more
> than it's already broken.

Thank you so much!  I applied your patch to 25.0.93 and tried it on OS X, both with and without NSTRACE_ENABLED.  It does not count as a formal test, but I can confirm no crashes after minimizing/restoring about 20 times each.  I did it because here Emacs crashed most of the time, but not always, and it seemed to depend on timings.

Best regards,
Ivan




--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]