emacs-devel
[Top][All Lists]
Advanced

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

Emacs in CVS plus GTK patches hogs CPU


From: Simon Josefsson
Subject: Emacs in CVS plus GTK patches hogs CPU
Date: Wed, 08 Jan 2003 07:18:04 +0100
User-agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.3.50 (i686-pc-linux-gnu)

I've been using the #2 GTK patch for several days with some heavy use,
and this is my first problem.  I'm not positive it is GTK related.

Emacs is unresponsive to C-g and consumes all CPU.  Attaching with gdb
and breaking alternatively generates two different backtraces (see
below).  At the time I was reading mail from a IMAP group using Gnus
(i.e., likely both network activity and keyboard activity).

I'll keep the process running if someone has any ideas what to
investigate.

(gdb) c
Continuing.

Program received signal SIGINT, Interrupt.
0x0815b21f in wait_reading_process_input (time_limit=0, microsecs=0,
    read_kbd=268435455, do_display=1) at process.c:4259
4259                }
(gdb) bt
#0  0x0815b21f in wait_reading_process_input (time_limit=0, microsecs=0,
    read_kbd=268435455, do_display=1) at process.c:4259
#1  0x080db18c in kbd_buffer_get_event (kbp=0xbffff450,
    used_mouse_menu=0xbffff670) at keyboard.c:3750
#2  0x080d9b86 in read_char (commandflag=1, nmaps=5, maps=0xbffff614,
    prev_event=405433596, used_mouse_menu=0xbffff670) at keyboard.c:2720
#3  0x080e0140 in read_key_sequence (keybuf=0xbffff774, bufsize=30,
    prompt=405433596, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:8508
#4  0x080d7a88 in command_loop_1 () at keyboard.c:1473
#5  0x0812c079 in internal_condition_case (bfun=0x80d7780 <command_loop_1>,
    handlers=405530204, hfun=0x80d7394 <cmd_error>) at eval.c:1352
#6  0x080d7658 in command_loop_2 () at keyboard.c:1274
#7  0x0812bc0d in internal_catch (tag=405491508,
    func=0x80d7634 <command_loop_2>, arg=405433596) at eval.c:1112
#8  0x080d7603 in command_loop () at keyboard.c:1253
#9  0x080d7150 in recursive_edit_1 () at keyboard.c:969
#10 0x080d7280 in Frecursive_edit () at keyboard.c:1025
#11 0x080d6113 in main (argc=1, argv=0xbffffd44) at emacs.c:1647
(gdb) c
Continuing.

Program received signal SIGINT, Interrupt.
0x4066d7ee in select () from /lib/libc.so.6
(gdb) bt
#0  0x4066d7ee in select () from /lib/libc.so.6
#1  0xbffff23c in ?? ()
#2  0x080db18c in kbd_buffer_get_event (kbp=0xbffff450,
    used_mouse_menu=0xbffff670) at keyboard.c:3750
#3  0x080d9b86 in read_char (commandflag=1, nmaps=5, maps=0xbffff614,
    prev_event=405433596, used_mouse_menu=0xbffff670) at keyboard.c:2720
#4  0x080e0140 in read_key_sequence (keybuf=0xbffff774, bufsize=30,
    prompt=405433596, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:8508
#5  0x080d7a88 in command_loop_1 () at keyboard.c:1473
#6  0x0812c079 in internal_condition_case (bfun=0x80d7780 <command_loop_1>,
    handlers=405530204, hfun=0x80d7394 <cmd_error>) at eval.c:1352
#7  0x080d7658 in command_loop_2 () at keyboard.c:1274
#8  0x0812bc0d in internal_catch (tag=405491508,
    func=0x80d7634 <command_loop_2>, arg=405433596) at eval.c:1112
#9  0x080d7603 in command_loop () at keyboard.c:1253
#10 0x080d7150 in recursive_edit_1 () at keyboard.c:969
#11 0x080d7280 in Frecursive_edit () at keyboard.c:1025
#12 0x080d6113 in main (argc=1, argv=0xbffffd44) at emacs.c:1647
(gdb)





reply via email to

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