From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49066: 26.3; Segmentation fault on specific utf8 string Date: Sun, 27 Jun 2021 09:20:41 +0300 Message-ID: <83tuljq152.fsf@gnu.org> References: <87sg14kpkn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28973"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49066@debbugs.gnu.org, rpluim@gmail.com, eggert@cs.ucla.edu, larsi@gnus.org, mvsfrasson@gmail.com To: handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 27 08:21:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lxOAI-0007K9-5S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Jun 2021 08:21:10 +0200 Original-Received: from localhost ([::1]:44550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxOAG-0006pR-5I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Jun 2021 02:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxOAA-0006on-LB for bug-gnu-emacs@gnu.org; Sun, 27 Jun 2021 02:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxOAA-00013f-Dl for bug-gnu-emacs@gnu.org; Sun, 27 Jun 2021 02:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lxOAA-0001zc-6a for bug-gnu-emacs@gnu.org; Sun, 27 Jun 2021 02:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Jun 2021 06:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49066 X-GNU-PR-Package: emacs Original-Received: via spool by 49066-submit@debbugs.gnu.org id=B49066.16247748547628 (code B ref 49066); Sun, 27 Jun 2021 06:21:02 +0000 Original-Received: (at 49066) by debbugs.gnu.org; 27 Jun 2021 06:20:54 +0000 Original-Received: from localhost ([127.0.0.1]:48888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxOA2-0001yy-DI for submit@debbugs.gnu.org; Sun, 27 Jun 2021 02:20:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxO9z-0001yk-PK for 49066@debbugs.gnu.org; Sun, 27 Jun 2021 02:20:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56912) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxO9t-0000qY-Hw; Sun, 27 Jun 2021 02:20:45 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4734 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxO9t-00022X-55; Sun, 27 Jun 2021 02:20:45 -0400 In-Reply-To: <87sg14kpkn.fsf@gnu.org> (message from handa on Sun, 27 Jun 2021 11:29:28 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209030 Archived-At: > From: handa > Cc: rpluim@gmail.com, larsi@gnus.org, 49066@debbugs.gnu.org, > mvsfrasson@gmail.com, eggert@cs.ucla.edu > Date: Sun, 27 Jun 2021 11:29:28 +0900 > > So, I tried to restore the old code as the attached patch, and then the > patched emacs has no problem of rendering the above Bengali string. Thanks. Robert, Miguel: could you please try this patch and see if it fixes the problem? Since we are moving away of m17n-flt, I don't think we should optimize memory management when m17n-flt is used, especially if that causes problems. So if the patch fixes the crash, I think we should install it.