From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: Feng li , 1448@debbugs.gnu.org Resent-From: Feng li Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 28 Nov 2008 05:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122784936932478 (code B ref -1); Fri, 28 Nov 2008 05:25:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=AWL,BAYES_00,FOURLA, FVGT_m_MULTI_ODD,IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD2, PHONENUMBER,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Nov 2008 05:16:09 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAS5G4wR032472 for ; Thu, 27 Nov 2008 21:16:06 -0800 Received: from mail.gnu.org ([199.232.76.166]:38154 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L5vhg-0006yj-49 for emacs-pretest-bug@gnu.org; Fri, 28 Nov 2008 00:15:44 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L5vhw-0008D9-2j for emacs-pretest-bug@gnu.org; Fri, 28 Nov 2008 00:16:03 -0500 Received: from smtpauth01.csee.onr.siteprotect.com ([64.26.60.145]:40927) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L5vhv-0008Cv-Eo for emacs-pretest-bug@gnu.org; Fri, 28 Nov 2008 00:15:59 -0500 Received: from SCUMBAG (unknown [203.111.191.138]) (Authenticated sender: fengli@blackmagic-design.com) by smtpauth01.csee.onr.siteprotect.com (Postfix) with ESMTP id EBD621C8031 for ; Thu, 27 Nov 2008 23:15:56 -0600 (CST) From: Feng li To: emacs-pretest-bug@gnu.org Date: Fri, 28 Nov 2008 16:15:49 +1100 Message-ID: <81hc5s5t2y.fsf@blackmagic-design.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Start emacs with "-q". Press "C-h b" to bring up the keybinding help. Switch to the keybinding help window and press "PgDn" a few times will cause emacs to crash. I have rebuilt a new emacs binary with debug info and attached the back trace of the crash location at below. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file c:/emacs/etc/DEBUG for instructions. Current directory is c:/emacs/bin/ GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) set args "-q" (gdb) r Starting program: c:\emacs\bin/emacs.exe "-q" Loaded symbols for C:\WINDOWS\system32\ntdll.dll Loaded symbols for C:\WINDOWS\system32\kernel32.dll Loaded symbols for C:\WINDOWS\system32\advapi32.dll Loaded symbols for C:\WINDOWS\system32\rpcrt4.dll Loaded symbols for C:\WINDOWS\system32\secur32.dll Loaded symbols for C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll Loaded symbols for C:\WINDOWS\system32\msvcrt.dll Loaded symbols for C:\WINDOWS\system32\gdi32.dll Loaded symbols for C:\WINDOWS\system32\user32.dll Loaded symbols for C:\WINDOWS\system32\shlwapi.dll Loaded symbols for C:\WINDOWS\system32\comdlg32.dll Loaded symbols for C:\WINDOWS\system32\shell32.dll Loaded symbols for C:\WINDOWS\system32\mpr.dll Loaded symbols for C:\WINDOWS\system32\ole32.dll Loaded symbols for C:\WINDOWS\system32\usp10.dll Loaded symbols for C:\WINDOWS\system32\winmm.dll Loaded symbols for C:\WINDOWS\system32\winspool.drv Program received signal SIGSEGV, Segmentation fault. 0x0101fdd5 in fill_glyph_string (s=0x820000, face_id=27, start=, end=, overlaps=) at xdisp.c:19740 (gdb) bt full #0 0x0101fdd5 in fill_glyph_string (s=0x820000, face_id=27, start=, end=, overlaps=) at xdisp.c:19740 glyph = (struct glyph *) 0x334f120 last = (struct glyph *) 0x334f3c0 voffset = 0 glyph_not_available_p = 0 #1 0x01040a0c in draw_glyphs (w=0x3439800, x=72, row=0x3345260, area=TEXT_AREA, start=0, end=30, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:20332 base_face = (struct face *) 0xf00021 char2b = cmp = first_s = (struct glyph_string *) 0x100000 n = first_glyph = head = (struct glyph_string *) 0x82eb40 tail = (struct glyph_string *) 0x82ea20 s = (struct glyph_string *) 0x0 clip_head = clip_tail = i = 8 j = x_reached = last_x = 648 area_left = 8 f = (struct frame *) 0x2d26600 hdc = (HDC) 0x500110bc #2 0x01044f61 in x_write_glyphs (start=0x334f000, len=30) at xdisp.c:21896 x = #3 0x010ed18d in update_window_line (w=0x3439800, vpos=4, mouse_face_overwritten_p=0x82f008) at dispnew.c:4603 current_row = (struct glyph_row *) 0x3397260 desired_row = (struct glyph_row *) 0x3345260 rif = (struct redisplay_interface *) 0x12bd710 changed_p = 0 #4 0x010ee614 in update_window (w=0x3439800, force_p=0) at dispnew.c:4310 tm = { tv_sec = 1227849103, tv_usec = 187000 } vpos = 0 i = end = (struct glyph_row *) 0x3346398 header_line_row = (struct glyph_row *) 0x0 changed_p = 1 mouse_face_overwritten_p = 0 row = (struct glyph_row *) 0x3345260 yb = 304 desired_matrix = (struct glyph_matrix *) 0x333e400 paused_p = 8580796 rif = (struct redisplay_interface *) 0x12bd710 #5 0x010f0714 in update_window_tree (w=0x3439800, force_p=0) at dispnew.c:4003 paused_p = #6 0x010f06fe in update_window_tree (w=0x3439400, force_p=0) at dispnew.c:4001 paused_p = #7 0x010f0cf3 in update_frame (f=0x2d26600, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3930 tm = { tv_sec = 1227849103, tv_usec = 187000 } p = -nan(0x8000000000000) sec = 51984384 usec = paused_p = root_window = (struct window *) 0x3439400 #8 0x010378b4 in redisplay_internal (preserve_echo_area=) at xdisp.c:11891 mini_window = mini_frame = w = (struct window *) 0x3439800 pause = must_finish = 1 tlbufpos = { charpos = 0, bytepos = 0 } number_of_visible_frames = 1 polling_stopped_here = 0 old_frame = 47343108 consider_all_windows_p = 0 #9 0x0106b456 in read_char (commandflag=1, nmaps=3, maps=0x82fbb0, prev_event=45590529, used_mouse_menu=0x82fc44, end_time=0x0) at keyboard.c:2649 keys = 45590529 key_count = key_count_reset = 45590529 saved_ok_to_echo = (struct kboard *) 0x82faa0 saved_echo_string = 51982336 c = 45590529 local_getcjmp = {524, 525, 8583944, 18038426, 2, 1, 51982340, 45842961, 51982340, 4208, 8584024, 17924685, 51982336, 49875565, 8584000, 0} save_jump = {0, -1, 0, 8583936, 8583937, 45624064, 8583912, 17296387, 54484181, 54484205, 8584012, 11000, 3667, 54484189, 19635, 51773440} key_already_recorded = 0 tem = 51982336 save = previous_echo_area_message = 45590529 also_record = 45590529 reread = 0 polling_stopped_here = orig_kboard = (struct kboard *) 0x3000d80 #10 0x0106e08f in read_key_sequence (keybuf=0x82fce4, bufsize=30, prompt=45590529, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9344 interrupted_kboard = (KBOARD *) 0x3000d80 key = 54993268 used_mouse_menu = 0 echo_local_start = 0 last_real_key_start = 0 keys_local_start = 0 local_first_binding = 0 from_string = 45590529 count = 2 t = 0 echo_start = 0 keys_start = 0 nmaps = 3 nmaps_allocated = 3 defs = (Lisp_Object * volatile) 0x82fb90 submaps = (Lisp_Object * volatile) 0x82fbb0 orig_local_map = 49879613 orig_keymap = 45590529 localized_local_map = 0 first_binding = 0 first_unbound = 31 mock_input = 0 fkey = { parent = 46299045, map = 46299045, start = 0, end = 0 } keytran = { parent = 45580157, map = 45580157, start = 0, end = 0 } indec = { parent = 46299221, map = 46299221, start = 0, end = 0 } shift_translated = 0 delayed_switch_frame = 45590529 original_uppercase = 8584332 original_uppercase_position = -1 starting_buffer = (struct buffer *) 0x3193000 fake_prefixed_keys = 45590529 #11 0x0106ff38 in command_loop_1 () at keyboard.c:1621 cmd = lose = 4356 nonundocount = 0 keybuf = {45968033, 888, 0, 0, 0, 0, 0, 0, 0, 84, 0, 234881024, 84, 33689241, 0, 13, 33689241, 0, -402653185, 0, 8584520, 8584368, 0, 33685504, 45590529, 46654801, 46227456, 46227472, 46227456, 8584552} i = 4356 prev_modiff = 4356 prev_buffer = (struct buffer *) 0x3193000 already_adjusted = 0 #12 0x01013b58 in internal_condition_case (bfun=0x106fd94 , handlers=45654281, hfun=0x106a3ac ) at eval.c:1511 val = c = { tag = 45590529, val = 45590529, next = 0x82fe2c, gcpro = 0x0, jmp = {8584696, 46227456, 46227456, 46227472, 8584556, 16857872, 8585184, 0, 8584632, 16873592, 0, 10, 0, 16884063, 1520, 0}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x0 } h = { handler = 45654281, var = 45590529, chosen_clause = 2, tag = 0x82fd78, next = 0x0 } #13 0x01069976 in command_loop_2 () at keyboard.c:1338 val = 0 #14 0x01013bf3 in internal_catch (tag=45650353, func=0x1069953 , arg=45590529) at eval.c:1247 c = { tag = 45650353, val = 45590529, next = 0x0, gcpro = 0x0, jmp = {8584856, 46227456, 46227456, 46227472, 8584732, 16858086, 8585184, 0, 16812203, 45871369, 45870490, 45590529, 45629440, 8726632, 2009473784, 45590553}, backlist = 0x0, handlerlist = 0x0, lisp_eval_depth = 0, pdlcount = 2, poll_suppress_count = 0, interrupt_input_blocked = 0, byte_stack = 0x0 } #15 0x0106a21b in command_loop () at keyboard.c:1317 No locals. #16 0x0106a537 in recursive_edit_1 () at keyboard.c:942 val = #17 0x0106a653 in Frecursive_edit () at keyboard.c:1004 buffer = 45590529 #18 0x01002d37 in main (argc=2, argv=0xa44e68) at emacs.c:1777 old_log_max = symbol = tail = inhibit_unibyte = dummy = 2009288258 stack_bottom_variable = 1 '\001' do_initial_setlocale = skip_args = 0 no_loadup = 0 junk = 0x0 dname_arg = 0x0 (gdb) xbacktrace (gdb) In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-28 on SCUMBAG Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.2) --cflags -I../../emacs_libs/inc' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t recentf-mode: t cua-mode: t which-function-mode: t show-paren-mode: t global-auto-revert-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f d e v e m a c s / b i n M-x g d b s e t SPC a r g s SPC " " - q r b t SPC f u l l x b a c k t r a c e C-x h Recent messages: Loading c:/Documents and Settings/fengli/.recentf...done Ido mode enabled For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Truncate long lines enabled Loading semanticdb-file...done Loading vc-cvs...done Mark set [23 times] cua-scroll-down: Beginning of buffer [5 times] Mark set [6 times] -- # Feng Li # Blackmagic Design # fengli@blackmagic-design.com # www.blackmagic-design.com From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: "Juanma Barranquero" , 1448@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 28 Nov 2008 09:30:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.122786431431303 (code B ref 1448); Fri, 28 Nov 2008 09:30:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,FOURLA, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 28 Nov 2008 09:25:14 +0000 Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.188]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAS9P9aX030975 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 01:25:11 -0800 Received: by rn-out-0910.google.com with SMTP id j66so1192658rne.20 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 01:25:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4NeOykcVkpIyCYXtTqhOXjrfnBOtPakA20Gj9LaYDUU=; b=pj2yTWGP7nHIj/LhMuQppSDAb/TsOjQXTfcSLGMC7dJJsnNEVmLsl3eedyS/uPXiBT c6wfDStya5j2/tT2KpI0Om4F3o3fTw8H2jEmjOGYJ7OIYVl3Awm4jJj7NV5qKeHGZt3f tyRNVp4L/UAg/oYF7FHBxxySaXg186NnGEYhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UpXTbChE2xRfamXWmz/HdDhxCgw3Gpgal6A0kdvbAqU6kPNCsHYFAYVmjuOv3OFIFO +zDGGN0jKqvTcIoqWJM3K3hwA3pwPMWpl3XubBdZqiahRMykyHwVWHT4BMlQeDhuZtT9 Bytw4S8j9v1wy0ZVCT8Qw/bN3BrRZQliswHOQ= Received: by 10.100.109.13 with SMTP id h13mr4005890anc.21.1227864309513; Fri, 28 Nov 2008 01:25:09 -0800 (PST) Received: by 10.100.13.13 with HTTP; Fri, 28 Nov 2008 01:25:09 -0800 (PST) Message-ID: Date: Fri, 28 Nov 2008 10:25:09 +0100 From: "Juanma Barranquero" To: "Feng li" Cc: 1448@debbugs.gnu.org In-Reply-To: <81hc5s5t2y.fsf@blackmagic-design.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81hc5s5t2y.fsf@blackmagic-design.com> X-CrossAssassin-Score: 2 merge 872 1446 1447 1448 quit On Fri, Nov 28, 2008 at 06:15, Feng li wrote: > Start emacs with "-q". Press "C-h b" to bring up the keybinding > help. Switch to the keybinding help window and press "PgDn" a few times > will cause emacs to crash. > > I have rebuilt a new emacs binary with debug info and attached the back > trace of the crash location at below. What you're seeing is bug#872 (also #1179). I originally thought it depended on `display-unibyte-via-language-environment', but it is not so; I've seen it (and suffered it) through several different incarnations. What they all have in common: - Using a "recent" MinGW GCC (4.2.1, 4.3.0-alpha, etc.) - Compiling with optimization - Trying to display unibyte (or, perhaps, some composed characters, I'm not sure) - It *always* happens when draw_glyphs is running - It mostly happens in fill_glyph_string I can reproduce it at will in a lot of ways, for example: M-x ucs-insert AEGEAN CHECK MARK or (let ((my-map (make-keymap))) (suppress-keymap my-map) (substitute-command-keys "\\{my-map}")) or having `display-unibyte-via-language-environment' set to t and `debug' being called for whatever reason, etc. etc. I've been trying to debug it, without success (it doesn't help that I know very little about the glyph handling code). I'm not even sure whether it is a compiler bug, or a bug in Emacs (it happens in code that was undergoing changes quite recently). Juanma From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: Eli Zaretskii , 1448@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 28 Nov 2008 11:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122786979921740 (code B ref -1); Fri, 28 Nov 2008 11:05:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER,IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Nov 2008 10:56:39 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mASAua67021725 for ; Fri, 28 Nov 2008 02:56:37 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L611X-00021c-U9 for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 05:56:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L611S-0001yb-CS for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 05:56:35 -0500 Received: from [199.232.76.173] (port=35577 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L611R-0001yE-M4 for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 05:56:29 -0500 Received: from mtaout5.012.net.il ([84.95.2.13]:10691) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L611R-0008BQ-3X for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 05:56:29 -0500 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KB100D00ID1FY00@i_mtaout5.012.net.il> for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2008 12:58:04 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.156.55]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KB100A4UIGQDHA2@i_mtaout5.012.net.il>; Fri, 28 Nov 2008 12:58:03 +0200 (IST) Date: Fri, 28 Nov 2008 12:56:05 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero , 1448@debbugs.gnu.org Cc: fengli@blackmagic-design.com, bug-gnu-emacs@gnu.org Message-id: References: <81hc5s5t2y.fsf@blackmagic-design.com> X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-CrossAssassin-Score: 2 > Date: Fri, 28 Nov 2008 10:25:09 +0100 > From: "Juanma Barranquero" > Cc: 1448@emacsbugs.donarmstrong.com > > What you're seeing is bug#872 (also #1179). > > I originally thought it depended on > `display-unibyte-via-language-environment', but it is not so; I've > seen it (and suffered it) through several different incarnations. > > What they all have in common: > > - Using a "recent" MinGW GCC (4.2.1, 4.3.0-alpha, etc.) > - Compiling with optimization Now I understand why I cannot reproduce this: I never bothered to upgrade to GCC 4.x. > - Trying to display unibyte (or, perhaps, some composed characters, > I'm not sure) How does "C-h b" get to display unibyte or composed characters? > I've been trying to debug it, without success (it doesn't help that I > know very little about the glyph handling code). I'm not even sure > whether it is a compiler bug, or a bug in Emacs (it happens in code > that was undergoing changes quite recently). Is it a Heisenbug? i.e., does it disappear if you add printf's around the code that crashes or in its callers? If the bug stays put when code around it is modified, you could try debugging it by adding "if (something) abort ();" lines testing various conditions that are suspect of causing the crash. Some observations based on the traceback posted by Feng Li: > Program received signal SIGSEGV, Segmentation fault. > 0x0101fdd5 in fill_glyph_string (s=0x820000, face_id=27, start=, end=, overlaps=) at xdisp.c:19740 Line 19740 in xdisp.c is this: s->ybase += voffset; And "bt full" says this about `s': > s = (struct glyph_string *) 0x0 However, `s' is dereferenced many times in `fill_glyph_string' before it gets to line 19740, so I think GDB lies about the place where it crashed (because GCC optimizes code to the degree that any relation between the code and the source lines is lost). Therefore, the first thing to do is disassembly the vicinity of the crash locus (0x0101fdd5) and see which code, exactly, crashes, and why. Disassembly should establish (1) the source line that crashes, and (2) which C-level variable causes the crash. Note that `s' is allocated via `alloca' in BUILD_CHAR_GLYPH_STRINGS, which is called by BUILD_GLYPH_STRINGS, which in turn is called by `draw_glyphs' at line 20332 in frame #1: > #1 0x01040a0c in draw_glyphs (w=0x3439800, x=72, row=0x3345260, area=TEXT_AREA, start=0, end=30, hl=DRAW_NORMAL_TEXT, overlaps=0) at xdisp.c:20332 The original source line 20332 in xdisp.c looks like this: BUILD_GLYPH_STRINGS (i, end, head, tail, hl, x, last_x); From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: "Juanma Barranquero" , 1448@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 28 Nov 2008 11:30:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.122787141728596 (code B ref 1448); Fri, 28 Nov 2008 11:30:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 28 Nov 2008 11:23:37 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mASBNYOf028589 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 03:23:35 -0800 Received: by an-out-0708.google.com with SMTP id c38so512827ana.31 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 03:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FJlcvnU07kAJV2YKZr8YdHLF3XHWpJUUP7O0V8bmd3c=; b=VZXAAoRrU8z22M6VM/ZhwzwiUUyccA0HUiHoEWbsxWrfVNF44OgULiF+v7C9fGlq3H UicnYn5ckfI6WIZnEIuymIe/7U0XLTyn5267qo/0GfxHc4O6RzGG+LAEr2KpyfuJwUhZ 9n67nKWgGqEKYM2DZpBCt6MwwLSx3yidymKCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=IpsEkWIJo4aME5CUJQ3f/Hv+mWx+vN3TXI2hOfWSG/fVL7K9ADVNIhS2mgdq1CwLAD xuU8Sv+WL9H8ftG1jvxDnrKE0ljxG/kIsDMNgkq44+M3CU2cdf2wiUDaoIBhKNXy2s9o 3wVrIrmQd6xAQDtAKLDLgRYpiZzGo9UTh33f8= Received: by 10.100.153.4 with SMTP id a4mr4049445ane.101.1227871413761; Fri, 28 Nov 2008 03:23:33 -0800 (PST) Received: by 10.100.13.13 with HTTP; Fri, 28 Nov 2008 03:23:33 -0800 (PST) Message-ID: Date: Fri, 28 Nov 2008 12:23:33 +0100 From: "Juanma Barranquero" To: "Eli Zaretskii" Cc: 1448@debbugs.gnu.org, "Feng li" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81hc5s5t2y.fsf@blackmagic-design.com> On Fri, Nov 28, 2008 at 11:56, Eli Zaretskii wrote: > How does "C-h b" get to display unibyte or composed characters? In a keymap case I found, Emacs crashed while trying to display \200. But I could be wrong (again) about what exactly triggers the crash. > Is it a Heisenbug? i.e., does it disappear if you add printf's around > the code that crashes or in its callers? Not exactly a heisenbug, because it does not disappear. It moves. That's why I've said that it always fails with draw_glyphs in the stack, but not always in fill_glyph_string. > If the bug stays put when code around it is modified, you could try > debugging it by adding "if (something) abort ();" lines testing > various conditions that are suspect of causing the crash. I've tried that (well, I added xassert() and/or eassert) at likely places; they didn't get triggered. > However, `s' is dereferenced many times in `fill_glyph_string' before > it gets to line 19740, so I think GDB lies about the place where it > crashed (because GCC optimizes code to the degree that any relation > between the code and the source lines is lost). Yes, I agree that GDB lies. If only the bug happened with non-optimized code... > Therefore, the first thing to do is disassembly the vicinity of the > crash locus (0x0101fdd5) and see which code, exactly, crashes, and > why. Disassembly should establish (1) the source line that crashes, > and (2) which C-level variable causes the crash. I'll try to do that. > Note that `s' is allocated via `alloca' in BUILD_CHAR_GLYPH_STRINGS, > which is called by BUILD_GLYPH_STRINGS, which in turn is called by > `draw_glyphs' at line 20332 in frame #1: Sorry, I fail to understand what you are trying to say. I've suspected that alloca'd memory is related to the crash, but I don't see how. Juanma From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: Eli Zaretskii , 1448@debbugs.gnu.org Resent-From: Eli Zaretskii Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 28 Nov 2008 12:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.12278739938000 (code B ref 1448); Fri, 28 Nov 2008 12:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 28 Nov 2008 12:06:33 +0000 Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mASC6SpD007989 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 04:06:30 -0800 Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KB100500LJZFN00@i-mtaout6.012.net.il> for 1448@emacsbugs.donarmstrong.com; Fri, 28 Nov 2008 14:08:11 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.156.55]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KB100322LPK5BQ0@i-mtaout6.012.net.il>; Fri, 28 Nov 2008 14:08:11 +0200 (IST) Date: Fri, 28 Nov 2008 14:06:10 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero Cc: 1448@debbugs.gnu.org, fengli@blackmagic-design.com Message-id: References: <81hc5s5t2y.fsf@blackmagic-design.com> > Date: Fri, 28 Nov 2008 12:23:33 +0100 > From: "Juanma Barranquero" > Cc: 1448@emacsbugs.donarmstrong.com, "Feng li" > > > Note that `s' is allocated via `alloca' in BUILD_CHAR_GLYPH_STRINGS, > > which is called by BUILD_GLYPH_STRINGS, which in turn is called by > > `draw_glyphs' at line 20332 in frame #1: > > Sorry, I fail to understand what you are trying to say. I was just trying to add more info about where `s' comes from. Since it comes from a call to `alloca', which is a compiler built-in with GCC, it could be a compiler bug > I've suspected that alloca'd memory is related to the crash, but I > don't see how. Neither do I. From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: "Juanma Barranquero" , 1448@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 28 Nov 2008 12:15:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.12278741058013 (code B ref 1448); Fri, 28 Nov 2008 12:15:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 28 Nov 2008 12:08:25 +0000 Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mASC8MtE008007 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 04:08:24 -0800 Received: by rn-out-0910.google.com with SMTP id j66so1225165rne.20 for <1448@emacsbugs.donarmstrong.com>; Fri, 28 Nov 2008 04:08:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3h5IddR4R4OpUpbcz7iDefH8C3C8/h8Y2qAF3o2yodc=; b=Zgmm/9JDBDPRIyHP7TMsrKJY1MrdNA6xud2Ptb4RcGR9SsdeCqJ9Ro0BhVTu1X9G1p FVdM23aYtQQjIsy+xRbKYhv75sEjTn9htmnWL7y3OBpGn67KDJSz/CgVP19wNJC6e+tw LcPrVTipEUP64aSi5TlaMA4TErQxFwHCcZV9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HfZYjCWkxmTGTJ2vzjc7c9qantp0jDxkI0ZHX9jfofLacYCCnowAJ7L+UB4KpuJ7p4 AxkKR2EbMtlRaovxywMCyHi0qi35eSX2MtObB/VzwP49NXs0aHRo8xdRZPxSGhVrimX0 WFQq3VsFla/ztieUV0JRDeLBSQ29NKciUBOWc= Received: by 10.100.126.15 with SMTP id y15mr4084781anc.38.1227874102455; Fri, 28 Nov 2008 04:08:22 -0800 (PST) Received: by 10.100.13.13 with HTTP; Fri, 28 Nov 2008 04:08:22 -0800 (PST) Message-ID: Date: Fri, 28 Nov 2008 13:08:22 +0100 From: "Juanma Barranquero" To: "Eli Zaretskii" Cc: 1448@debbugs.gnu.org, fengli@blackmagic-design.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81hc5s5t2y.fsf@blackmagic-design.com> On Fri, Nov 28, 2008 at 13:06, Eli Zaretskii wrote: > Since > it comes from a call to `alloca', which is a compiler built-in with > GCC, it could be a compiler bug Ah, of course! Thanks. Juanma From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: Feng Li , 1448@debbugs.gnu.org Resent-From: Feng Li Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Sun, 30 Nov 2008 22:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.122808308728061 (code B ref 1448); Sun, 30 Nov 2008 22:20:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 30 Nov 2008 22:11:27 +0000 Received: from smtpauth00.csee.onr.siteprotect.com (smtpauth00.csee.onr.siteprotect.com [64.26.60.144]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAUMBOpI028055 for <1448@emacsbugs.donarmstrong.com>; Sun, 30 Nov 2008 14:11:26 -0800 Received: from SCUMBAG (unknown [203.111.191.138]) (Authenticated sender: fengli@blackmagic-design.com) by smtpauth00.csee.onr.siteprotect.com (Postfix) with ESMTP id B1212758059; Sun, 30 Nov 2008 16:11:22 -0600 (CST) From: Feng Li To: "Juanma Barranquero" Cc: 1448@debbugs.gnu.org References: <81hc5s5t2y.fsf@blackmagic-design.com> Date: Mon, 01 Dec 2008 09:11:12 +1100 In-Reply-To: (Juanma Barranquero's message of "Fri, 28 Nov 2008 10:25:09 +0100") Message-ID: <811vwsg8zj.fsf@blackmagic-design.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Juanma Barranquero" writes: > I've been trying to debug it, without success (it doesn't help that I > know very little about the glyph handling code). I'm not even sure > whether it is a compiler bug, or a bug in Emacs (it happens in code > that was undergoing changes quite recently). > I doubt this is a compiler bug because it did not happen in my previous Emacs build which is compiled with the same compiler in October. -- # Feng Li From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: "Juanma Barranquero" , 1448@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Sun, 30 Nov 2008 23:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.12280861887828 (code B ref 1448); Sun, 30 Nov 2008 23:10:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 30 Nov 2008 23:03:08 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAUN35tL007818 for <1448@emacsbugs.donarmstrong.com>; Sun, 30 Nov 2008 15:03:07 -0800 Received: by an-out-0708.google.com with SMTP id c38so785596ana.31 for <1448@emacsbugs.donarmstrong.com>; Sun, 30 Nov 2008 15:03:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gVmZ40Rcq1/IB5ulO1L8MkuDSYIaQQ/SOmUJl7FEOlE=; b=LbJA0+PBxZ3JDvca5YY+PohIsjePDU/iQgVGuyi4BDS1i5uheoI2Fxf+4BzesIekcy 2elcB0H7DlivUAC9ZXIM/WHX0amE7B8+zZB2bRJ5EUAs7chqRMwIFfuKWXp/l4M6U4ES rKaxSG9pCSVxgG/eClsTHt8u7gm0ajnJQNkv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XMnRDT0kTV9J7b0WtsqmEszyRTlDWXnmEiadw1unBdEpJAFhZnW262AGxBwSGiWAVI M2f4hgm6KryiwO+DZAkfE2eZUeHs3VgdKj/0cOP3Mmbx1DxavgMehoAzvYON7F3wuPry XEqSqUHJab+K4NBJHd9erkq9n1eBEvPFMsY0s= Received: by 10.100.242.20 with SMTP id p20mr5358788anh.75.1228086184957; Sun, 30 Nov 2008 15:03:04 -0800 (PST) Received: by 10.100.13.13 with HTTP; Sun, 30 Nov 2008 15:03:04 -0800 (PST) Message-ID: Date: Mon, 1 Dec 2008 00:03:04 +0100 From: "Juanma Barranquero" To: "Feng Li" Cc: 1448@debbugs.gnu.org In-Reply-To: <811vwsg8zj.fsf@blackmagic-design.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81hc5s5t2y.fsf@blackmagic-design.com> <811vwsg8zj.fsf@blackmagic-design.com> On Sun, Nov 30, 2008 at 23:11, Feng Li wrote: > I doubt this is a compiler bug because it did not happen in my previous > Emacs build which is compiled with the same compiler in October. It also started suddenly for me, after some big changes related (I think) to character composition. But that does not mean that it could not be a compiler bug: perhaps the new code triggers the bug, and the old code didn't. That said, my gut feeling is that is not a compiler bug because I'm getting it with two compilers, 4.2.1 and 4.3.0, but it is not impossible that such a bug, if it is specific to the MinGW port, could go undetected between releases. Juanma From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: Feng Li , 1448@debbugs.gnu.org Resent-From: Feng Li Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 04 Dec 2008 02:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.12283588623761 (code B ref 1448); Thu, 04 Dec 2008 02:55:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,BAYES_00,GMAIL, HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 4 Dec 2008 02:47:42 +0000 Received: from smtpauth02.csee.onr.siteprotect.com (smtpauth02.csee.onr.siteprotect.com [64.26.60.136]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB42ldLo003755 for <1448@emacsbugs.donarmstrong.com>; Wed, 3 Dec 2008 18:47:40 -0800 Received: from FENGL_PC (unknown [203.111.191.138]) (Authenticated sender: fengli@blackmagic-design.com) by smtpauth02.csee.onr.siteprotect.com (Postfix) with ESMTP id 433D7E38012; Wed, 3 Dec 2008 20:47:36 -0600 (CST) From: Feng Li To: "Juanma Barranquero" Cc: 1448@debbugs.gnu.org References: <81hc5s5t2y.fsf@blackmagic-design.com> <811vwsg8zj.fsf@blackmagic-design.com> Date: Thu, 04 Dec 2008 13:47:33 +1100 In-Reply-To: (Juanma Barranquero's message of "Mon, 1 Dec 2008 00:03:04 +0100") Message-ID: <877i6girlm.fsf@blackmagic-design.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Juanma Barranquero" writes: > On Sun, Nov 30, 2008 at 23:11, Feng Li wrote: > >> I doubt this is a compiler bug because it did not happen in my previous >> Emacs build which is compiled with the same compiler in October. > > It also started suddenly for me, after some big changes related (I > think) to character composition. > > But that does not mean that it could not be a compiler bug: perhaps > the new code triggers the bug, and the old code didn't. > > That said, my gut feeling is that is not a compiler bug because I'm > getting it with two compilers, 4.2.1 and 4.3.0, but it is not > impossible that such a bug, if it is specific to the MinGW port, could > go undetected between releases. > > Juanma > I can confirm this bug happens for msvc2003 builds too. And just like the mingw build, "C-h b" then scroll down will crash emacs 100% of the time. -- # Feng Li # Blackmagic Design # fengli@blackmagic-design.com # www.blackmagic-design.com From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: "Juanma Barranquero" , 1448@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 04 Dec 2008 08:50:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.122838024530470 (code B ref 1448); Thu, 04 Dec 2008 08:50:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 4 Dec 2008 08:44:05 +0000 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB48i1VU030464 for <1448@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 00:44:03 -0800 Received: by yw-out-2324.google.com with SMTP id 3so1696368ywj.31 for <1448@emacsbugs.donarmstrong.com>; Thu, 04 Dec 2008 00:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+DOYrdd39EK1W6kxHQsOulxebGOeFkohHx74yhB4wV8=; b=hsyETZt4cykKyydBm6FTeZ5dHuVeYYYf2Va/uf6Se2UJxHoKedoe2Ls+aETXyRV+tD P5oczCV/i4mgJjtlqxtgXShHfj+giRUSUBmP/d7olLec2Al4A00FycJn5Cc4ywQTV57F Q/TsPU+Fj6eAOOvkIhCdt0GbGxvVo2SNHQjG0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OkLLEqt6QTWHQxfBd1mJIDELPdm0bJNSI5NEYlZayOMelX79dAULCPBk5cxFefP0Am 6wQ8QELn+x/4U2eTAnW7+QQU27AuYSrsPhU7CB0zWydAAOPJt4ZlrQ84KPSs/kaZYTzt qOP3M98WPVfnnfMtVNRzZcBqQn8gmkZpTbCJY= Received: by 10.100.108.9 with SMTP id g9mr8298806anc.137.1228380241607; Thu, 04 Dec 2008 00:44:01 -0800 (PST) Received: by 10.100.13.13 with HTTP; Thu, 4 Dec 2008 00:44:01 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2008 09:44:01 +0100 From: "Juanma Barranquero" To: "Feng Li" Cc: 1448@debbugs.gnu.org In-Reply-To: <877i6girlm.fsf@blackmagic-design.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81hc5s5t2y.fsf@blackmagic-design.com> <811vwsg8zj.fsf@blackmagic-design.com> <877i6girlm.fsf@blackmagic-design.com> On Thu, Dec 4, 2008 at 03:47, Feng Li wrote: > I can confirm this bug happens for msvc2003 builds too. That's good news, of a sort. We can discard the GCC bug hypothesis. Now, it would be great to know why does it happen only on Windows. Juanma From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: Stefan Monnier , 1448@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 04 Dec 2008 13:40:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.12283974937503 (code B ref 1448); Thu, 04 Dec 2008 13:40:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 4 Dec 2008 13:31:33 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4DVU6f007496 for <1448@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 05:31:31 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcEAJ9qN0nO+Jkl/2dsb2JhbACBbc5AgwKBIw X-IronPort-AV: E=Sophos;i="4.33,715,1220241600"; d="scan'208";a="30638855" Received: from 206-248-153-37.dsl.teksavvy.com (HELO pastel.home) ([206.248.153.37]) by ironport2-out.teksavvy.com with ESMTP; 04 Dec 2008 08:31:24 -0500 Received: by pastel.home (Postfix, from userid 20848) id 5078584A9; Thu, 4 Dec 2008 08:31:24 -0500 (EST) From: Stefan Monnier To: Juanma Barranquero Cc: 1448@debbugs.gnu.org, "Feng Li" Message-ID: References: <81hc5s5t2y.fsf@blackmagic-design.com> <811vwsg8zj.fsf@blackmagic-design.com> <877i6girlm.fsf@blackmagic-design.com> Date: Thu, 04 Dec 2008 08:31:24 -0500 In-Reply-To: (Juanma Barranquero's message of "Thu, 4 Dec 2008 09:44:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> I can confirm this bug happens for msvc2003 builds too. > That's good news, of a sort. We can discard the GCC bug hypothesis. > Now, it would be great to know why does it happen only on Windows. The description of the bug makes me think it may have to do with the font code. E.g. when you scroll C-h b you may end up displaying something like the character #x3fff7f. Stefan From unknown Wed Jun 18 23:13:24 2025 X-Loop: don@donarmstrong.com Subject: bug#1448: 23.0.60; update to cvs emacs crash report Reply-To: "Juanma Barranquero" , 1448@debbugs.gnu.org Resent-From: "Juanma Barranquero" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Thu, 04 Dec 2008 15:00:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1448 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Received: via spool by 1448-submit@emacsbugs.donarmstrong.com id=B1448.122840230528064 (code B ref 1448); Thu, 04 Dec 2008 15:00:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.8 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1448) by emacsbugs.donarmstrong.com; 4 Dec 2008 14:51:45 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB4EpgjZ028058 for <1448@emacsbugs.donarmstrong.com>; Thu, 4 Dec 2008 06:51:43 -0800 Received: by yx-out-2324.google.com with SMTP id 8so1759939yxg.31 for <1448@emacsbugs.donarmstrong.com>; Thu, 04 Dec 2008 06:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=sk4iQR2B5kFys/3JcbW70r2DzMYbxMuhL6MJ7iiIfzA=; b=LwC+2VWCbdhrtTf8yFjPl1F/DYjWYTkb/KiNbKVH6PnZcNZsszIPix7XSik4m3rXDZ G94GLi1woOt8DUgB5dTIWHeKos3rKZ6CDJWyhAVspV6MdLekkKckDpAw/7dfrzXUvxJ0 txZ8GzFqbNV5VTWDdw9GAErIikaU6bU0Jxlds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=R2HWk+X+/qrkVnmpVrqAc7IRHJA0kApz0M/JRfSI6nn8RUnuCio6Jq6ATx7cObwiLf MFvVwMDRCUo7uU4DRpvAA8Fmz7UUmyh7p1sHfp3goAHvb/qwy73KbNX+S0ZdCGNL8oSp 1emhchIXvkM2Ahh6d+BLpbDpI7vrkNRAmscdM= Received: by 10.100.164.12 with SMTP id m12mr8454999ane.144.1228402301698; Thu, 04 Dec 2008 06:51:41 -0800 (PST) Received: by 10.100.13.13 with HTTP; Thu, 4 Dec 2008 06:51:41 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2008 15:51:41 +0100 From: "Juanma Barranquero" To: "Stefan Monnier" Cc: 1448@debbugs.gnu.org, "Feng Li" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <81hc5s5t2y.fsf@blackmagic-design.com> <811vwsg8zj.fsf@blackmagic-design.com> <877i6girlm.fsf@blackmagic-design.com> On Thu, Dec 4, 2008 at 14:31, Stefan Monnier wrote: > The description of the bug makes me think it may have to do with the > font code. Crash is always in the call stack after draw_glyphs, so yes. Whatever the reason, it appeared on or before 2008-08-05. Juanma