emacs-devel
[Top][All Lists]
Advanced

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

Emacs Crashes When Commenting C Code


From: Herbert Euler
Subject: Emacs Crashes When Commenting C Code
Date: Tue, 23 May 2006 16:43:55 +0800

Hello,

Emacs crashes when I comment out a line in a C
source code.  I'm ready to post results to help
finding this bug, but I don't know what to post.
Here are some output from gdb:

1. If I start emacs with "r -q", Emacs won't crash.

2. If I start emacs with "r", Emacs crashes when
  I comment the line.  Typing "bt" in gdb shows:

(gdb) r
Starting program: /usr/local/bin/emacs
[Thread debugging using libthread_db enabled]
[New Thread -1218865472 (LWP 14217)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218865472 (LWP 14217)]
0x080cee6f in x_draw_glyph_string_foreground ()
(gdb) bt
#0  0x080cee6f in x_draw_glyph_string_foreground ()
#1  0x080d06f3 in x_draw_glyph_string ()
#2  0x080842cb in draw_glyphs ()
#3  0x0808653a in draw_phys_cursor_glyph ()
#4  0x080d43c6 in x_draw_window_cursor ()
#5  0x08086b5b in display_and_set_cursor ()
#6  0x080ce375 in x_update_window_end ()
#7  0x0805700a in update_window ()
#8  0x080584ff in update_window_tree ()
#9  0x08059928 in update_frame ()
#10 0x0807db32 in redisplay_internal ()
#11 0x0810bbec in read_char ()
#12 0x0810dff1 in read_key_sequence ()
#13 0x0810fbb1 in command_loop_1 ()
#14 0x08167f02 in internal_condition_case ()
#15 0x0810223e in command_loop_2 ()
#16 0x08167bdc in internal_catch ()
#17 0x0810201e in command_loop ()
#18 0x081020c4 in recursive_edit_1 ()
#19 0x081021d0 in Frecursive_edit ()
#20 0x08101123 in main ()
(gdb)

Could somebody tell me how to locate the bug?
Thanks.

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/





reply via email to

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