emacs-devel
[Top][All Lists]
Advanced

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

crash in delete_window


From: David Reitter
Subject: crash in delete_window
Date: Tue, 17 Nov 2009 18:11:29 -0500

I just had a crash in delete_window and thought I'd do something about it 
before/rather than filing a bug report....  From the trace below, it seems like 
Fdelq is called, followed by a process_pending_signals and some redisplay, 
which probably crashes because the window has been half-deleted.  

Would it be sensible in this case to add some BLOCK_INPUT statements to 
delete_window, or maybe SET_FRAME_GARBAGED?  (Sorry if this is a naive 
suggestion.)


----
Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                   0x00007fff8435bfe6 __kill + 10
1   org.gnu.AquamacsEmacs               0x00000001000abbd3 fatal_error_signal + 
261 (emacs.c:403)
2   libSystem.B.dylib                   0x00007fff8436deaa _sigtramp + 26
3   ???                                 0x00007fff5fbf9cf0 0 + 140734799781104
4   org.gnu.AquamacsEmacs               0x0000000100198ae2 ns_get_color + 0 
(nsterm.m:1350)
5   org.gnu.AquamacsEmacs               0x00000001000abc04 fatal_error_signal + 
310 (emacs.c:388)
6   libSystem.B.dylib                   0x00007fff8436deaa _sigtramp + 26
7   ???                                 0x00007fff5fbfa1f0 0 + 140734799782384
8   org.gnu.AquamacsEmacs               0x000000010004f415 expose_frame + 187 
(xdisp.c:24443)
9   com.apple.AppKit                    0x00007fff85f8405e -[NSView 
_drawRect:clip:] + 3566
10  com.apple.AppKit                    0x00007fff85f81834 -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 + 2112
11  com.apple.AppKit                    0x00007fff85f821bf -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 + 4555
12  com.apple.AppKit                    0x00007fff85f821bf -[NSView 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 + 4555
13  com.apple.AppKit                    0x00007fff85f80e17 -[NSThemeFrame 
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
 + 254
14  com.apple.AppKit                    0x00007fff85f7d6bf -[NSView 
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
15  com.apple.AppKit                    0x00007fff85ef6f37 -[NSView 
displayIfNeeded] + 969
16  com.apple.AppKit                    0x00007fff85ef1dde 
_handleWindowNeedsDisplay + 678
17  com.apple.CoreFoundation            0x00007fff8453c427 
__CFRunLoopDoObservers + 519
18  com.apple.CoreFoundation            0x00007fff845182d4 __CFRunLoopRun + 468
19  com.apple.CoreFoundation            0x00007fff84517c2f CFRunLoopRunSpecific 
+ 575
20  com.apple.HIToolbox                 0x00007fff82142a4e 
RunCurrentEventLoopInMode + 333
21  com.apple.HIToolbox                 0x00007fff821427b1 
ReceiveNextEventCommon + 148
22  com.apple.HIToolbox                 0x00007fff8214270c 
BlockUntilNextEventMatchingListInMode + 59
23  com.apple.AppKit                    0x00007fff85ec71f2 _DPSNextEvent + 708
24  com.apple.AppKit                    0x00007fff85ec6b41 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
25  com.apple.AppKit                    0x00007fff85e8c747 -[NSApplication run] 
+ 395
26  org.gnu.AquamacsEmacs               0x0000000100197500 ns_read_socket + 300 
(nsterm.m:3175)
27  org.gnu.AquamacsEmacs               0x00000001000b601e read_avail_input + 
272 (keyboard.c:7128)
28  org.gnu.AquamacsEmacs               0x00000001000b628f 
process_pending_signals + 66 (keyboard.c:7447)
29  org.gnu.AquamacsEmacs               0x000000010013769a Fdelq + 146 
(fns.c:1668)
30  org.gnu.AquamacsEmacs               0x0000000100018d9e delete_frame + 474 
(frame.c:1474)
31  org.gnu.AquamacsEmacs               0x000000010012e377 Feval + 1664 
(eval.c:2349)
32  org.gnu.AquamacsEmacs               0x0000000100131222 
internal_lisp_condition_case + 539 (eval.c:1435)
33  org.gnu.AquamacsEmacs               0x000000010012e3e9 Feval + 1778 
(eval.c:2293)
34  org.gnu.AquamacsEmacs               0x000000010012e990 funcall_lambda + 691 
(eval.c:415)
35  org.gnu.AquamacsEmacs               0x000000010012eae8 apply_lambda + 193 
(eval.c:3126)
36  org.gnu.AquamacsEmacs               0x000000010012df6c Feval + 629 
(eval.c:2406)
37  org.gnu.AquamacsEmacs               0x000000010012e3e9 Feval + 1778 
(eval.c:2293)
38  org.gnu.AquamacsEmacs               0x000000010012e990 funcall_lambda + 691 
(eval.c:415)
39  org.gnu.AquamacsEmacs               0x000000010012eae8 apply_lambda + 193 
(eval.c:3126)
40  org.gnu.AquamacsEmacs               0x000000010012df6c Feval + 629 
(eval.c:2406)
41  org.gnu.AquamacsEmacs               0x0000000100131920 Fif + 110 
(eval.c:415)



reply via email to

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