From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#11003: Emacs-24 Hangs When Displaying Unicode #x6c0 (ARABIC HEH WITH YEH ABOVE) -- gdb backtrace Date: Wed, 21 Mar 2012 11:09:51 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332295833 31460 80.91.229.3 (21 Mar 2012 02:10:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 02:10:33 +0000 (UTC) Cc: 11003@debbugs.gnu.org, list-general@mohsen.1.banan.byname.net To: Mohsen BANAN Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 03:10:32 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 1SAB0P-000825-NT for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Mar 2012 03:10:29 +0100 Original-Received: from localhost ([::1]:56883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAB0O-00013s-SA for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 22:10:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAB0M-00013R-5I for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 22:10:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAB0J-0006Lg-Oz for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 22:10:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAB0J-0006Lc-Lm for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 22:10:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SABTx-000544-R8 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 22:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Mar 2012 02:41: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.133229765019447 (code B ref 11003); Wed, 21 Mar 2012 02:41:01 +0000 Original-Received: (at 11003) by debbugs.gnu.org; 21 Mar 2012 02:40:50 +0000 Original-Received: from localhost ([127.0.0.1]:58549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SABTk-00053Z-97 for submit@debbugs.gnu.org; Tue, 20 Mar 2012 22:40:50 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:52749) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SABTW-00053C-U9 for 11003@debbugs.gnu.org; Tue, 20 Mar 2012 22:40:47 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id q2L29pNb029767; Wed, 21 Mar 2012 11:09:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id q2L29pbl001342; Wed, 21 Mar 2012 11:09:51 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id q2L29pLW012571; Wed, 21 Mar 2012 11:09:51 +0900 (JST) env-from (handa@m17n.org) In-Reply-To: (message from Mohsen BANAN on Tue, 20 Mar 2012 17:23:17 -0700) 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:57917 Archived-At: In article , Mohsen BANAN writes: Kenichi> I've just installed a fix to the trunk. Please try again Kenichi> with the latest code. > I tested your code and it works in my environment. > The character unicode #x6c0 is properly displayed > and emacs24 does not hang. That's good. > So, I think bug#11003 can be considered closed. Yes. > But, for my benefit (and perhaps others) perhaps > you can describe what was special about that > one character and that one font. Were there other > characters that were also problematic? > Why was this not a problem in emacs23 and how/when did > it enter emacs24? ... Emacs calls a function of m17n-lib (the underlining shaper engine), and that function calls Emacs' callback funciton ftfont_drive_otf. The bug was in incorrect handling of an argument given to ftfont_driver_otf in some case. As Arabic characters are displayed without underlining shaper engine in Emacs 23, this bug was not revealed. So, it is better to apply the fix to emacs 23 too if we are going to release 23.5. --- Kenichi Handa handa@m17n.org