From: Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 17753@debbugs.gnu.org
Subject: bug#17753: Cygwin emacs-X11 core dump
Date: Thu, 09 Oct 2014 11:08:32 +0200 [thread overview]
Message-ID: <f613655839e151d1dce11175ea433a33@mhoenicka.de> (raw)
In-Reply-To: <83iojtipuc.fsf@gnu.org>
Am 2014-10-09 10:56, schrieb Eli Zaretskii:
>> Date: Thu, 09 Oct 2014 10:17:47 +0200
>> From: Markus Hoenicka <markus.hoenicka@mhoenicka.de>
>> Cc: kbrown@cornell.edu, 17753@debbugs.gnu.org
>>
>> This time with gdb's crash message. FWIW, I was hitting the backspace
>> key to erase some characters from an XML document in a nXML buffer.
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> face_for_char (f=0x100f45c48 <bss_sbrk_buffer+6331368>,
>> face=face@entry=0x0,
>> c=101, pos=17134, object=object@entry=4304695346)
>> at /usr/src/debug/emacs-24.3.93-3/src/fontset.c:917
>> 917 return face->ascii_face->id;
>
> Why do you think it's the same problem? It looks very different to
> me, judging by the backtrace.
>
I should have been more verbose in my message. I didn't mean to imply
this is the same problem. The backtrace which I sent today is of a new
crash different from the ones I was talking about yesterday (it's an
all-time high btw. Three crashes within 24 h). And yes, the backtraces
do look different even to the untrained eye.
>> #0 0x00000001005a1673 in face_for_char (f=0x100f45c48
>> <bss_sbrk_buffer+6331368>, face=face@entry=0x0, c=101, pos=17134,
>> object=object@entry=4304695346)
>> at /usr/src/debug/emacs-24.3.93-3/src/fontset.c:917
>> #1 0x0000000100428c1a in get_next_display_element
>> (it=it@entry=0x425c30)
>> at /usr/src/debug/emacs-24.3.93-3/src/xdisp.c:7139
>
> What do the following GDB commands produce?
>
> (gdb) thread 1
> (gdb) frame 1
> (gdb) print it->what
> (gdb) print it->face_id
> (gdb) print FRAME_FACE_CACHE (it->f)->used
> (gdb) print face
(gdb) thread 1
[Switching to thread 1 (Thread 3788.0xb28)]
#0 face_for_char (f=0x100f45c48 <bss_sbrk_buffer+6331368>,
face=face@entry=0x0, c=101, pos=17134,
object=object@entry=4304695346)
at /usr/src/debug/emacs-24.3.93-3/src/fontset.c:917
917 return face->ascii_face->id;
(gdb) frame 1
#1 0x0000000100428c1a in get_next_display_element
(it=it@entry=0x425c30)
at /usr/src/debug/emacs-24.3.93-3/src/xdisp.c:7139
7139 it->face_id = FACE_FOR_CHAR (it->f, face, c, pos,
it->string);
(gdb) print it->what
$1 = IT_CHARACTER
(gdb) print it->face_id
$2 = 11
(gdb) print FRAME_FACE_CACHE (it->f)->used
No symbol "FRAME_FACE_CACHE" in current context.
(gdb) print face
$3 = (struct face *) 0x0
regards,
Markus
--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38
next prev parent reply other threads:[~2014-10-09 9:08 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-09 21:55 bug#17753: Cygwin emacs-X11 core dump markus.hoenicka
2014-06-11 2:51 ` Eli Zaretskii
2014-06-11 6:16 ` Markus Hoenicka
2014-06-11 14:47 ` Eli Zaretskii
2014-06-13 22:53 ` markus.hoenicka
2014-06-11 12:28 ` Ken Brown
2014-06-11 15:03 ` Eli Zaretskii
2014-07-04 21:21 ` markus.hoenicka
2014-07-05 14:03 ` Ken Brown
2014-07-07 21:31 ` markus.hoenicka
2014-07-09 13:57 ` Ken Brown
2014-07-09 14:30 ` Markus Hoenicka
2014-09-17 9:45 ` Markus Hoenicka
2014-09-17 10:16 ` Eli Zaretskii
2014-09-17 10:52 ` Eli Zaretskii
2014-09-17 11:04 ` Markus Hoenicka
2014-09-17 15:17 ` Ken Brown
2014-09-17 17:06 ` Eli Zaretskii
2014-09-22 7:14 ` Markus Hoenicka
2014-09-22 13:32 ` Ken Brown
2014-09-22 14:04 ` Markus Hoenicka
2014-09-22 14:48 ` Eli Zaretskii
2014-10-07 7:02 ` Markus Hoenicka
2014-10-07 14:56 ` Ken Brown
2014-10-07 15:05 ` Eli Zaretskii
2014-10-07 16:05 ` Markus Hoenicka
2014-10-07 17:04 ` Eli Zaretskii
2014-10-07 20:48 ` Markus Hoenicka
2014-10-09 8:17 ` Markus Hoenicka
2014-10-09 8:56 ` Eli Zaretskii
2014-10-09 9:08 ` Markus Hoenicka [this message]
2014-10-09 10:35 ` Eli Zaretskii
2014-10-09 10:44 ` Markus Hoenicka
2014-10-09 11:22 ` Eli Zaretskii
2014-10-09 11:47 ` Markus Hoenicka
2014-10-09 11:55 ` Eli Zaretskii
2014-10-11 15:31 ` Ken Brown
2014-10-12 0:07 ` Markus Hoenicka
2014-10-20 10:59 ` Markus Hoenicka
2014-10-20 11:29 ` Ken Brown
2014-10-20 12:04 ` martin rudalics
2014-10-20 13:05 ` Ken Brown
2014-10-20 14:11 ` Markus Hoenicka
2014-10-20 14:37 ` Markus Hoenicka
2014-10-20 15:24 ` Eli Zaretskii
2014-10-20 15:29 ` Markus Hoenicka
2014-10-24 21:27 ` Ken Brown
2014-10-24 21:42 ` Markus Hoenicka
2014-12-03 12:43 ` Markus Hoenicka
2014-12-03 14:12 ` Ken Brown
2014-10-20 15:29 ` Eli Zaretskii
2014-10-07 16:05 ` Markus Hoenicka
2014-07-28 22:45 ` markus.hoenicka
2014-08-06 22:02 ` markus.hoenicka
2014-10-07 16:47 ` Achim Gratz
2014-10-07 18:43 ` Ken Brown
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=f613655839e151d1dce11175ea433a33@mhoenicka.de \
--to=markus.hoenicka@mhoenicka.de \
--cc=17753@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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).