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#19435: SIGSEGV in PSEUDOVECTOR_TYPEP when using find-file on a RTL filename Date: Thu, 25 Dec 2014 17:41:53 +0200 Message-ID: <83tx0jn3cu.fsf@gnu.org> References: <87mw6dfr1r.fsf@violet.siamics.net> <549A7B1A.5070304@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419522259 24948 80.91.229.3 (25 Dec 2014 15:44:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2014 15:44:19 +0000 (UTC) Cc: ivan@siamics.net, 19435-done@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 25 16:44:12 2014 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 1Y4AaB-00008B-D1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Dec 2014 16:44:11 +0100 Original-Received: from localhost ([::1]:51175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4AaA-0004vd-Lp for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Dec 2014 10:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4Aa7-0004u0-Jt for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 10:44:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4Aa2-0000wT-Pg for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 10:44:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4Aa2-0000wK-Me for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 10:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y4Aa2-000174-HP for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 10:44:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Dec 2014 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 19435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 19435@debbugs.gnu.org, eliz@gnu.org, ivan@siamics.net Original-Received: via spool by 19435-done@debbugs.gnu.org id=D19435.14195221824178 (code D ref 19435); Thu, 25 Dec 2014 15:44:02 +0000 Original-Received: (at 19435-done) by debbugs.gnu.org; 25 Dec 2014 15:43:02 +0000 Original-Received: from localhost ([127.0.0.1]:57471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4AZ3-000158-Ll for submit@debbugs.gnu.org; Thu, 25 Dec 2014 10:43:02 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60120) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4AZ0-00014s-9Z for 19435-done@debbugs.gnu.org; Thu, 25 Dec 2014 10:43:00 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NH500900A5SFU00@a-mtaout22.012.net.il> for 19435-done@debbugs.gnu.org; Thu, 25 Dec 2014 17:41:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NH5008NGA9XVOA0@a-mtaout22.012.net.il>; Thu, 25 Dec 2014 17:41:58 +0200 (IST) In-reply-to: <549A7B1A.5070304@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:97720 Archived-At: > Date: Wed, 24 Dec 2014 11:36:42 +0300 > From: Dmitry Antipov > CC: Ivan Shmakov , Eli Zaretskii > > On 12/24/2014 10:25 AM, Ivan Shmakov wrote: > > > As of 36c43e95de5e (2014-12-18 16:44:11 +0000), Emacs segfaults > > when trying to use find-file on "\u062f\u0646\u06cc" (encoded as > > a ASCII-safe Emacs string literal here.) > > > > Strangely enough, $ emacs -Q handles that filename just fine. > > > > The backtrace is MIMEd. > > Reproduced. This seems to be a redisplay glitch since composition_compute_stop_pos > makes an attempt to move CMP_IT beyond STRING's boundaries, as handled by the > following extra eassert: Thanks. This was a very old bug, it was introduced more than 4 years ago (as part of solution of another bug). Now fixed by a41d07b on the emacs-24 branch.