From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Assertion failes in w32uniscribe.c Date: Fri, 04 Apr 2008 09:14:03 +0100 Message-ID: <47F5E34B.9040207@gnu.org> References: <47F4F272.8050204@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207296882 19054 80.91.229.12 (4 Apr 2008 08:14:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 08:14:42 +0000 (UTC) Cc: Emacs Devel To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 04 10:15:13 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 1Jhh4k-0004Gz-Lr for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 10:15:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhh47-0005wf-Ry for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 04:14:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jhh40-0005us-VT for emacs-devel@gnu.org; Fri, 04 Apr 2008 04:14:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jhh3y-0005uB-5A for emacs-devel@gnu.org; Fri, 04 Apr 2008 04:14:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhh3x-0005tl-73 for emacs-devel@gnu.org; Fri, 04 Apr 2008 04:14:17 -0400 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jhh3x-0007VW-33 for emacs-devel@gnu.org; Fri, 04 Apr 2008 04:14:17 -0400 Original-X-Trace: 51135590/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkAFAL1/9UdTQxds/2dsb2JhbACBWqoX X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 04 Apr 2008 09:14:15 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id C2DC4500; Fri, 4 Apr 2008 09:14:14 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:94308 Archived-At: Juanma Barranquero wrote: > I suppose it's really Flength (otf_spec), isn't it? > Fixed. >> but can you debug and see where this >> bogus font spec is coming from? >> > > Yes. > To clarify what I mean, the following commands would give a lot of useful information: (with old code, after the crash): frame 2 pp otf_spec (with new code): break w32uniscribe.c:569 break w32uniscribe.c:618 run -q pp otf_spec (gdb) backtrace #0 w32_abort () at w32fns.c:9380 #1 0x0101f3bb in die (msg=0x143b2d8 "assertion failed: CONSP((rest))", file=0x143aab0 "w32uniscribe.c", line=671) at alloc.c:6210 #2 0x01219b7c in uniscribe_check_otf (font=0x82d39c, otf_spec=19767685) at w32uniscribe.c:671