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#33885: 27.0.50; PUA character makes emacs crash Date: Sat, 12 Feb 2022 10:57:50 +0200 Message-ID: <83czjssbqp.fsf@gnu.org> References: <20181227.095459.504436083105592236.wl@gnu.org> <87leyg328n.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 33885@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 12 09:59:33 2022 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 1nIoFh-000ALP-2z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 09:59:33 +0100 Original-Received: from localhost ([::1]:50816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIoFf-0007Uf-Gr for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 03:59:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIoFC-0007UN-AL for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 03:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIoFB-0003ZU-Tf for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 03:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIoFB-0003YL-Tr for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 03:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 08:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33885 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 33885-submit@debbugs.gnu.org id=B33885.164465628513585 (code B ref 33885); Sat, 12 Feb 2022 08:59:01 +0000 Original-Received: (at 33885) by debbugs.gnu.org; 12 Feb 2022 08:58:05 +0000 Original-Received: from localhost ([127.0.0.1]:33443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIoEG-0003X3-MX for submit@debbugs.gnu.org; Sat, 12 Feb 2022 03:58:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIoEF-0003Wb-QW for 33885@debbugs.gnu.org; Sat, 12 Feb 2022 03:58:04 -0500 Original-Received: from [2001:470:142:3::e] (port=59348 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIoEA-0003TR-0f; Sat, 12 Feb 2022 03:57:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=j8Do961VKXMwK6jrDuh+JSp3R7wq28qNJWjS+TUiWQs=; b=LgdzWZg72NeE 2m0rHR/ZnHDJOk1d35gThnu29BZJckifi2EFeLZ3pE+lS7MdMDBAvtK8LtizoVupSnbSqrEACy1rq Ws1/EOsh8XyzF0Qc92/D86ZXx2ce6R+2t6XC4CP/RRIl+JF4K2ZRAaMjbR1R2M9Xjem3VRICFtb4V DHOwRGdTh88cO1o2kIsVoMeVLpp1g75bOUpnfhakAMVL7+08kXf1TcZrEcAxAEqT2loNS2CjNwtAc 9GLkRu0UkjhHGbjdjbypcdCeTcIewJi2wTRQpLM6GVeoOZ2nqudf571q7boaJgbYXc7svh/R0Kj8z q9CEWfaUivjB2JYuxynfPQ==; Original-Received: from [87.69.77.57] (port=3036 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 1nIoE9-0008V3-9m; Sat, 12 Feb 2022 03:57:57 -0500 In-Reply-To: <87leyg328n.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 12 Feb 2022 09:42:16 +0100) 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:226714 Archived-At: > Resent-From: Lars Ingebrigtsen > Original-Sender: "Debbugs-submit" > Resent-CC: bug-gnu-emacs@gnu.org > Resent-Sender: help-debbugs@gnu.org > From: Lars Ingebrigtsen > Date: Sat, 12 Feb 2022 09:42:16 +0100 > Cc: 33885@debbugs.gnu.org > > Werner LEMBERG writes: > > > Loading the attached file `bug.el' (containing the single PUA > > character U+E6A3) with > > > > emacs -Q bug.el > > > > causes a crash: > > > > xdisp.c:28955: > > Emacs fatal error: > > assertion failed: > > it->ascent >= 0 && it->descent >= 0 > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > I vaguely recall a similar problem being fixed recently (but not with > this specific character). Would it be possible for you to try Emacs 28/29 > and see whether the problem is still present there? Yes, we now do if (it->ascent < 0) it->ascent = 0; if (it->descent < 0) it->descent = 0; so I think this assertion violation should not happen anymore. (And in a production build, the assertion goes away anyway.)