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#44349: 28.0.50; Assertion failure on macOS when resizing frame Date: Sun, 29 Nov 2020 19:23:53 +0200 Message-ID: <83k0u4krfa.fsf@gnu.org> References: <83eelegxq6.fsf@gnu.org> <83a6w2gwxz.fsf@gnu.org> <20201127222429.GD26836@breton.holly.idiocy.org> <835z5por4y.fsf@gnu.org> <20201128220645.GF26836@breton.holly.idiocy.org> <835z5omc6s.fsf@gnu.org> <20201129171623.GH26836@breton.holly.idiocy.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44349@debbugs.gnu.org, p.stephani2@gmail.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 29 18:25:11 2020 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 1kjQRj-0005O8-Cj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 18:25:11 +0100 Original-Received: from localhost ([::1]:59796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjQRi-0005ZE-As for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Nov 2020 12:25:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjQRZ-0005Yp-UQ for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 12:25:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjQRZ-0006M7-NG for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 12:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjQRZ-0003SF-K3 for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2020 12:25: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: Sun, 29 Nov 2020 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44349 X-GNU-PR-Package: emacs Original-Received: via spool by 44349-submit@debbugs.gnu.org id=B44349.160667065213220 (code B ref 44349); Sun, 29 Nov 2020 17:25:01 +0000 Original-Received: (at 44349) by debbugs.gnu.org; 29 Nov 2020 17:24:12 +0000 Original-Received: from localhost ([127.0.0.1]:52424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjQQm-0003R9-6H for submit@debbugs.gnu.org; Sun, 29 Nov 2020 12:24:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjQQk-0003Qw-4P for 44349@debbugs.gnu.org; Sun, 29 Nov 2020 12:24:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37068) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjQQe-0006IB-It; Sun, 29 Nov 2020 12:24:04 -0500 Original-Received: from [176.228.60.248] (port=2001 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjQQc-0007b2-SJ; Sun, 29 Nov 2020 12:24:04 -0500 In-Reply-To: <20201129171623.GH26836@breton.holly.idiocy.org> (message from Alan Third on Sun, 29 Nov 2020 17:16:23 +0000) 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:194573 Archived-At: > Date: Sun, 29 Nov 2020 17:16:23 +0000 > From: Alan Third > Cc: 44349@debbugs.gnu.org, p.stephani2@gmail.com > > > Ah, okay. In that case, I think ignoring the invalid sequence is OK, > > but let's document that in the function's commentary. > > I think, having thought about it more, I'd prefer to just pass through > the malformed input. If we want to make sure that putting format_end > in the middle of a multibyte character doesn't break anything I think > we'd be better fixing doprnt_non_null_end to cut the string up neatly. Anything that avoids a crash is fine in this case, thanks. > format_end isn't currently used anywhere in Emacs, so I don't know if > it's worth fixing, but I'll add a FIXME comment. TIA.