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#61514: 30.0.50; sadistically long xml line hangs emacs Date: Mon, 20 Feb 2023 14:32:25 +0200 Message-ID: <83y1osv7om.fsf@gnu.org> References: <87lel0c65v.fsf@everybody.org> <838rgvymcd.fsf@gnu.org> <886c06e50e9cfacb7954@heytings.org> <83h6vixik1.fsf@gnu.org> <886c06e50e707ab83560@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2058"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mah@everybody.org, 61514@debbugs.gnu.org, monnier@iro.umontreal.ca To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 20 13:33:18 2023 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 1pU5M5-0000Jg-QM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Feb 2023 13:33:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU5Ls-0006MI-F7; Mon, 20 Feb 2023 07:33:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU5Lq-0006M5-US for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 07:33:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU5Lq-0004ee-LZ for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 07:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pU5Lq-0001C7-GL for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2023 07:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2023 12:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61514 X-GNU-PR-Package: emacs Original-Received: via spool by 61514-submit@debbugs.gnu.org id=B61514.16768963454542 (code B ref 61514); Mon, 20 Feb 2023 12:33:02 +0000 Original-Received: (at 61514) by debbugs.gnu.org; 20 Feb 2023 12:32:25 +0000 Original-Received: from localhost ([127.0.0.1]:50822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5LF-0001BC-9n for submit@debbugs.gnu.org; Mon, 20 Feb 2023 07:32:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pU5LD-0001Az-2O for 61514@debbugs.gnu.org; Mon, 20 Feb 2023 07:32:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pU5L7-0004XP-Mq; Mon, 20 Feb 2023 07:32:17 -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=nl5on0/uVp/9CY9x8kWpAQ/AvwM/p8tfFqmYpn4+x2E=; b=Yzo3GoWKLhbs AU6zV7V36EAlokZtKdkK7hkXS4tzZdoOkAcRqcSRvNqmi+5bgG0pcMVh5BmBX2WU2yW3ylI5+2H7L A95fUXoEZXjvLfHGSIdqh98R70cWB23d0SFKC2gLyTv0jauT4Dr6P1aCgoNL4eCIeFZxRtOcTSX48 azbyuVZ8xbr8AfTt78OjYGwXgC3c/rX3dBXPv6cIgw3H04SDe//UvvH4PZI1EIXNsAQZRqTbGkSnC t997EJcoPBfvGBkHDrJUXivrBPHPnKzDNTXEN9IghjB2u0lRNjqMPLpnJhlPR4Jae9WbmfaMvdNm4 CCATOQTg2083+QzD7SjNQA==; Original-Received: from [87.69.77.57] (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 1pU5L7-0006fl-6o; Mon, 20 Feb 2023 07:32:17 -0500 In-Reply-To: (message from Gregory Heytings on Mon, 20 Feb 2023 00:14:34 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256152 Archived-At: > Date: Mon, 20 Feb 2023 00:14:34 +0000 > From: Gregory Heytings > cc: mah@everybody.org, 61514@debbugs.gnu.org, > Stefan Monnier > > Out of curiosity, I just bootstrapped Emacs with emacs_re_max_failures = > 10000. make and make check succeed, except one test: regex-repeat-limit. > > With emacs_re_max_failures = 19661 or higher that test succeeds. I don't > know how important it is to allow x\\{65535\\}. It makes little sense to me to limit legitimate uses of regexps because of a single pathological use case. It's the tail wagging the dog in my book.