From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jens Schmidt via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61436: Emacs Freezing With Java Files Date: Tue, 10 Oct 2023 22:58:54 +0200 Message-ID: <87il7ew5wx.fsf@sappc2.fritz.box> References: <83cz6fiefb.fsf@gnu.org> <835yc6hl0c.fsf@gnu.org> <87bkd7fsp4.fsf@sappc2.fritz.box> Reply-To: Jens Schmidt Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26622"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Eli Zaretskii , 61436@debbugs.gnu.org, Mats Lidell , Bob Weiner To: Hank Greenburg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 10 23:00:08 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 1qqJpm-0006fJ-8I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Oct 2023 23:00:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqJpQ-0007VE-DA; Tue, 10 Oct 2023 16:59:44 -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 1qqJpO-0007V3-BS for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 16:59:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqJpN-0001tU-UY for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 16:59:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqJpi-0003Iu-Aa for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 17:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jens Schmidt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2023 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61436 X-GNU-PR-Package: emacs Original-Received: via spool by 61436-submit@debbugs.gnu.org id=B61436.169697158912647 (code B ref 61436); Tue, 10 Oct 2023 21:00:02 +0000 Original-Received: (at 61436) by debbugs.gnu.org; 10 Oct 2023 20:59:49 +0000 Original-Received: from localhost ([127.0.0.1]:36997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqJpV-0003Hv-DT for submit@debbugs.gnu.org; Tue, 10 Oct 2023 16:59:49 -0400 Original-Received: from mr4.vodafonemail.de ([145.253.228.164]:37434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqJpP-0003HU-NJ for 61436@debbugs.gnu.org; Tue, 10 Oct 2023 16:59:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1696971556; bh=tDMFk+BEIOeEAMyzFMEFEJLbdpiZcorhxut7vIK3XPs=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=LUkwjYJYRbzpJ2bUljhO7AdO+dv0m41MtqX/1rOag6NnubmYJhU/SAeNn3esJgqo2 WSwpqP+HTtTETXj85sqo2iG5CG0fzebYOg6bVnnYHyWPZm2zETLJetgYBEhbS8gSS9 LEyAsNXE6gDf5jqBUvJW9ZQFEMIdKy5SQLxZyYVo= Original-Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4S4pDN0C6gz1yD5; Tue, 10 Oct 2023 20:59:15 +0000 (UTC) Original-Received: from sappc2 (port-92-194-29-92.dynamic.as20676.net [92.194.29.92]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4S4pD32HpFz9s5p; Tue, 10 Oct 2023 20:58:56 +0000 (UTC) In-Reply-To: <87bkd7fsp4.fsf@sappc2.fritz.box> (Jens Schmidt's message of "Mon, 09 Oct 2023 22:26:31 +0200") X-purgate-type: clean X-purgate: clean X-purgate-size: 2088 X-purgate-ID: 155817::1696971551-B8FF67FF-D2938192/0/0 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:272233 Archived-At: Jens Schmidt writes: > Ensure package "hyperbole" is installed. (Its only role in this > issue seems to be a "background load generator", but I'm not 100% > sure here.) The second part above is not true! Hyperbole mode is the culprit, unless proven otherwise. Here is a 100%-freezing reproducer (with P1.java as from the initial post): ------------------------- init.el ------------------------- (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/")) (package-initialize) ;(setq hkey-init nil) (hyperbole-mode 1) ------------------------- init.el ------------------------- Execute Emacs as: ./src/emacs -Q -l ~/tmp/init.el +181 ~/tmp/P1.java That always freezes Emacs (29 and master) even before it has a chance to display P1.java. The freeze happens in function `c-get-fallback-scan-pos', where the while loop inf-loops, BUT: If you uncomment the line setting `hkey-init' to nil in init.el and repeat: No freeze. Not sure how to continue here - since this is a GNU ELPA package, it can be further handled on Emacs debbugs, no? Mats, Bob? Disclaimer: I do not use Hyperbole as a regular user, I installed it through `package-install' just for the purpose of this bug, as follows: ------------------------- snip ------------------------- Package hyperbole is installed. Status: Installed in =E2=80=98hyperbole-8.0.0/=E2=80=99. Delete Version: 8.0.0 Commit: 4214716e06920a3e10db5811bd22a343ad6435d9 Summary: GNU Hyperbole: The Everyday Hypertextual Information Manager Requires: emacs-27.0 Website: https://www.gnu.org/software/hyperbole Keywords: comm convenience files frames hypermedia languages mail matchi= ng mouse multimedia outlines tools wp Maintainer: Bob Weiner , Mats Lidell Author: Bob Weiner Other versions: 8.0.0 (gnu). ------------------------- snip -------------------------