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: Re: Assertion failes in w32uniscribe.c Date: Fri, 4 Apr 2008 11:35:05 +0200 Message-ID: References: <47F4F272.8050204@gnu.org> <47F5E34B.9040207@gnu.org> 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 1207301748 7041 80.91.229.12 (4 Apr 2008 09:35:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 09:35:48 +0000 (UTC) Cc: Emacs Devel To: "Jason Rumney" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 04 11:36:20 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JhiLH-0003yy-2d for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 11:36:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhiKe-0003GZ-8q for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 05:35:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhiKL-0003FT-4g for emacs-devel@gnu.org; Fri, 04 Apr 2008 05:35:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhiKH-0003CM-IH for emacs-devel@gnu.org; Fri, 04 Apr 2008 05:35:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhiKH-0003CB-5W for emacs-devel@gnu.org; Fri, 04 Apr 2008 05:35:13 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhiKG-00008f-Oy for emacs-devel@gnu.org; Fri, 04 Apr 2008 05:35:12 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so3957880wah.10 for ; Fri, 04 Apr 2008 02:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=Emz3FOcS9LkRp/DcxV2xmHBSKeIuyJLMJMlFk25dq28=; b=LxMUQ3wbTipnBtU5PzCUhpEdmPoTousdCUZCnKkXyZtG6yGwI8pJQqCLd+46yoAH/FmEcKbItVaC3wtEQumi8PCMi58q5uB8kGEnB5dn4cZbNnCGh5z4SAPGRw7qzs0EY5QEIuz5zsIdlOqlI5yCCDHcfehufpKTwCeSMOu6C2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mM1Zm2D81BcuziS4AoyJ4L57NIrUfR3gzUOqnRVsJxi5PlDGVS7wtpnAde16ggZmCwK7pLQ+UELRb7CPcvoeU5WwWQ9RRRo7zcxtlEQWHbfpePJtE+Ztth6cVrwuhkeIp+jlo3UzgkxZbu5rheLFAITxAowtMJ40ox0TznD0Kec= Original-Received: by 10.114.120.1 with SMTP id s1mr1415382wac.137.1207301705073; Fri, 04 Apr 2008 02:35:05 -0700 (PDT) Original-Received: by 10.115.72.13 with HTTP; Fri, 4 Apr 2008 02:35:05 -0700 (PDT) In-Reply-To: <47F5E34B.9040207@gnu.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: 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 Xref: news.gmane.org gmane.emacs.devel:94312 Archived-At: On Fri, Apr 4, 2008 at 10:14 AM, Jason Rumney wrote: With new code: -------------------------------------------------------------------------------- (gdb) break w32uniscribe.c:569 Breakpoint 3 at 0x1218e56: file w32uniscribe.c, line 569. (gdb) break w32uniscribe.c:618 Breakpoint 4 at 0x1219166: file w32uniscribe.c, line 618. (gdb) run -q Starting program: C:\emacs\trunk\src/..\emacs.exe -q [New thread 1560.0x720] [New thread 1560.0x18c] Breakpoint 3, uniscribe_check_otf (font=0x82d39c, otf_spec=19767413) at w32uniscribe.c:572 572 script = XCAR (otf_spec); (gdb) pp otf_spec (gujr nil (rphf)) (gdb) continue Continuing. Breakpoint 4, uniscribe_check_otf (font=0x82d39c, otf_spec=19767413) at w32uniscribe.c:621 621 OTF_INT16_VAL (tbl, 4, &scriptlist_table); (gdb) pp otf_spec 0 (gdb) continue Continuing. w32uniscribe.c:679: Emacs fatal error: assertion failed: CONSP((rest)) Breakpoint 1, w32_abort () at w32fns.c:9380 9380 button = MessageBox (NULL, (gdb) frame 2 #2 0x012198d2 in uniscribe_check_otf (font=0x82d39c, otf_spec=19767413) at w32uniscribe.c:679 679 for (feature = XCAR (rest); CONSP (rest); feature = XCAR (rest)) (gdb) pp otf_spec nil (gdb) -------------------------------------------------------------------------------- My Emacs is compiled with optimization, -DENABLE_CHECKING=1 and -fno-crossjumping. I can do a non-optimized build, if necessary. Perhaps irrelevant, but the crash is in Windows XP Pro, usp10.dll's version is 1.601.5022.8, and gcc is "gcc (GCC) 4.2.1-sjlj (mingw32-2)". Juanma