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#39413: 26.2; Emacs gets hung Date: Thu, 12 Aug 2021 10:10:25 +0300 Message-ID: <838s17dtpa.fsf@gnu.org> References: <85r1ynam0x.fsf@gmail.com> <44e850a0-c8dc-4aec-5706-c52db33697a1@ubin.jp> <119c5df5-080e-c45b-6498-2a2bc0f8273b@yk.rim.or.jp> <83lfme232a.fsf@gnu.org> <0b9cd846-b9f5-8351-5f45-5614bbc644c0@ubin.jp> <87sgfojjmm.fsf@gmail.com> <87fsvhwacb.fsf@gnus.org> <83wnosdwyt.fsf@gnu.org> <277eef17-0241-7245-a801-dc3707c23e5b@yk.rim.or.jp> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39728"; mail-complaints-to="usenet@ciao.gmane.io" Cc: chiaki.ishikawa@ubin.jp, larsi@gnus.org, 39413@debbugs.gnu.org, npostavs@gmail.com To: "ISHIKAWA,chiaki" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 12 09:11: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 1mE4s3-000AAE-UG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Aug 2021 09:11:19 +0200 Original-Received: from localhost ([::1]:52476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE4s2-0000hk-BE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Aug 2021 03:11:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mE4rn-0000hc-A1 for bug-gnu-emacs@gnu.org; Thu, 12 Aug 2021 03:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mE4rm-0001li-Ow for bug-gnu-emacs@gnu.org; Thu, 12 Aug 2021 03:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mE4rm-0003zC-E5 for bug-gnu-emacs@gnu.org; Thu, 12 Aug 2021 03:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Aug 2021 07:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo Original-Received: via spool by 39413-submit@debbugs.gnu.org id=B39413.162875225115305 (code B ref 39413); Thu, 12 Aug 2021 07:11:02 +0000 Original-Received: (at 39413) by debbugs.gnu.org; 12 Aug 2021 07:10:51 +0000 Original-Received: from localhost ([127.0.0.1]:37297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE4rb-0003yn-6u for submit@debbugs.gnu.org; Thu, 12 Aug 2021 03:10:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mE4rZ-0003yb-7d for 39413@debbugs.gnu.org; Thu, 12 Aug 2021 03:10:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58018) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mE4rR-0001V7-No; Thu, 12 Aug 2021 03:10:41 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3602 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 1mE4rR-0004Ne-B1; Thu, 12 Aug 2021 03:10:41 -0400 In-Reply-To: <277eef17-0241-7245-a801-dc3707c23e5b@yk.rim.or.jp> (ishikawa@yk.rim.or.jp) 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:211643 Archived-At: > Cc: larsi@gnus.org, npostavs@gmail.com, 39413@debbugs.gnu.org, > chiaki.ishikawa@ubin.jp > From: "ISHIKAWA,chiaki" > Date: Wed, 11 Aug 2021 22:41:56 +0900 > > What about the dump below, which was in the *Messages* buffer following > dump I sent. > I am afraid I picked up the wrong dump in my previous e-mail. > > Now, is "gc-elapsed" the elapsed time spent in the GC routine? > If so, the two samples at the end of the dump here certainly look > suspicious. Yes, they show a couple of GCs that took about 150 to 200 sec. That is indeed excessive, but gc-elapsed reports the wall-clock time, not the CPU time, so if Emacs wasn't getting processing resources to run, which could happen on a stressed system, that could explain the long GC times. Note that other GC cycles, both before and after the 2 problematic ones, took much less time. And the statistics returned by memory-use-counts doesn't show any excessive number of Lisp objects; in fact, my current Emacs session, which runs for 9.5 days, has an order of magnitude more objects than what you show, and yet GC cycles here are barely perceptible.