From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Pierre Neidhardt Newsgroups: gmane.emacs.bugs Subject: bug#27210: 25.2; Recovering loaddefs.el with desktop-mode hangs when linum is on Date: Sat, 3 Jun 2017 17:22:44 +0100 Message-ID: <20170603162244.GD7275@gmail.com> References: <20170603142911.GB7275@gmail.com> <83fufhaznj.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1496506994 17402 195.159.176.226 (3 Jun 2017 16:23:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Jun 2017 16:23:14 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: 27210@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 03 18:23:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHBpW-0004Kh-5w for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Jun 2017 18:23:10 +0200 Original-Received: from localhost ([::1]:54225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHBpb-0005nQ-Cd for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Jun 2017 12:23:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHBpR-0005lT-7u for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2017 12:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHBpO-0007kF-4u for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2017 12:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHBpO-0007k9-0t for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2017 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHBpN-0006p0-Rm for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2017 12:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jun 2017 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27210 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27210-submit@debbugs.gnu.org id=B27210.149650697526197 (code B ref 27210); Sat, 03 Jun 2017 16:23:01 +0000 Original-Received: (at 27210) by debbugs.gnu.org; 3 Jun 2017 16:22:55 +0000 Original-Received: from localhost ([127.0.0.1]:54023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHBpH-0006oS-Lg for submit@debbugs.gnu.org; Sat, 03 Jun 2017 12:22:55 -0400 Original-Received: from mail-wr0-f193.google.com ([209.85.128.193]:32869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dHBpE-0006oF-UC for 27210@debbugs.gnu.org; Sat, 03 Jun 2017 12:22:53 -0400 Original-Received: by mail-wr0-f193.google.com with SMTP id v104so3757046wrb.0 for <27210@debbugs.gnu.org>; Sat, 03 Jun 2017 09:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZK4El5YoKChq9fcJ3JkLKX6fMAWxEObAXN33eUrCHek=; b=RK6XwrX8OuokrFLIforl0w5htR4F7UJeshlFrkaQkg1f9neDhZ39K5M9K8zH/mXrDO 55AzLBSsDQ+HC1QQouBrlTY/CXbDa9/pG1xkjWcUmJsyhiRfIAmhbLwQM6b7I9yr+LfC +zr/hkegMe/7ytbkvSK6juz17sqjgfGmIInEo+QSe+8qQehP0b6M0rask5jSJFXFTmiL QDhx4Jj+GDbx4WOxC0ACrB66jGqeaREakeLF/ZS1Fype72raCZae6aZsHm1GDTK1NcX5 BstrEWaG1B0WudzlpZzF1ByEOy/SP3YxUlWRr+lL5HjaQeb8rAwBcAFlAwS3eqVpex0c msIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZK4El5YoKChq9fcJ3JkLKX6fMAWxEObAXN33eUrCHek=; b=EttTi6xmJGRwWveV5ebCUzmB/6Artfvs6czY7mnxy1ZokN8pw0uHGkJZeMsAK3e0zK 9XlKc7x1xmLqz59mF6lhr2MLyxtLZrp/NDsR+QrDYP/lkMUyAW9IGvqVlR5vvKu67IQv 2OAy7sZbppU/ojUb3U34JR4XkUBHP9Mc+QtcKgUZGsRmpRXFyR1BJ/YNxmJ/oKmobFtM +4WOTrdSS8yxk3CerqnrJG3pHzi+3EhRT6YEN7l9c2tyoiI89tRkC+T5lcD9BK1W9scS saZaZ5y28BiJI5tSUTYM62JTIzi+5Rj7I08TV6gmOMbC03XrZ3kezibekSyKS87iVp33 oaFw== X-Gm-Message-State: AODbwcB7f50ior+nH6SJYlLao6/6vle7i4RY1U5Gr8SPbdi0rZhMR0TY dHecBjaRs4tRuA== X-Received: by 10.223.147.33 with SMTP id 30mr8473238wro.103.1496506966814; Sat, 03 Jun 2017 09:22:46 -0700 (PDT) Original-Received: from gmail.com ([196.203.31.130]) by smtp.gmail.com with ESMTPSA id n2sm4941987wmd.16.2017.06.03.09.22.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Jun 2017 09:22:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83fufhaznj.fsf@gnu.org> X-Info: Simplicity is the ultimate sophistication. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133223 Archived-At: On 17-06-03 17:56:00, Eli Zaretskii wrote: > > Date: Sat, 3 Jun 2017 15:29:11 +0100 > > From: Pierre Neidhardt > > > > With the following init file: > > > > (desktop-save-mode 1) > > (global-linum-mode) > > > > I visit "/usr/share/emacs/25.2/lisp/loaddefs.el" and everything is fine. > > I save the desktop session with `desktop-save-in-desktop-dir' and kill > > Emacs. > > > > On next start, this displays in the terminal > > > > Warning: due to a long standing Gtk+ bug > > http://bugzilla.gnome.org/show_bug.cgi?id=85715 > > Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. > > Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. > > Note: file is write protected > > > > and Emacs hangs for minutes at least, possibly forever, becoming a CPU hog. I > > then have to kill Emacs. > > Not reproducible here. I suspect some memory-related issue, similar > to like bug#26952, since this is Arch Linux. bug#26952 is on Debian, or am I missing something? Memory-wise, it keeps growing indeed, albeit at a very slow pace. Running for a minute it barely ate 1MB more. > Can you try building the Emacs master branch? If my guess is correct, > this problem will not exist there. I just did and the issue is still there. I am sorry I forgot to mention that the issue only happens when running `emacs --daemon`. -- Pierre Neidhardt