unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Crashes on draw_glyphs
Date: Thu, 13 Nov 2008 10:38:42 -0500	[thread overview]
Message-ID: <874p2b4ovx.fsf@cyd.mit.edu> (raw)
In-Reply-To: <f7ccd24b0811040857p1bb28338p59ba6658359c8b44@mail.gmail.com> (Juanma Barranquero's message of "Tue, 4 Nov 2008 17:57:21 +0100")

"Juanma Barranquero" <lekktu@gmail.com> writes:

> The underling bug that causes #872/#1179 is really getting annoying.
>
> Apparently I'm the only one suffering it (perhaps I'm the only one
> compiling Emacs on Windows with GCC 4.3.0), and I've been
> unsuccessfully trying to debug it for weeks. Unfortunately, as soon as
> I even add an assertion, the crash point moves. It seems like the
> thing to do is to run draw_glyphs step-by-step, but with the macros
> and all that it is quite difficult, not to mention that I know very
> little about the redisplay code and that the bug is much harder to
> catch when I compile a non-optimized build.
>
> The breaking point (for my patience, at least) is that I now can crash
> Emacs even without setting unibyte-display-via-language-environment,
> just by doing
>
>   emacs -Q
>   M-x ucs-insert AEGEAN CHECK MARK <return>
>
> which causes an assertion failure.
>
> Breakpoint 1, w32_abort () at w32fns.c:7279
> 7279      button = MessageBox (NULL,
> (gdb) bt
> #0  w32_abort () at w32fns.c:7279
> #1  0x01034045 in fill_glyph_string (s=0x82e8c0, face_id=1,
> start=-1151, end=1, overlaps=0) at xdisp.c:19695
> #2  0x01057492 in draw_glyphs (w=0x2e44a00, x=17, row=0x2ffb260,
> area=TEXT_AREA, start=0, end=1, hl=DRAW_NORMAL_TEXT,
>     overlaps=0) at xdisp.c:20329

Any luck debugging this?

I notice that the START argument in fill_glyph_string is
negative---could you try to trace this back to see where it comes from?




  parent reply	other threads:[~2008-11-13 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04 16:57 Crashes on draw_glyphs Juanma Barranquero
2008-11-04 17:06 ` Chong Yidong
2008-11-04 17:24   ` Juanma Barranquero
2008-11-13 15:38 ` Chong Yidong [this message]
2008-11-13 16:03   ` Juanma Barranquero

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=874p2b4ovx.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.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).