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#47334: 27.1; Incompatibility between daemon, desktop and highlight-changes-mode Date: Tue, 23 Mar 2021 12:06:59 +0200 Message-ID: <83h7l289q4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47334@debbugs.gnu.org To: Gilles Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 23 11:08:24 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 1lOdxY-0003oy-9Y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Mar 2021 11:08:24 +0100 Original-Received: from localhost ([::1]:40066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOdxX-00054A-4F for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Mar 2021 06:08:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOdxE-000535-MF for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 06:08:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48052) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOdxC-0000jp-3M for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 06:08:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lOdxB-0003r1-SJ for bug-gnu-emacs@gnu.org; Tue, 23 Mar 2021 06:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Mar 2021 10:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47334 X-GNU-PR-Package: emacs Original-Received: via spool by 47334-submit@debbugs.gnu.org id=B47334.161649402614742 (code B ref 47334); Tue, 23 Mar 2021 10:08:01 +0000 Original-Received: (at 47334) by debbugs.gnu.org; 23 Mar 2021 10:07:06 +0000 Original-Received: from localhost ([127.0.0.1]:59598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOdwI-0003pi-72 for submit@debbugs.gnu.org; Tue, 23 Mar 2021 06:07:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lOdwG-0003pD-2Y for 47334@debbugs.gnu.org; Tue, 23 Mar 2021 06:07:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51187) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOdw9-0000F5-UY; Tue, 23 Mar 2021 06:06:58 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4607 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lOdw5-00056d-5N; Tue, 23 Mar 2021 06:06:54 -0400 In-Reply-To: (message from Gilles on Tue, 23 Mar 2021 01:30:36 +0100) 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:202889 Archived-At: > From: Gilles > Date: Tue, 23 Mar 2021 01:30:36 +0100 > > When restoring a desktop session where a buffer has > highlight-changes-mode enabled, if Emacs is starting in daemon mode, it > locks up before opening the socket. There is no error message. > > If Emacs is not starting in daemon mode, or if the desktop session file > does not list highlight-changes-mode, everything is fine. > > I have observed this problem both with Emacs 27.1 on macOS and with > Emacs 26.3 on Ubuntu 20.04. Below I give the server an explicit name for > convenience but this is optional to reproduce the bug. > > Here is a precise recipe to reproduce. (Lines beginning with a letter > are shell commands; lines beginning with `|` are terminal output.) Thanks. Since you already have a working setup for reproducing the problem, could you please attach GDB to the daemon when it hangs, and show both a C-level and a Lisp-level backtrace? (This could be tricky if you don't have a working GDB installed on your macOS system, because LLDB isn't supported by src/.gdbinit init file. But maybe you could do this on Ubuntu?) This could go a long way towards identifying the problematic piece of code.