From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11003: Emacs-24 Hangs When Displaying Unicode #x6c0 (ARABIC HEH WITH YEH ABOVE) -- gdb backtrace Date: Tue, 13 Mar 2012 20:46:14 +0200 Message-ID: <83sjhcwd8p.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331664439 1073 80.91.229.3 (13 Mar 2012 18:47:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2012 18:47:19 +0000 (UTC) Cc: 11003@debbugs.gnu.org To: Mohsen BANAN , Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 13 19:47:17 2012 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 1S7Wkf-0005pk-C9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Mar 2012 19:47:17 +0100 Original-Received: from localhost ([::1]:49523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Wke-0000Dn-FY for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Mar 2012 14:47:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Wka-0000Df-Dr for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2012 14:47:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7WkT-0008GT-Kg for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2012 14:47:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7WkT-0008GM-HP for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2012 14:47:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S7XDR-0006df-Sf for bug-gnu-emacs@gnu.org; Tue, 13 Mar 2012 15:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Mar 2012 19:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11003 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11003-submit@debbugs.gnu.org id=B11003.133166617725462 (code B ref 11003); Tue, 13 Mar 2012 19:17:01 +0000 Original-Received: (at 11003) by debbugs.gnu.org; 13 Mar 2012 19:16:17 +0000 Original-Received: from localhost ([127.0.0.1]:49335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7XCh-0006cc-QX for submit@debbugs.gnu.org; Tue, 13 Mar 2012 15:16:16 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62957) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7XCV-0006c2-Dp for 11003@debbugs.gnu.org; Tue, 13 Mar 2012 15:16:14 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M0U00E006SBLJ00@a-mtaout22.012.net.il> for 11003@debbugs.gnu.org; Tue, 13 Mar 2012 20:46:03 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.179.236]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0U00EGW6SQ6U80@a-mtaout22.012.net.il>; Tue, 13 Mar 2012 20:46:03 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57771 Archived-At: > From: Mohsen BANAN > Date: Mon, 12 Mar 2012 22:32:47 -0700 > > On emacs23, describe-char on that character produces: > > character: (1728, #o3300, #x6c0) > preferred charset: unicode (Unicode (ISO10646)) > code point: 0x06C0 > syntax: w which means: word > category: .:Base, b:Arabic > buffer code: #xDB #x80 > file code: #xDB #x80 (encoded by coding system utf-8-unix) > display: by this font (glyph code) > xft:-unknown-B Compset-normal-normal-normal-*-13-*-*-*-*-0-iso10646-1 (#xC7) > > Character code properties: customize what to show > name: ARABIC LETTER HEH WITH YEH ABOVE > old-name: ARABIC LETTER HAMZAH ON HA > general-category: Lo (Letter, Other) > decomposition: (1749 1620) I see the same in the latest trunk of Emacs 24, FWIW. > 0xb6b7de08 in OTF_drive_gdef () from /usr/lib/libotf.so.0 > (gdb) bt > #0 0xb6b7de08 in OTF_drive_gdef () from /usr/lib/libotf.so.0 > #1 0x081fa512 in ftfont_drive_otf (font=0xbf9a5440, spec=0x8cf2fb8, in=0xbf9a5288, from=0, to=3, out=0xbf9a53c8, > adjustment=0xbf9a4d30) at ftfont.c:1863 > #2 0xb6b649e5 in ?? () from /usr/lib/libm17n-flt.so.0 > #3 0xb6b67712 in ?? () from /usr/lib/libm17n-flt.so.0 > #4 0xb6b68820 in ?? () from /usr/lib/libm17n-flt.so.0 > #5 0xb6b6995e in mflt_run () from /usr/lib/libm17n-flt.so.0 > #6 0x081f9d49 in ftfont_shape_by_flt (matrix=0x9e0cb8c, otf=0x9f40fb8, ft_face=0x9e0be20, font=0x9e0cae0, > lgstring=) at ftfont.c:2515 > #7 ftfont_shape (lgstring=138875853) at ftfont.c:2579 > #8 0x081fbde3 in xftfont_shape (lgstring=138875853) at xftfont.c:688 > #9 0x081ad064 in Ffont_shape_gstring (gstring=138875853) at font.c:4308 > #10 0x0819e0c0 in Ffuncall (nargs=2, args=0xbf9a5590) at eval.c:3002 > #11 0x081d4ad5 in exec_byte_code (bytestr=, vector=137272173, maxdepth=24, args_template=138756330, nargs=0, > args=) at bytecode.c:785 > #12 0x0819db8f in funcall_lambda (fun=137272093, nargs=5, arg_vector=0xbf9a5888) at eval.c:3233 > #13 0x0819decb in Ffuncall (nargs=6, args=0xbf9a5884) at eval.c:3063 > #14 0x0819c8f6 in internal_condition_case_n (bfun=0x819dcf0 , nargs=6, args=0xbf9a5884, handlers=138756354, > hfun=0x8076610 ) at eval.c:1637 > #15 0x08074312 in safe_call (args=0xbf9a5884, nargs=6) at xdisp.c:2357 > #16 safe_call (nargs=6, args=0xbf9a5884) at xdisp.c:2341 > #17 0x081ee466 in autocmp_chars (rule=, charpos=, bytepos=15723, limit=, > win=0xa25e6f8, face=0x9b96cd0, string=138756330) at composite.c:969 > #18 0x081f2b89 in composition_reseat_it (cmp_it=0xbf9a7110, charpos=14566, bytepos=15723, endpos=1, w=0xa25e6f8, > face=0x9b96cd0, string=138756330) at composite.c:1300 > #19 0x080838c0 in next_element_from_buffer (it=0xbf9a6c40) at xdisp.c:7755 This is deep in the bowels of libotf and libm17n-flt. Perhaps Handa-san could look into this.