GNU bug report logs - #872
Crash displaying byte-code

Previous Next

Packages: emacs, w32;

Reported by: "Juanma Barranquero" <lekktu <at> gmail.com>

Date: Wed, 3 Sep 2008 16:15:03 UTC

Severity: grave

Merged with 1179, 1446, 1447, 1448

Found in version 23.0.60

Done: Jason Rumney <jasonr <at> f2s.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 872 in the body.
You can then email your comments to 872 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#872; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Emacs Bug Tracker" <submit <at> debbugs.gnu.org>
Subject: Crash displaying byte-code
Date: Wed, 3 Sep 2008 18:06:12 +0200
emacs -Q
M-x ielm <RET>

then typing

(let ((standard-output (current-buffer)))
  (setq unibyte-display-via-language-environment t)
  (set-buffer-multibyte nil)
  (backtrace))

makes Emacs crash on Windows.

Notes:
 - If Emacs is run from inside GDB, it "hangs" for a while and finally
crashes.
 - If run from the command-line, after doing the above it crashes
immediately; the DrMingw backtrace is a bit different.
 - It only happens with an optimized build.
 - All the above steps are required, including executing the `let'
from inside IELM. In fact, the crash happens while IELM is trying to
display byte-code("...")

It apparently started happening after this change:

2008-04-09  Jason Rumney  <address <at> hidden>

        * w32term.c (w32_compute_glyph_string_overhangs): Compute overhangs
        for new font backend and composite cases.

emacs-devel discussion:

http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00236.html




bug marked as found in version 23.0.60. Request was from "Juanma Barranquero" <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 09 Sep 2008 15:40:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,w32'. Request was from "Juanma Barranquero" <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 09 Sep 2008 15:40:05 GMT) Full text and rfc822 format available.

Merged 872 1179. Request was from "Juanma Barranquero" <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Fri, 17 Oct 2008 11:55:05 GMT) Full text and rfc822 format available.

Merged 872 1179 1446 1447 1448. Request was from "Juanma Barranquero" <lekktu <at> gmail.com> to control <at> emacsbugs.donarmstrong.com. (Fri, 28 Nov 2008 09:55:03 GMT) Full text and rfc822 format available.

Severity set to `grave' from `normal' Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Tue, 09 Dec 2008 14:50:04 GMT) Full text and rfc822 format available.

Reply sent to Jason Rumney <jasonr <at> f2s.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #20 received at 872-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> f2s.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 872-done <at> debbugs.gnu.org
Subject: Re: [Emacs-diffs] emacs/src ChangeLog
Date: Thu, 11 Dec 2008 23:42:15 +0800
Juanma Barranquero wrote:
> It is likely Jason has really fixed the problem, because it started
> happening a few days after this change:
>
> 2008-07-30  Jason Rumney  <jasonr <at> gnu.org>
>
>         * w32font.h (struct w32font_info): Use unicode version of textmetrics.
>
>         * w32font.c (w32font_encode_char): Leave as unicode if in range.
>         (w32font_open_internal): Get unicode version of textmetrics.
>         Don't enable or disable glyph indices here.
>         (w32font_open): Disable use of glyph indices.
>
>         * w32uniscribe.c (uniscribe_open): Enable use of glyph indices.
>
>   Juanma
>   

More likely one of these earlier changes:

2008-07-30  Jason Rumney  <jasonr <at> gnu.org>

   * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size.

2008-07-29  Jason Rumney  <jasonr <at> gnu.org>

   * w32uniscribe.c (uniscribe_shape): Avoid using context if cache
   is populated.
   (uniscribe_encode_char): Always use uniscribe.
   Avoid using context if cache is populated.







Reply sent to Jason Rumney <jasonr <at> f2s.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Reply sent to Jason Rumney <jasonr <at> f2s.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Feng li <fengli <at> blackmagic-design.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Reply sent to Jason Rumney <jasonr <at> f2s.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Feng li <fengli <at> blackmagic-design.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Reply sent to Jason Rumney <jasonr <at> f2s.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Feng li <fengli <at> blackmagic-design.com>:
bug acknowledged by developer. Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 09 Jan 2009 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.