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

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

emacs hangs; 100% cpu usage


From: Daniel Schmitt
Subject: emacs hangs; 100% cpu usage
Date: Wed, 12 Jan 2005 13:55:33 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3.50 (gnu/linux)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Open cpp file, edit it, do M-x compile, edit again, compile again ...
emacs hangs and uses 100% cpu.  gdb output after "kill -TSTP PID" below.

The Emacs session is still running under gdb, so I can provide more
information when needed.

Best wishes,

Daniel Schmitt

____________GDB OUTPUT___________
(gdb) run
Starting program: 
/import/Archive/Groups/Productivity/Editors/Emacs/emacs/cvs-HEAD/emacs/src/emacs
 -geometry 80x40+0+0
[Thread debugging using libthread_db enabled]
[New Thread 182940272320 (LWP 28398)]
Detaching after fork from child process 28401.
Detaching after fork from child process 28410.

Program received signal SIGTSTP, Stopped (user).
[Switching to Thread 182940272320 (LWP 28398)]
0x000000000055339c in sweep_weak_table (h=0xf29680, remove_entries_p=0)
    at fns.c:4792
4792      for (bucket = 0; bucket < n; ++bucket)


(gdb) bt
#0  0x000000000055339c in sweep_weak_table (h=0xf29680, remove_entries_p=0)
    at fns.c:4792
#1  0x000000000055346f in sweep_weak_hash_tables () at fns.c:4888
#2  0x0000000000537e51 in Fgarbage_collect () at alloc.c:5535
#3  0x0000000000578df4 in Fbyte_code (bytestr=10212545, vector=Variable 
"vector" is not available.
)
    at bytecode.c:531
#4  0x000000000054c1cd in funcall_lambda (fun=19399476, nargs=1, 
    arg_vector=0x7fbfffacd8) at eval.c:2962
#5  0x000000000054c72e in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2832
#6  0x00000000005788e9 in Fbyte_code (bytestr=10069041, vector=Variable 
"vector" is not available.
)
    at bytecode.c:686
#7  0x000000000054c1cd in funcall_lambda (fun=19240148, nargs=3, 
    arg_vector=0x7fbfffae98) at eval.c:2962
#8  0x000000000054c72e in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2832
#9  0x00000000005788e9 in Fbyte_code (bytestr=19208337, vector=Variable 
"vector" is not available.
)
    at bytecode.c:686
#10 0x000000000054c1cd in funcall_lambda (fun=19229780, nargs=3, 
    arg_vector=0x7fbfffb048) at eval.c:2962
#11 0x000000000054c72e in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2832
#12 0x00000000005788e9 in Fbyte_code (bytestr=19208337, vector=Variable 
"vector" is not available.
)
    at bytecode.c:686
#13 0x000000000054c1cd in funcall_lambda (fun=19210980, nargs=2, 
    arg_vector=0x7fbfffb320) at eval.c:2962
#14 0x000000000054c72e in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2832
#15 0x000000000054e140 in run_hook_with_args (nargs=3, args=0x7fbfffb318, 
    cond=to_completion) at eval.c:2443
#16 0x000000000054c9e4 in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2756
#17 0x00000000005788e9 in Fbyte_code (bytestr=10075121, vector=Variable 
"vector" is not available.
)
    at bytecode.c:686
#18 0x000000000054bd80 in Feval (form=Variable "form" is not available.
) at eval.c:2136
#19 0x000000000054e8f8 in Fcondition_case (args=Variable "args" is not 
available.
) at eval.c:1332
#20 0x0000000000577e7f in Fbyte_code (bytestr=10075121, vector=Variable "vector"
 is not available.
)
    at bytecode.c:864
#21 0x000000000054c1cd in funcall_lambda (fun=22082244, nargs=2, 
    arg_vector=0x7fbfffb868) at eval.c:2962
#22 0x000000000054c72e in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2832
#23 0x00000000005788e9 in Fbyte_code (bytestr=22805249, vector=Variable "vector"
 is not available.
)
    at bytecode.c:686
#24 0x000000000054c1cd in funcall_lambda (fun=22156052, nargs=1, 
    arg_vector=0x7fbfffbc28) at eval.c:2962
#25 0x000000000054c72e in Ffuncall (nargs=Variable "nargs" is not available.
) at eval.c:2832
#26 0x000000000054b12a in internal_condition_case_2 (bfun=0x54c540 <Ffuncall>, 
    nargs=2, args=0x7fbfffbc20, handlers=9605249, 
    hfun=0x46a1a0 <safe_eval_handler>) at eval.c:1470
#27 0x000000000047c055 in safe_call (nargs=2, args=0x7fbfffbc20)
    at xdisp.c:1909
#28 0x000000000047c09a in safe_call1 (fn=Variable "fn" is not available.
) at xdisp.c:1929
#29 0x000000000047cfae in handle_fontified_prop (it=Variable "it" is not availab
le.
) at xdisp.c:2834
#30 0x0000000000467a0d in handle_stop (it=0x7fbfffc1f0) at xdisp.c:2604
#31 0x000000000046ad67 in next_element_from_buffer (it=0x7fbfffc1f0)
    at xdisp.c:5559
#32 0x000000000046a1e6 in get_next_display_element (it=0x7fbfffc1f0)
    at xdisp.c:4886
#33 0x0000000000470db8 in display_line (it=0x7fbfffc1f0) at xdisp.c:14741
#34 0x000000000047660c in try_window_id (w=0xe4d1d0) at xdisp.c:13521
#35 0x000000000047a63b in redisplay_window (window=14995924, just_this_one_p=1)
    at xdisp.c:11997
#36 0x000000000047ba90 in redisplay_window_1 (window=Variable "window" is not av
ailable.
) at xdisp.c:10719
#37 0x000000000054b2b8 in internal_condition_case_1 (
    bfun=0x47ba60 <redisplay_window_1>, arg=14995924, handlers=9634469, 
    hfun=0x45a0f0 <redisplay_window_error>) at eval.c:1426
#38 0x00000000004744d7 in redisplay_internal (preserve_echo_area=Variable "prese
rve_echo_area" is not available.
)
    at xdisp.c:10341
#39 0x00000000004ee4a6 in read_char (commandflag=1, nmaps=5, 
    maps=0x7fbfffdfe0, prev_event=9605153, used_mouse_menu=0x7fbfffe074)
    at keyboard.c:2537
#40 0x00000000004f1516 in read_key_sequence (keybuf=0x7fbfffe210, bufsize=30, 
    prompt=9605153, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8818
#41 0x00000000004f313d in command_loop_1 () at keyboard.c:1531
#42 0x000000000054b441 in internal_condition_case (
    bfun=0x4f2fa0 <command_loop_1>, handlers=9716673, 
    hfun=0x4ed5f0 <cmd_error>) at eval.c:1385
#43 0x00000000004ec87a in command_loop_2 () at keyboard.c:1312
#44 0x000000000054b590 in internal_catch (tag=Variable "tag" is not available.
) at eval.c:1144
#45 0x00000000004ed288 in command_loop () at keyboard.c:1291
#46 0x00000000004ed321 in recursive_edit_1 () at keyboard.c:984
#47 0x00000000004ed44e in Frecursive_edit () at keyboard.c:1045
#48 0x00000000004e2e0d in main (argc=3, argv=0x7fbfffea98) at emacs.c:1763

(gdb) xbacktrace 
0x1280334 No enum type named pvec_type.
----------------------------------------------------------------------

[ CVS checkout on 2005-01-12 ]

In GNU Emacs 21.3.50.19 (x86_64-unknown-linux-gnu, GTK+ Version 2.4.9)
 of 2005-01-12 on bridgekeeper
Distributor `The X.Org Foundation', version 11.0.60801000
configured using `configure '--prefix=/import/xtra/emacs/HEAD' '--with-gtk' 
'--exec-prefix=/import/xtra/emacs/HEAD-x86_64''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: POSIX
  value of $LC_CTYPE: address@hidden
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  delete-selection-mode: t
  pc-selection-mode: t
  msb-mode: t
  file-name-shadow-mode: t
  minibuffer-electric-default-mode: t
  show-paren-mode: t
  auto-compression-mode: t
  which-function-mode: t
  recentf-mode: t
  cua-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-decoding-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t





reply via email to

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