GNU bug report logs - #2465
NS Crash

Previous Next

Packages: ns, emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Wed, 25 Feb 2009 04:30:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.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 2465 in the body.
You can then email your comments to 2465 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2465; Package emacs. (Wed, 25 Feb 2009 04:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Reitter <david.reitter <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 25 Feb 2009 04:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Reitter <david.reitter <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: NS Crash
Date: Tue, 24 Feb 2009 23:20:42 -0500
[Message part 1 (text/plain, inline)]
I can't tell what's happening on the lisp side here (I'm running a lot  
of code), but if you tell me what to look for, I will.
The build I'm using is very recent, with no patches to the redisplay  
code I believe.


Process:         Emacs [22516]
Path:            /Users/dr/Projects/Bazaar-Playground/emacs.cvs/ 
nextstep/Emacs.app/Contents/MacOS/Emacs
Identifier:      org.gnu.Emacs
Version:         Version 23.0.90 (9.0)
Code Type:       X86 (Native)
Parent Process:  launchd [137]

Date/Time:       2009-02-24 23:15:27.317 -0500
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGABRT)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception  
'NSInternalInconsistencyException', reason: '-[EmacsView(0xe87e430)  
lockFocus] failed with window=0xe892b90, windowNumber=-1, [self  
isHiddenOrHasHiddenAncestor]=0'

Thread 0 Crashed:
0   libSystem.B.dylib             	0x9469ce42 __kill + 10
1   org.gnu.Emacs                 	0x000925da fatal_error_signal + 314  
(emacs.c:404)
2   libSystem.B.dylib             	0x9469b2bb _sigtramp + 43
3   ???                           	0xffffffff 0 + 4294967295
4   libSystem.B.dylib             	0x9470f23a raise + 26
5   libSystem.B.dylib             	0x9471b679 abort + 73
6   org.gnu.Emacs                 	0x0016cc45 ns_term_shutdown + 117  
(nsterm.m:4048)
7   org.gnu.Emacs                 	0x0009262f fatal_error_signal + 399  
(emacs.c:389)
8   libSystem.B.dylib             	0x9469b2bb _sigtramp + 43
9   ???                           	0xffffffff 0 + 4294967295
10  libobjc.A.dylib               	0x9499ae3b objc_exception_throw + 40
11  com.apple.CoreFoundation      	0x95774eeb +[NSException  
raise:format:arguments:] + 155
12  com.apple.Foundation          	0x94b8f6a4 -[NSAssertionHandler  
handleFailureInMethod:object:file:lineNumber:description:] + 116
13  com.apple.AppKit              	0x90106a0f -[NSView lockFocus] + 280
14  org.gnu.Emacs                 	0x00167560 ns_update_begin + 48  
(nsterm.m:563)
15  org.gnu.Emacs                 	0x00006d5c Fredraw_frame + 124  
(dispnew.c:3395)
16  org.gnu.Emacs                 	0x0010a4d1 Ffuncall + 977 (eval.c: 
3050)
17  org.gnu.Emacs                 	0x001456db Fbyte_code + 3835  
(bytecode.c:678)
18  org.gnu.Emacs                 	0x00109d81 funcall_lambda + 209  
(eval.c:3236)
19  org.gnu.Emacs                 	0x0010a049 apply_lambda + 121  
(eval.c:3155)
[smime.p7s (application/pkcs7-signature, attachment)]

bug reassigned from package `emacs' to `emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 25 Feb 2009 05:35:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2465; Package emacs,ns. (Wed, 04 Mar 2009 21:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adrian Robert <adrian.b.robert <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com. (Wed, 04 Mar 2009 21:25:06 GMT) Full text and rfc822 format available.

Message #12 received at 2465 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Adrian Robert <adrian.b.robert <at> gmail.com>
To: 2465 <at> debbugs.gnu.org
Cc: David Reitter <david.reitter <at> gmail.com>
Subject: Re: NS Crash (#2465)
Date: Wed, 4 Mar 2009 23:18:16 +0200
> *** Terminating app due to uncaught exception
> 'NSInternalInconsistencyException', reason: '-[EmacsView(0xe87e430)
> lockFocus] failed with window=0xe892b90, windowNumber=-1, [self
> isHiddenOrHasHiddenAncestor]=0'

This happens when lockFocus is called on a second window before focus  
has been unlocked on the first and the window flushed.

In nsterm.m, these are wrapped by ns_focus and ns_unfocus, and these  
should always be matched.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com:
bug#2465; Package emacs,ns. (Fri, 13 Mar 2009 23:20:02 GMT) Full text and rfc822 format available.

View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#2465: closed (NS Crash)
Date: Mon, 18 Feb 2013 02:19:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 17 Feb 2013 21:17:23 -0500
with message-id <q738wubc24.fsf <at> fencepost.gnu.org>
and subject line Re: bug#2465: NS Crash (#2465)
has caused the debbugs.gnu.org bug report #2465,
regarding NS Crash
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
2465: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2465
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: David Reitter <david.reitter <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: NS Crash
Date: Tue, 24 Feb 2009 23:20:42 -0500
[Message part 3 (text/plain, inline)]
I can't tell what's happening on the lisp side here (I'm running a lot  
of code), but if you tell me what to look for, I will.
The build I'm using is very recent, with no patches to the redisplay  
code I believe.


Process:         Emacs [22516]
Path:            /Users/dr/Projects/Bazaar-Playground/emacs.cvs/ 
nextstep/Emacs.app/Contents/MacOS/Emacs
Identifier:      org.gnu.Emacs
Version:         Version 23.0.90 (9.0)
Code Type:       X86 (Native)
Parent Process:  launchd [137]

Date/Time:       2009-02-24 23:15:27.317 -0500
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGABRT)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception  
'NSInternalInconsistencyException', reason: '-[EmacsView(0xe87e430)  
lockFocus] failed with window=0xe892b90, windowNumber=-1, [self  
isHiddenOrHasHiddenAncestor]=0'

Thread 0 Crashed:
0   libSystem.B.dylib             	0x9469ce42 __kill + 10
1   org.gnu.Emacs                 	0x000925da fatal_error_signal + 314  
(emacs.c:404)
2   libSystem.B.dylib             	0x9469b2bb _sigtramp + 43
3   ???                           	0xffffffff 0 + 4294967295
4   libSystem.B.dylib             	0x9470f23a raise + 26
5   libSystem.B.dylib             	0x9471b679 abort + 73
6   org.gnu.Emacs                 	0x0016cc45 ns_term_shutdown + 117  
(nsterm.m:4048)
7   org.gnu.Emacs                 	0x0009262f fatal_error_signal + 399  
(emacs.c:389)
8   libSystem.B.dylib             	0x9469b2bb _sigtramp + 43
9   ???                           	0xffffffff 0 + 4294967295
10  libobjc.A.dylib               	0x9499ae3b objc_exception_throw + 40
11  com.apple.CoreFoundation      	0x95774eeb +[NSException  
raise:format:arguments:] + 155
12  com.apple.Foundation          	0x94b8f6a4 -[NSAssertionHandler  
handleFailureInMethod:object:file:lineNumber:description:] + 116
13  com.apple.AppKit              	0x90106a0f -[NSView lockFocus] + 280
14  org.gnu.Emacs                 	0x00167560 ns_update_begin + 48  
(nsterm.m:563)
15  org.gnu.Emacs                 	0x00006d5c Fredraw_frame + 124  
(dispnew.c:3395)
16  org.gnu.Emacs                 	0x0010a4d1 Ffuncall + 977 (eval.c: 
3050)
17  org.gnu.Emacs                 	0x001456db Fbyte_code + 3835  
(bytecode.c:678)
18  org.gnu.Emacs                 	0x00109d81 funcall_lambda + 209  
(eval.c:3236)
19  org.gnu.Emacs                 	0x0010a049 apply_lambda + 121  
(eval.c:3155)
[smime.p7s (application/pkcs7-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 2465-done <at> debbugs.gnu.org
Subject: Re: bug#2465: NS Crash (#2465)
Date: Sun, 17 Feb 2013 21:17:23 -0500
Sorry that not much happened with this. After so much time, I don't
think we can do anything without a recipe to reproduce this issue, or a
live GDB session. If it happens again with the current version of Emacs
(currently 24.2), please make a new report and hopefully we do better
next time.


Notification sent to David Reitter <david.reitter <at> gmail.com>:
bug acknowledged by developer. (Mon, 18 Feb 2013 02:19:01 GMT) Full text and rfc822 format available.

Message #18 received at 2465-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 2465-done <at> debbugs.gnu.org
Subject: Re: bug#2465: NS Crash (#2465)
Date: Sun, 17 Feb 2013 21:17:23 -0500
Sorry that not much happened with this. After so much time, I don't
think we can do anything without a recipe to reproduce this issue, or a
live GDB session. If it happens again with the current version of Emacs
(currently 24.2), please make a new report and hopefully we do better
next time.




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

This bug report was last modified 12 years and 98 days ago.

Previous Next


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