From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=89douard?= Debry Newsgroups: gmane.emacs.bugs Subject: bug#48807: [master][windows10] emacs hangs when editing *.xml files Date: Thu, 03 Jun 2021 10:14:10 +0200 Message-ID: <87o8cnuzzh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2845"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 28.0.50 To: 48807@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 03 10:15:20 2021 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 1loiVc-0000Sm-03 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 10:15:20 +0200 Original-Received: from localhost ([::1]:38940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loiVb-00047W-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Jun 2021 04:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loiVN-00045D-Pf for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:15:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loiVK-0003AZ-2y for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loiVJ-0006zv-Uf for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=89douard?= Debry Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Jun 2021 08:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48807 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162270805926804 (code B ref -1); Thu, 03 Jun 2021 08:15:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2021 08:14:19 +0000 Original-Received: from localhost ([127.0.0.1]:42140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loiUd-0006yG-Lh for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:14:19 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loiUb-0006y0-HP for submit@debbugs.gnu.org; Thu, 03 Jun 2021 04:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loiUb-0003PX-Ce for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:14:17 -0400 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:43721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loiUZ-0002hR-Mw for bug-gnu-emacs@gnu.org; Thu, 03 Jun 2021 04:14:17 -0400 Original-Received: by mail-wm1-x32a.google.com with SMTP id 3-20020a05600c0243b029019f2f9b2b8aso3143373wmj.2 for ; Thu, 03 Jun 2021 01:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=YEnRusyBxJn0oUQulq2zPt6t43qV8APkV+e1NfMksIs=; b=cvvEloPsFs9s5UyQV0/NvbWYCIyD/EBuV/tYq+7TBUu3JZ1w1UP6FDg50HFICvBHaf y4l6ckV/P8+TvUfGMFwFymN6HqpCtCElJrAc9U9tMaGQQj2RUghh9U5fjcmoYxPLkKoJ KgHfRBS7F1zAhQAHL9XWKRsfsF6t/gYg+rJLKdEiIre5N4W8HRp9wXdU1dmGW5M+MWeB SHbASvNsJIO10zqxVV7WBv4f3uy5fPxdZpkQDUGB83Zlt5NZvi9D3cUuFZxrWWkWwy7p 882VhqPHgsxXadj/ppc3ihQqWczpIIbnqNoi9FTfwSbIKYiMEX6+0dY7UR1FutoPNztW pUMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=YEnRusyBxJn0oUQulq2zPt6t43qV8APkV+e1NfMksIs=; b=iglrh8OtMefz/clFVkRBmte6GH8CLWrAuyUfZsCig9KdBitkIN+/FLNvzYL2aWS8mQ hVASvlzeEQxONnR5UlxNhLE/VxpdSGO2mn//PG2+eC2bUL6yrvv2G3r/uAjGyboespdZ petrw9/IOzEiA3CZ9gD5wfTgeUiEN1SXKjxjecdwhb1JdsBv/HlJwzyrzKY0cAsp59h0 XAHX8EcGeIMQoAMDtkvRWC6vsAhvjKmL53jadTBs7yPZYUwKim8IdQjWOR340QkpFyl3 60q/FUVz0j/Ub5Qbit94psAQSKZlCYZQTbuDigOVMJsEfbQsuj12DlQ10vSSVDB518Fm uTCQ== X-Gm-Message-State: AOAM530UYeWSBGjwNW+d594ktbxxaEYFv3Q+NAER8Us2g8IVg6Bb7i+Q 9l5ayYfu3vX1gf32o5sl6hj6xcN+ikM= X-Google-Smtp-Source: ABdhPJxud8iQpsgWFixX5QKhiwU644mapmhd0193v11USAXLmVcCxg7YSm7xJLlpTPZyCvQ9HxmBUw== X-Received: by 2002:a1c:1b4c:: with SMTP id b73mr8876837wmb.57.1622708051877; Thu, 03 Jun 2021 01:14:11 -0700 (PDT) Original-Received: from paquerette ([80.215.14.52]) by smtp.gmail.com with ESMTPSA id v132sm5184403wmb.14.2021.06.03.01.14.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 01:14:11 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=edouard.debry@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:207912 Archived-At: Hello, - emacs master (a few weeks) - compiled with native-comp on windows 10 with latest mingw64 environment * Bug description - open an *xml file, the nxml-mode is enabled in the buffer. - edit (modify, save changes) the *xml file - within a few minutes, emacs hangs by consuming the whole ram (not cpu). As a consequence, windows 10 becomes much less responsive That is to note, this issue does not occur if I do noy modify the *xml file. I checked on windows 10 that it is precisely emacs which eats all memory, not one of its child processes. I am not 100% sure yet, but it does not seem platform (windows,linux) related. I googled "emacs xml hangs", some similar issues have already been reported, but I could not find any fixes or workaround. The only workaround so far I found is to quickly edit xml files, save and close them before emacs begins to eat all memory. Regards