From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Crashes on draw_glyphs Date: Tue, 4 Nov 2008 17:57:21 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225817859 20835 80.91.229.12 (4 Nov 2008 16:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 16:57:39 +0000 (UTC) To: "Emacs Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 17:58:40 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward1.uio.no ([129.240.10.70]) by lo.gmane.org with esmtp (Exim 4.50) id 1KxPEk-0003M0-Sn for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 17:58:38 +0100 Original-Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1KxPDe-0004bm-BL for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 17:57:30 +0100 Original-Received: from mail-mx4.uio.no ([129.240.10.45]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KxPDe-0004bj-AA for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 17:57:30 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx4.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KxPDd-0007GE-Ig for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 17:57:30 +0100 Original-Received: from localhost ([127.0.0.1]:35057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxPDc-0007MD-AN for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 11:57:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxPDY-0007LA-AT for emacs-devel@gnu.org; Tue, 04 Nov 2008 11:57:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxPDX-0007KS-Ly for emacs-devel@gnu.org; Tue, 04 Nov 2008 11:57:23 -0500 Original-Received: from [199.232.76.173] (port=60756 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxPDX-0007KM-ER for emacs-devel@gnu.org; Tue, 04 Nov 2008 11:57:23 -0500 Original-Received: from rn-out-0910.google.com ([64.233.170.190]:51069) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxPDX-0007Mg-8E for emacs-devel@gnu.org; Tue, 04 Nov 2008 11:57:23 -0500 Original-Received: by rn-out-0910.google.com with SMTP id k32so2484602rnd.7 for ; Tue, 04 Nov 2008 08:57:21 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=6YfBxzy4f/xZK6NVKJYFeXCrCUev65guxOQ9TnM8lEE=; b=J/QIMTe0IHms348RYsEe4SGJXrZ9+LnK/EM6EAztl5AB6JUmf4ApHQoPciD/WBRFae Ggp+2sv9odLUEQK8sw5GX4W/mpNwFmCDnSdvXrC66YK1I/KvOra0+IMYjaFRoCa45hVZ P8bXCuz3jFJlok6HryQ9RiU08b8VuFV435kdw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=TjlkJfGRC9H9BdMNxze/tQhTGVwvv3w8dfL7dh/md4IoPtng/JjCQXg83u6ZLXfYj4 jOcJZQsEpuIWHMItthgiSPiuaTcpGtUzISFG8oSDGuf4sctalMAv5TLu2iwBt3od4FO0 7R2MrxKhwpkHVg4zTKnkEnXDYyabo6dZgtDc4= Original-Received: by 10.100.32.6 with SMTP id f6mr811721anf.87.1225817841296; Tue, 04 Nov 2008 08:57:21 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Tue, 4 Nov 2008 08:57:21 -0800 (PST) Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-UiO-SPF-Received: Received-SPF: pass (mail-mx4.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, MISSING_SUBJECT=0.001,NO_RECEIVED=-0.001,RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=NO) X-UiO-Scanned: 1E635F763EE1726B1EB9C89EB311BA15E0813805 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 200 minaction 2 bait 0 mail/h: 39 total 76018 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:105341 Archived-At: 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 which causes an assertion failure. Any help, pointer, idea, or mojo will be deeply appretiated. Juanma 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 #3 0x0105a72b in x_write_glyphs (start=0x3029000, len=1) at xdisp.c:21893 #4 0x01160263 in update_window_line (w=0x2e44a00, vpos=4, mouse_face_overwritten_p=0x82ee7c) at dispnew.c:4594 #5 0x01160824 in update_window (w=0x2e44a00, force_p=0) at dispnew.c:4310 #6 0x01162f71 in update_window_tree (w=0x2e44a00, force_p=0) at dispnew.c:4003 #7 0x01164769 in update_frame (f=0x2e44200, force_p=0, inhibit_hairy_id_p=0) at dispnew.c:3930 #8 0x010481a2 in redisplay_internal (preserve_echo_area=) at xdisp.c:11828 #9 0x0104930e in redisplay_preserve_echo_area (from_where=2) at xdisp.c:12043 #10 0x01159e0f in sit_for (timeout=0, reading=0, do_display=2) at dispnew.c:6609 #11 0x01084352 in Fexecute_extended_command (prefixarg=47908865) at keyboard.c:10459 #12 0x0101a000 in Ffuncall (nargs=2, args=0x82fab0) at eval.c:3044 #13 0x01149d8d in Fcall_interactively (function=47968905, record_flag=47908865, keys=47942404) at callint.c:857 #14 0x01019fd6 in Ffuncall (nargs=4, args=0x82fc78) at eval.c:3050 #15 0x0101a258 in call3 (fn=48100449, arg1=47968905, arg2=47908865, arg3=47908865) at eval.c:2870 #16 0x01096338 in command_loop_1 () at keyboard.c:1880 #17 0x01019316 in internal_condition_case (bfun=0x1095d5f , handlers=47972617, hfun=0x108cf97 ) at eval.c:1511 #18 0x0108c42b in command_loop_2 () at keyboard.c:1338 #19 0x010193c0 in internal_catch (tag=47968689, func=0x108c408 , arg=47908865) at eval.c:1247 #20 0x0108cde2 in command_loop () at keyboard.c:1317 #21 0x0108d130 in recursive_edit_1 () at keyboard.c:942 #22 0x0108d29b in Frecursive_edit () at keyboard.c:1004 #23 0x01002fb1 in main (argc=2, argv=0xa941e0) at emacs.c:1777 Lisp Backtrace: "execute-extended-command" (0x82fab4) "call-interactively" (0x82fc7c)