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#59038: loading this base64 file makes emacs -Q 28.2 peg a core infinitely Date: Sat, 05 Nov 2022 11:28:10 +0200 Message-ID: <83bkpl4uol.fsf@gnu.org> References: <83h6zd51h0.fsf@gnu.org> <9719cff6-4534-46d9-0fed-1476633ac37d@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17491"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59038@debbugs.gnu.org, acm@muc.de, checker@d6.com To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 05 10:29:10 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 1orFUE-0004Kh-4B for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Nov 2022 10:29:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orFU8-0003rY-37; Sat, 05 Nov 2022 05:29:04 -0400 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 1orFU6-0003qs-G8 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 05:29:02 -0400 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 1orFU6-00022H-20 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 05:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1orFU5-0002Ed-M2 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2022 05:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Nov 2022 09:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59038 X-GNU-PR-Package: emacs Original-Received: via spool by 59038-submit@debbugs.gnu.org id=B59038.16676405048546 (code B ref 59038); Sat, 05 Nov 2022 09:29:01 +0000 Original-Received: (at 59038) by debbugs.gnu.org; 5 Nov 2022 09:28:24 +0000 Original-Received: from localhost ([127.0.0.1]:55465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orFTU-0002Dl-4t for submit@debbugs.gnu.org; Sat, 05 Nov 2022 05:28:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orFTS-0002DZ-GF for 59038@debbugs.gnu.org; Sat, 05 Nov 2022 05:28:22 -0400 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 1orFTL-0001y2-RP; Sat, 05 Nov 2022 05:28:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Wol8LnZS9lqCyZ0qUsSpnFxbVTFmVFuDzZfMeOiy28w=; b=Ky8E85C1Cz2QERCrhgjG poQJVw2sMusOhxfSat4N/aAlN+UN+QF3LoOMaZORzWS50b42PPERGTKOoOe0F3C19YRSIjyyVdrcV kjWG4cHS+fuYm1Z7LZN0q//Yvb3cclJfEpiJyEL2xFSTBhZseBMH2XqgyiC6V6ujfSFYQ6ocegcjr hV4ZaYpsaLx/oLKMnPjaYVY+PdbvxR4XJMmAqTqYkMcek77Y3XbnCNwADHMEhpnIi3SoypUvLipwp SZdq85sCi7jqYgJZlgcSRA1Lmx/JpgDR5kvtApcw2un0I20CMKwOXkMmmuT1IJzINsV6QT6Er4iK7 oc3IAMwEGz6BEQ==; 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 1orFTJ-0005qB-5W; Sat, 05 Nov 2022 05:28:15 -0400 In-Reply-To: <9719cff6-4534-46d9-0fed-1476633ac37d@gmail.com> (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Sat, 5 Nov 2022 08:50:33 +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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247140 Archived-At: > Date: Sat, 5 Nov 2022 08:50:33 +0100 > Cc: checker@d6.com, 59038@debbugs.gnu.org, acm@muc.de > From: Gerd Möllmann > > On 05.11.22 08:01, Eli Zaretskii wrote: > > What is reproducible, exactly? > > I don't understand. The infinite loop is reproducible, "pegging one > core" as he expressed it, using up one CPU core. Not here, it isn't. > > Visiting the file is almost > > instantaneous here, in Emacs 29. What did you do to get Emacs into an > > infloop? > > Maybe I switched applications with Cmd-TAB, or something else triggering > redisplay. Do a M-x or C-l. No, that doesn't trigger it. Only M-> does. > > It is IMO unreasonable to expect CC Mode to do something sensible with > > random sequence of characters that don't resemble C in any way. > > I think no-one expects that. The bug is the uninterruptable loop or > whatever causes it. It's nice to have that fixed, if it isn't too complex, but in general visiting such a file as C file is not a reasonable thing to do.