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: Fri, 27 Aug 2021 13:37:56 -0700 Message-ID: References: <83tujcu3f4.fsf@gnu.org> <835yvrs9sl.fsf@gnu.org> <87v93r9y8x.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000059d0405ca90763c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20244"; 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 Fri Aug 27 22:39:12 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 1mJid5-00051b-Rx for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 22:39:11 +0200 Original-Received: from localhost ([::1]:60334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJid3-0007AJ-TL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 16:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJicw-00079w-WD for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 16:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJicw-0002CF-KP for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 16:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJicw-0000qx-Fi for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mani Kancherla Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 20:39:02 +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.16300966953215 (code B ref 50205); Fri, 27 Aug 2021 20:39:02 +0000 Original-Received: (at 50205) by debbugs.gnu.org; 27 Aug 2021 20:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:53093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJicB-0000pm-20 for submit@debbugs.gnu.org; Fri, 27 Aug 2021 16:38:15 -0400 Original-Received: from mail-io1-f54.google.com ([209.85.166.54]:33596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJic9-0000pa-Jn for 50205@debbugs.gnu.org; Fri, 27 Aug 2021 16:38:14 -0400 Original-Received: by mail-io1-f54.google.com with SMTP id f6so10222456iox.0 for <50205@debbugs.gnu.org>; Fri, 27 Aug 2021 13:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MeUWvNt2cW/CJds+sXULutOymwkumPvmhtNFj8FlWLg=; b=QWtLuV/skiBueDWKq2OJxdgP547llUqIADHkMGXNcUakdRKsxEV80x575PvK0kpMnG /lz6bnQLfwNhm5Sc0TzD4UZ2XJX1nhTWRpyJOjtQQ2j8YDLpsNd2Lq4nxwusudu6kbD+ AHu2GFmJRMpYPxojkBx0xz9w7rktk1rrgYR138GmH2HqmwLbSNJ5z5iezKYLtNSp7UBE /UGW/1pAvf243HuqimQi7Ag+ViIXWTbsEAGdaztPaqkVZfzyxwXQZro/P2+3fv1S1Zy3 sfcT2ekSy2F5RG5Ptixa9gFtA0cG5U6I3lIii6uoI3dGPITPdTjTHz1VNHAQ2+iTd3Dm ilyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MeUWvNt2cW/CJds+sXULutOymwkumPvmhtNFj8FlWLg=; b=RavB5WL11M+JpUxhUppRrmrKgVX7JXYTcKLIRMHkAC0lz0O/FKzwCYmMuv20gh+wWa iumP3RoMISHvcGNiTBlsPtD7KXClqTCojXWsRhScDN2H6Q2jo/iHZImz57qg4bL8F87b iGGnRv154upchMedoj4cHactbj/idxukKYylVCp0P1rXmNO4yI0IRJgcV/72CJfUX9Ga PIksc5pRB5GjvvJtiAzJ17FjvMgDrEp+d/ONYgK1V/Oj9sJGskysZyN68byDkB+wq7JI pl8AFY9dXovA6XygcsoqcqfiMevTq90asJfsYaMpMPlNzviGXRWa4OvCTNgf1LSWi0Yf 8rRw== X-Gm-Message-State: AOAM531geQ2D3KflayyXilf7hH7lxFveSRaxAjgjqCGU/YGwbRumrrPQ g9Rk9HqYHOQEkWrN6CgWcMRcNK+Sue0iTOWeKj4= X-Google-Smtp-Source: ABdhPJzUekolAGHnJdz9X9ZGuLmiINX5q8TWB1dElN/g9gcSNf1qiWAnUmFO/Q33ylIJPwR005hIKchzDEO4UaWASXg= X-Received: by 2002:a02:84c2:: with SMTP id f60mr9528300jai.133.1630096687732; Fri, 27 Aug 2021 13:38:07 -0700 (PDT) In-Reply-To: <87v93r9y8x.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:212844 Archived-At: --000000000000059d0405ca90763c Content-Type: text/plain; charset="UTF-8" Hi, I verified that "emacs -Q" has no issues. I can reproduce the issue consistently without "-Q". Any information I can collect that will help debug the issue? Thanks, Mani On Thu, Aug 26, 2021 at 11:51 PM Michael Albinus wrote: > Eli Zaretskii writes: > > Hi, > > > This backtrace is very strange. This part: > > > > frame #30: 0x00000001001bde9b emacs`ns_run_loop_break at > nsterm.m:4760:5 [opt] > > frame #31: 0x00000001001a9e6e > emacs`sys_cond_broadcast(cond=) at systhread.c:183:3 [opt] > > frame #32: 0x00000001001a9c59 > emacs`lisp_mutex_unlock(mutex=) at thread.c:230:3 [opt] > > frame #33: 0x00000001001a8af6 > emacs`mutex_unlock_callback(arg=) at thread.c:339:7 [opt] > > frame #34: 0x0000000100120264 > emacs`flush_stack_call_func(func=, arg=) at > alloc.c:4951:3 [opt] > > frame #35: 0x00000001001a8ac5 > emacs`Fmutex_unlock(mutex=0x0000000101c46065) at thread.c:355:3 [opt] > > frame #36: 0x0000000100146bdb > emacs`funcall_subr(subr=0x00000001002582f8, numargs=1, args=) > at eval.c:2868:19 [opt] > > frame #37: 0x000000010014625c emacs`Ffuncall(nargs=, > args=) at eval.c:2795:11 [opt] > > > > says that funcall_subr calls Fmutex_unlock from line 2868 of eval.c, > > but that is false. It could be that the debugger is not presenting > > the full backtrace, because this is an optimized build, and some > > backtrace frames are missing due to inlining. > > Does the problem also happen when calling "emacs -Q"? The GNU ELPA Tramp > package contains some thread code, leftover from my attempts to add such > support to Tramp (and which I hope to reanimate). It should be > deactivated by default. > > The builtin version of Tramp does not contain this code. > > Best regards, Michael. > --000000000000059d0405ca90763c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I verified that "emacs -Q"= ; has no issues. I can reproduce the issue consistently without "-Q&qu= ot;. Any information I can collect that will help debug the issue?

Thanks,
Mani

On Thu, Aug 26, 2021 at 11:51 = PM Michael Albinus <michael.al= binus@gmx.de> wrote:
Eli Zaretskii <eliz@gnu.org> writes:

Hi,

> This backtrace is very strange.=C2=A0 This part:
>
>=C2=A0 =C2=A0 =C2=A0frame #30: 0x00000001001bde9b emacs`ns_run_loop_bre= ak at nsterm.m:4760:5 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #31: 0x00000001001a9e6e emacs`sys_cond_broadc= ast(cond=3D<unavailable>) at systhread.c:183:3 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #32: 0x00000001001a9c59 emacs`lisp_mutex_unlo= ck(mutex=3D<unavailable>) at thread.c:230:3 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #33: 0x00000001001a8af6 emacs`mutex_unlock_ca= llback(arg=3D<unavailable>) at thread.c:339:7 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #34: 0x0000000100120264 emacs`flush_stack_cal= l_func(func=3D<unavailable>, arg=3D<unavailable>) at alloc.c:49= 51:3 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #35: 0x00000001001a8ac5 emacs`Fmutex_unlock(m= utex=3D0x0000000101c46065) at thread.c:355:3 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #36: 0x0000000100146bdb emacs`funcall_subr(su= br=3D0x00000001002582f8, numargs=3D1, args=3D<unavailable>) at eval.c= :2868:19 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #37: 0x000000010014625c emacs`Ffuncall(nargs= =3D<unavailable>, args=3D<unavailable>) at eval.c:2795:11 [opt]=
>
> says that funcall_subr calls Fmutex_unlock from line 2868 of eval.c, > but that is false.=C2=A0 It could be that the debugger is not presenti= ng
> the full backtrace, because this is an optimized build, and some
> backtrace frames are missing due to inlining.

Does the problem also happen when calling "emacs -Q"? The GNU ELP= A Tramp
package contains some thread code, leftover from my attempts to add such support to Tramp (and which I hope to reanimate). It should be
deactivated by default.

The builtin version of Tramp does not contain this code.

Best regards, Michael.
--000000000000059d0405ca90763c--