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

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

bug#2987: 23.0.92; hang in nextstep version


From: David Reitter
Subject: bug#2987: 23.0.92; hang in nextstep version
Date: Tue, 5 May 2009 17:47:32 -0400

I reproduce this.
C-g doesn't break it.
Emacs -Q doesn't show it, but -q does. (-Q doesn't show the splash screen, maybe that's why)

It only occurs when the resizing is done directly, i.e. when the Emacs frame is not made active beforehand.

Another backtrace and some Shark output (for what it's worth...) below.

Tried setting some gdb tracepoints on some of these functions, but i don't seem to be able to be able to observe a loop. #2 in this backtrace doesn't seem to get repeated, but maybe I'm doing something wrong.


Program received signal SIGINT, Interrupt.
0x91ca06c4 in objc_msgSend ()
(gdb) bt
#0  0x91ca06c4 in objc_msgSend ()
#1  0x016c4ed0 in ?? ()
#2  0x9028cc7c in -[NSEvent window] ()
#3  0x001a9242 in -[EmacsView keyDown:] ()
#4  0x90246ddd in -[NSWindow sendEvent:] ()
#5  0x90212d49 in -[NSApplication sendEvent:] ()
#6  0x001a7f65 in -[EmacsApp sendEvent:] ()
#7  0x9017069f in -[NSApplication run] ()
#8  0x001a6353 in ns_read_socket ()
#9  0x000c0bd1 in read_avail_input ()
#10 0x001a6724 in ns_select ()
#11 0x00185d12 in wait_reading_process_output ()
#12 0x000c2a48 in kbd_buffer_get_event ()
#13 0x000c6749 in read_char ()
#14 0x000c92c3 in read_key_sequence ()
#15 0x000cb640 in command_loop_1 ()
#16 0x0013bc3d in internal_condition_case ()
#17 0x000b7948 in command_loop_2 ()
#18 0x0013bb1c in internal_catch ()
#19 0x000be42b in recursive_edit_1 ()
#20 0x000be5e4 in Frecursive_edit ()
#21 0x000b6aab in main ()
(gdb)



        0.0%    99.8%   Emacs   start   
        0.0%    99.8%   Emacs    main   
        0.0%    99.8%   Emacs     Frecursive_edit       
        0.0%    99.8%   Emacs      recursive_edit_1     
        0.0%    99.8%   Emacs       internal_catch      
        0.0%    99.8%   Emacs        command_loop_2     
        0.0%    99.8%   Emacs         internal_condition_case   
        0.0%    99.8%   Emacs          command_loop_1   
        0.0%    99.8%   Emacs           read_key_sequence       
        0.0%    99.8%   Emacs            read_char      
        0.0%    99.8%   Emacs             kbd_buffer_get_event  
        0.0%    99.8%   Emacs              wait_reading_process_output  
        0.0%    99.8%   Emacs               ns_select   
        0.0%    99.8%   Emacs                read_avail_input   
        0.0%    99.8%   Emacs                 ns_read_socket    
        0.0%    99.8%   AppKit                 -[NSApplication run]     
        0.0%    99.8%   Emacs                   -[EmacsApp sendEvent:]  
        0.0%    99.8%   AppKit                   -[NSApplication sendEvent:]    
        0.0%    98.3%   AppKit                    -[NSWindow sendEvent:]        
        9.1%    67.8%   Emacs                      -[EmacsView keyDown:]        
        4.6%    32.1%   AppKit                      -[NSEvent window]   
9.3% 16.2% AppKit -[NSApplication _indexOfWindow:] 3.7% 5.2% Foundation -[NSConcretePointerArray countByEnumeratingWithState:objects:count:] 0.9% 0.9% Foundation dyld_stub_objc_assign_strongCast 0.6% 0.6% libobjc.A.dylib objc_assign_strongCast
        1.1%    1.1%    libobjc.A.dylib                       objc_msgSend      
        0.5%    0.5%    AppKit                        dyld_stub_objc_msgSend    
        0.1%    0.1%    libobjc.A.dylib                       
objc_assign_strongCast    
        10.7%   10.7%   libobjc.A.dylib                      objc_msgSend       
0.3% 0.3% Foundation -[NSConcretePointerArray countByEnumeratingWithState:objects:count:]
        0.2%    0.2%    AppKit                       dyld_stub_objc_msgSend     
        11.5%   11.5%   libobjc.A.dylib                     objc_msgSend        
        0.0%    6.9%    Emacs                       0x3a09a0 [unknown]  
        6.9%    6.9%    libobjc.A.dylib                      objc_msgSend       
1.7% 2.7% CoreFoundation -[NSObject isKindOfClass:]
        1.5%    1.5%    Emacs                       dyld_stub_objc_msgSend      
        1.4%    1.4%    AppKit                      -[NSWindow isKeyWindow]     
        0.6%    0.6%    AppKit                      -[NSWindow delegate]        
        0.6%    0.6%    AppKit                      -[NSApplication 
_indexOfWindow:]    
        0.3%    0.3%    libobjc.A.dylib                     object_getClass     
        0.3%    0.3%    AppKit                      -[NSView window]    
        0.3%    0.3%    CoreFoundation                      -[NSObject class]   
        0.2%    0.2%    AppKit                      -[NSEvent type]     
        0.2%    0.2%    CoreFoundation                      +[NSObject class]   
        25.6%   25.6%   libobjc.A.dylib                    objc_msgSend 
        1.8%    1.8%    CoreFoundation                     +[NSObject class]    
        1.7%    1.7%    AppKit                     -[NSWindow delegate] 
        0.4%    0.4%    AppKit                     -[NSEvent window]    
        0.3%    0.3%    AppKit                     -[NSWindow isKeyWindow]      
        0.3%    0.3%    AppKit                     -[NSView window]     
        0.2%    0.2%    Emacs                      dyld_stub_objc_msgSend       







reply via email to

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