From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#40907: Font-lock-mode hanging in Java buffers Date: Mon, 27 Apr 2020 20:38:32 +0300 Message-ID: <215d8224-219b-ad06-ba4a-f99250e0a56d@yandex.ru> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="78678"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: Adam Van Ymeren , 40907@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 27 19:39:26 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 1jT7j3-000KMA-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Apr 2020 19:39:25 +0200 Original-Received: from localhost ([::1]:56420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT7j2-0004AN-Rs for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Apr 2020 13:39:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58270) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jT7ij-0004A7-RC for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 13:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jT7ig-0000Fz-3W for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 13:39:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jT7if-0000Fo-Md for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 13:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jT7if-0003PY-GS for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2020 13:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2020 17:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40907 X-GNU-PR-Package: emacs Original-Received: via spool by 40907-submit@debbugs.gnu.org id=B40907.158800912313083 (code B ref 40907); Mon, 27 Apr 2020 17:39:01 +0000 Original-Received: (at 40907) by debbugs.gnu.org; 27 Apr 2020 17:38:43 +0000 Original-Received: from localhost ([127.0.0.1]:38047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT7iM-0003Ow-NY for submit@debbugs.gnu.org; Mon, 27 Apr 2020 13:38:42 -0400 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:55516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jT7iK-0003Of-TP for 40907@debbugs.gnu.org; Mon, 27 Apr 2020 13:38:41 -0400 Original-Received: by mail-wm1-f42.google.com with SMTP id e26so520702wmk.5 for <40907@debbugs.gnu.org>; Mon, 27 Apr 2020 10:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=18rByT/hiLMrWQcMTmGEXSUr9JVZ8fwzlyupVr++rlQ=; b=FHlk0D+wqZK/O8SkI69ti/TtouWQw5JYGQcjf3UDnidtPVMtP6fWsclnPjy8+iY5/3 nSTqYb4ZHESf+XZySJvxxyS8NxKtOqnJrkzRSVlfwTJOZ4JzBHKjOf2Qrhc7rTl6cVF2 uzO10wcphiBZIu0iP8yun2LDxmt/iHwQwXH6zrIzD6hHPm2c0NRQbHSBrF4L7xYORKDf LZN8gIMN0kyrhXg7RGq8jR83vOJoNlbFRou2kxQr+sE0sHL+O9HJhXScGtlT+qieu85v HjEK8CvNNv6cAdibjLJuu9mYpqoJzYIjKJ2//AhpAoczZdjnoHv2xdmDiaeDWPXkUicn YHbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=18rByT/hiLMrWQcMTmGEXSUr9JVZ8fwzlyupVr++rlQ=; b=jmK/KMMcxiyK4XijWN5pPo7t2txa8psZW8zlQ3Qyd6RXO2XvOiNkyxBmdm8a147xmS WR/wnpWUMivot6xU+oskGWooFrA/RYu7Cmnszij4/WG28UlOP8qD4IuDZYdfhNuBAt8E wIXr8aAe/LFCugPaVYCo8xe0DkA8ZCrrCugm/bTeJDatkLTkUiL4Hc0dAwdaxdZbbXIb jH3SRA6Hzu5g0Ix8EdYoRLw/ToXPvts5tIG0w0n4ATi14fkN6kA/qVWRvK+8QNHqDkzw xywIsImA/21cxyvdSgDhA94LmSPjk2ZKgP0OCtivbtmlQi1OxGQUIPKtUC8NBgUJ5E6c GK+A== X-Gm-Message-State: AGi0PuZndD06JAkBnGfo4S9SLlkhWxGUgK05uKtbnAsOMNHM4VzzmF9F T0pKn2bzPw6ldhVHxwc1yNPl1zkBvew= X-Google-Smtp-Source: APiQypIB+Zazsu9ngh08h9p7mCbJTLRxKb2gmVS+srs9mA03oW/wZoY/RcyGWSP1D1Qg4/1w9s0vZw== X-Received: by 2002:a1c:3c87:: with SMTP id j129mr561998wma.157.1588009114651; Mon, 27 Apr 2020 10:38:34 -0700 (PDT) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id y9sm15647930wmm.26.2020.04.27.10.38.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Apr 2020 10:38:33 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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:179166 Archived-At: On 27.04.2020 20:30, Adam Van Ymeren wrote: > I've been doing a lot of Java work lately, and I'm having issues with > emacs hanging and spinning at 100% CPU.  I believe the culprit to be > font-lock-mode.  C-g doesn't save me either, I usually have to kill > emacs.  Any advice on how to debug this if C-g doesn't work? You can send the USR2 signal to the Emacs process to try to interrupt what it's doing and enter the debugger: kill -SIGUSR2 To fix this, we'll most likely need the contents of the buffer that has the problem. If it's proprietary, you could try recreating the problem from scratch, or replacing all identifiers in the code with something else, etc. You could also try a build of Emacs 27 first before doing all that.