unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Herbert Euler" <herberteuler@hotmail.com>
Subject: Emacs Crashes When Commenting C Code
Date: Tue, 23 May 2006 16:43:55 +0800	[thread overview]
Message-ID: <BAY112-F1610249DA157146A42D690DA9B0@phx.gbl> (raw)

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	other threads:[~2006-05-23  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23  8:43 Herbert Euler [this message]
2006-05-23 16:05 ` Emacs Crashes When Commenting C Code Chong Yidong
2006-05-24  6:05   ` Herbert Euler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY112-F1610249DA157146A42D690DA9B0@phx.gbl \
    --to=herberteuler@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).