From: Eli Zaretskii <eliz@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 5856@debbugs.gnu.org
Subject: bug#5856: 24.0.50; Crash in redisplay
Date: Wed, 07 Apr 2010 23:27:43 +0300 [thread overview]
Message-ID: <83hbnn1000.fsf@gnu.org> (raw)
In-Reply-To: <4BBCD8D1.1060400@swipnet.se>
> Date: Wed, 07 Apr 2010 21:11:13 +0200
> From: Jan Djärv <jan.h.d@swipnet.se>
> Cc:
>
> Sometimes I get a segmentation violation and emacs dies.
> I just managed to catch it in the debugger. Backtrace below (very long,
> but instructions says to give bt full),
> Let me know if you need more info, I'll keep it in the debugger for a
> couple of days. This is from trunk, updated and built today (Apr 7, 2010).
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000044d2f1 in set_cursor_from_row (w=0x1378d60, row=0x1fbf550,
> matrix=0x18217a0, delta=0, delta_bytes=0, dy=0, dvpos=0)
> at /home/jhd/src/emacs/fixes/src/xdisp.c:12775
> 12775 if (!(BUFFERP (glyph->object) && glyph->charpos == pt_old)
Ouch! My bad, probably.
First, what caused the crash? I think it's BUFFERP, so please tell
what is glyph->object.
Also, can you tell something about what were you doing at the moment
of the crash? It looks like you were typing in the minibuffer, is
that correct?
Finally, what does the GDB command "pgrow" print?
Oh, btw: is this an optimized or an unoptimized build?
> (gdb) p *glyph
> $3 = {
> charpos = 7589819289523352181,
> object = 8079492959817000301,
> pixel_width = 26991,
> ascent = 29806,
> descent = 29285,
> voffset = 26463,
> type = 2,
> multibyte_p = 0,
> left_box_line_p = 0,
> right_box_line_p = 1,
> overlaps_vertically_p = 1,
> padding_p = 1,
> glyph_not_available_p = 0,
> avoid_cursor_p = 1,
> resolved_level = 16,
> bidi_type = 1,
Hmm?.. looks like a garbled glyph structure...
next prev parent reply other threads:[~2010-04-07 20:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-07 19:11 bug#5856: 24.0.50; Crash in redisplay Jan Djärv
2010-04-07 20:27 ` Eli Zaretskii [this message]
2010-04-08 6:16 ` Jan Djärv
2010-04-08 6:49 ` Eli Zaretskii
2010-04-08 7:26 ` Jan Djärv
2010-04-08 13:57 ` Eli Zaretskii
2010-04-08 16:13 ` Jan Djärv
2010-04-08 21:29 ` Eli Zaretskii
2010-04-09 5:32 ` Jan Djärv
2010-04-13 8:12 ` Jan Djärv
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83hbnn1000.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=5856@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.