From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mani Kancherla Newsgroups: gmane.emacs.bugs Subject: bug#50205: 27.2; crashes or hangs when opening a specific file using tramp Date: Wed, 8 Sep 2021 14:12:27 -0700 Message-ID: References: <83tujcu3f4.fsf@gnu.org> <835yvrs9sl.fsf@gnu.org> <87v93r9y8x.fsf@gmx.de> <8735qu9ecq.fsf@gmx.de> <874kb890kj.fsf@gmx.de> <87mtov5tnr.fsf@gmx.de> <874kb06cql.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000087e82a05cb82575f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28679"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50205@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 08 23:13:11 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 1mO4sY-0007HE-0v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 23:13:10 +0200 Original-Received: from localhost ([::1]:59630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mO4sW-0003y0-RS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Sep 2021 17:13:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mO4sQ-0003xn-Rf for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 17:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mO4sQ-0002OJ-I7 for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 17:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mO4sP-0001v3-Uo for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2021 17:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mani Kancherla Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Sep 2021 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50205 X-GNU-PR-Package: emacs Original-Received: via spool by 50205-submit@debbugs.gnu.org id=B50205.16311355697355 (code B ref 50205); Wed, 08 Sep 2021 21:13:01 +0000 Original-Received: (at 50205) by debbugs.gnu.org; 8 Sep 2021 21:12:49 +0000 Original-Received: from localhost ([127.0.0.1]:33680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mO4sC-0001uZ-Q9 for submit@debbugs.gnu.org; Wed, 08 Sep 2021 17:12:49 -0400 Original-Received: from mail-il1-f171.google.com ([209.85.166.171]:46742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mO4s7-0001uJ-U7 for 50205@debbugs.gnu.org; Wed, 08 Sep 2021 17:12:47 -0400 Original-Received: by mail-il1-f171.google.com with SMTP id u17so3787766ilm.13 for <50205@debbugs.gnu.org>; Wed, 08 Sep 2021 14:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H6x40jqW2DHC+xVKcxpsCSDnsShrt934TGjF1pL8Co8=; b=CenMd0dwush+vzYu30wwd9tKAEb36EpbAkGfu3Hsxr0PrYX9XLq8GqQpj6e1APSIdL BGE9beEPzlbugt26J0HB+8LRBjiD2TlmKUx2IXqvHJj7DwaYf6YL6o3TbQaWAYLnNeWs z4+WT/+6YPnv1kOdrxVV1SqtU3uLrctG19QC9RNwQ/k4Ov2jR4pSw53KwrSHOG9nI8co /2ROyBVNHjWXpcfOocZCdNRcqdWkXC95C1jDpzokefEGU0ZHuc5nTVx4h0LDZZjFMYNy ZouwDar1GrER592d2JSMHVS4oY27XICJ4tPk6j5XxlSAvJw6iMOwjLv4P2Ko81NUcF5y NYYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H6x40jqW2DHC+xVKcxpsCSDnsShrt934TGjF1pL8Co8=; b=OvkQtwrFY5x8baYNM1ssXTCr4np6zPXPPHC00h/mglHW+XzhwDMcrwEVUtt8Z+kdN9 UGGrsJC9UXSlYwf1hUTOS50w7dgFUjT5N1SfMJ63cpVtxPF8rytMfEt5EaHViiHmQzNa Wm4oYBSe+R8F9zqLdQb4xZwRsPXSr7EMz9qpbZAZQ13N913ygSnOV1yw7cb4BoouAhS4 L33KZs5Hm7tFZSyljO5Ki62wSK6npkgCbz1VtsSeZsfWoPtg5zNvJkHFFinzOPMDQJM2 IU8vLFW8wZASGXgQT20EV8Hrr0kY+i/m7tMQJD2Vtc6aSS5qOlFMrWIIfhH/3kpsbK5g qF7g== X-Gm-Message-State: AOAM531cK6BS/NESx8FmlaYENZq7EgspTfzfy6vO6JgN3XBT+hqiy7c7 gWyW7dmh+qiS8YRl1T4EmT9u1bCHpPvg8BgquAc= X-Google-Smtp-Source: ABdhPJws5KdB7lSLkxFmGqty4ySoQXgCb6O+wckor1KknwTJkiIykoYPzYZ4guWzepnWNPOl/ERR6EOyAOWk437zffs= X-Received: by 2002:a92:190b:: with SMTP id 11mr185198ilz.303.1631135558263; Wed, 08 Sep 2021 14:12:38 -0700 (PDT) In-Reply-To: <874kb06cql.fsf@gmx.de> 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:213866 Archived-At: --00000000000087e82a05cb82575f Content-Type: text/plain; charset="UTF-8" Hi Michael, Sorry, it took me some time to get back to you. I asked one of my colleagues to try it on her MAC. We installed emacs 27.2 on that MAC first and then tramp 2.5.1, verified that tramp 2.5.1 is loaded with M-x tramp-version and then we could easily reproduce the issue. I also suspect that it is related to tramp on MAC. I had been using emacs and tramp for a few years without trouble and I think the issues started last year. I don't remember if it was after I upgraded my MAC to the latest version at that time. What I noticed is that, occasionally, sometimes within an hour and sometimes after a couple of days, emacs crashes. I tried upgrading MAC OS, emacs, tramp and nothing helped. Then I tried to narrow it down so I could consistently reproduce it. Switching to the built-in 2.4.5.27.2 helped, i.e. reduced the frequency of crashes significantly and also I don't see the issue with the specific file that I could reproduce the issue with consistently. However, I still see emacs crashing occasionally. I am trying to run it in debugger and see if I can gather useful info. Thanks, Mani On Sat, Sep 4, 2021 at 12:06 AM Michael Albinus wrote: > Mani Kancherla writes: > > > Hi Michael, > > Hi Mani, > > > I followed the steps and could successfully compile using "M-x > > tramp-recompile-elpa" and restart emacs after that (without -L ~ > > /.emacs.d/elpa/tramp-2.5.1.1 -l tramp). I verified that it is running > > tramp version 2.5.1.1 with M-x tramp-version. > > Good. > > > I still see the problem with this. I open that specific problematic > > file and split the window, it hangs. > > Just to be sure, I reran your test, again. No problem. > > You said that you're on macOS, while I'm using GNU/Linux. Perhaps this > makes the difference, and we see an error of Emacs' thread > implementation on macOS. > > It would be helpful, if somebody else could run your test on macOS, > using the Tramp ELPA package, for verification. > > > Thanks, > > Mani > > Best regards, Michael. > --00000000000087e82a05cb82575f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Michael,

Sorry, it took me some = time to get back to you. I asked one of my colleagues to try it on her MAC.=
We installed emacs 27.2 on that MAC first and then tramp 2.5.1, = verified that tramp 2.5.1 is loaded
with M-x tramp-version and th= en we could easily reproduce the issue.

I also sus= pect that it is related to tramp on MAC. I had been using emacs and tramp f= or a few years
without trouble and I think the issues started las= t year. I don't remember if it was after I upgraded my
MAC to= the latest version at that time.

What I noticed i= s that, occasionally, sometimes within an hour and sometimes after a couple= of days, emacs
crashes. I tried upgrading MAC OS, emacs, tramp a= nd nothing helped. Then I tried to narrow it down
so I could cons= istently reproduce it.

Switching to the built-in 2= .4.5.27.2 helped, i.e. reduced the frequency of crashes significantly and a= lso I
don't see the issue with the specific file that I could= reproduce the issue with consistently. However, I still see
emac= s crashing occasionally. I am trying to run it in debugger and see if I can= gather=C2=A0useful info.

Thanks,
Mani











On Sat, Sep 4, 2021 at 12:06 AM Michael Albinus <michael.albinus@gmx.de> wrote:
Mani Kancherla <kancherla.mani@gmail.com= > writes:

> Hi Michael,

Hi Mani,

> I followed the steps and could successfully compile using "M-x > tramp-recompile-elpa" and restart emacs after that (without -L ~<= br> > /.emacs.d/elpa/tramp-2.5.1.1 -l tramp). I verified that it is running<= br> > tramp version 2.5.1.1 with M-x tramp-version.

Good.

> I still see the problem with this. I open that specific problematic > file and split the window, it hangs.

Just to be sure, I reran your test, again. No problem.

You said that you're on macOS, while I'm using GNU/Linux. Perhaps t= his
makes the difference, and we see an error of Emacs' thread
implementation on macOS.

It would be helpful, if somebody else could run your test on macOS,
using the Tramp ELPA package, for verification.

> Thanks,
> Mani

Best regards, Michael.
--00000000000087e82a05cb82575f--