From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#23522: 25.0.93; SEGFAULT when displaying HELLO Date: Thu, 12 May 2016 16:49:15 -0400 Message-ID: <87wpmzgfxw.fsf@md5i.com> References: <83lh3f9jdr.fsf@gnu.org> <83eg979g1p.fsf@gnu.org> Reply-To: mwd@md5i.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463086225 31903 80.91.229.3 (12 May 2016 20:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 May 2016 20:50:25 +0000 (UTC) Cc: Michael Welsh Duggan , 23522@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 12 22:50:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b0xYi-0001KS-9A for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 May 2016 22:50:12 +0200 Original-Received: from localhost ([::1]:59761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0xYh-0002Sj-KM for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 May 2016 16:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0xYe-0002P7-73 for bug-gnu-emacs@gnu.org; Thu, 12 May 2016 16:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0xYY-0006Ac-KR for bug-gnu-emacs@gnu.org; Thu, 12 May 2016 16:50:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0xYY-0006AO-HM for bug-gnu-emacs@gnu.org; Thu, 12 May 2016 16:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b0xYY-00023m-9l for bug-gnu-emacs@gnu.org; Thu, 12 May 2016 16:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2016 20:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23522 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23522-submit@debbugs.gnu.org id=B23522.14630861597861 (code B ref 23522); Thu, 12 May 2016 20:50:02 +0000 Original-Received: (at 23522) by debbugs.gnu.org; 12 May 2016 20:49:19 +0000 Original-Received: from localhost ([127.0.0.1]:49373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0xXq-00022j-Ut for submit@debbugs.gnu.org; Thu, 12 May 2016 16:49:19 -0400 Original-Received: from md5i.com ([75.151.244.229]:35738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0xXp-00022b-0o for 23522@debbugs.gnu.org; Thu, 12 May 2016 16:49:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:Reply-To:References:Subject:Cc:To:From:Sender:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=G3HOkO0AhZldnYrmRJRvVuuUjoe8mxF7jdAYRjvmktg=; b=dsGbdwUOy4iT2x9AUi9UwHJ6EP +1wJJIv7qdSLWa1Cskrtu9644QX67k7o4BZbYDFLRMtot93LtOeaaFGiP0Rn7W+XG+DJzmXr09owE 2l2EZzHH4+bR+Zp7PcwxsqEcj; Original-Received: from md5i by md5i.com with local (Exim 4.87) (envelope-from ) id 1b0xXn-0007UN-Cf; Thu, 12 May 2016 16:49:15 -0400 In-Reply-To: <83eg979g1p.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 May 2016 23:28:50 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118187 Archived-At: Eli Zaretskii writes: >> From: Michael Welsh Duggan >> Cc: , <23522@debbugs.gnu.org> >> Date: Thu, 12 May 2016 15:58:43 -0400 >>=20 >> (gdb) up >> #4 0x00000000006b47e2 in ftfont_shape_by_flt (lgstring=3D14496901,=20 >> font=3D0x17b3660, ft_face=3D0x1739f10, otf=3D0x16df8d0, matrix=3D0x1= 7b3758) >> at ../../../git/emacs/src/ftfont.c:2655 >> (gdb) pp lgstring >> [[#> Gujarati-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1"> 2744 2765 >> 2724 2759] nil [0 0 2744 98 10 0 9 8 0 nil] [1 1 2765 115 0 -4 3 0 4 >> nil] [2 2 2724 81 9 0 8 8 0 nil] [3 3 2759 110 0 -7 -1 12 -7 nil] >> nil nil nil nil] >> (gdb)=20 > > In the above stack frame, what is the value of g->g (it's a > structure)? (gdb) p g->g $3 =3D { c =3D 0,=20 code =3D 175,=20 from =3D 0,=20 to =3D 115,=20 xadv =3D 448,=20 yadv =3D 0,=20 ascent =3D 512,=20 descent =3D 0,=20 lbearing =3D 0,=20 rbearing =3D 448,=20 xoff =3D 0,=20 yoff =3D 0,=20 encoded =3D 1,=20 measured =3D 1,=20 adjusted =3D 0,=20 internal =3D 0 } > The crash seems to happen when Emacs tries to display line #10 of > HELLO, which begins with " South Asia:". The first word after that is > the one that causes the crash. Can you look at another system, where > there's no crash, and tell which font is used for that word? Looking at previous frames, it looks like the character is char 383: position: 383 of 3322 (11%), column: 16 character: =E0=AA=B8 (displayed as =E0=AA=B8) (codepoint 2744, = #o5270, #xab8) preferred charset: mule-unicode-0100-24ff (Unicode characters of the ra= nge U+0100..U+24FF.) code point in charset: 0x3978 script: gujarati syntax: w which means: word category: .:Base, L:Left-to-right (strong) to input: type "C-x 8 RET ab8" or "C-x 8 RET GUJARATI LETTER S= A" buffer code: #xE0 #xAA #xB8 file code: ESC #x24 #x2C #x31 #x39 #x78 (encoded by coding syst= em iso-2022-7bit-unix) display: composed to form "=E0=AA=B8=E0=AB=8D=E0=AA=A4=E0=AB= =87" (see below) Composed with the following character(s) "=E0=AB=8D=E0=AA=A4=E0=AB=87" usin= g this font: xft:-unknown-FreeSerif-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1 by these glyphs: [0 3 0 10195 9 0 10 10 0 nil] [0 3 2724 2103 10 1 10 10 1 nil] [0 3 2759 2132 0 -8 -2 13 -10 [-1 0 0]] Character code properties: customize what to show name: GUJARATI LETTER SA general-category: Lo (Letter, Other) decomposition: (2744) ('=E0=AA=B8') There are text properties here: charset mule-unicode-0100-24ff --=20 Michael Welsh Duggan (md5i@md5i.com)