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#55832: 28.1; Emacs crashes when using tramp from helm in emacs-29 Date: Thu, 09 Jun 2022 20:48:38 +0300 Message-ID: <83y1y520eh.fsf@gnu.org> References: <83a6al3ibj.fsf@gnu.org> <87r13xaiex.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24417"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 55832@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 09 22:02:50 2022 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 1nzOMh-00069N-30 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 22:02:47 +0200 Original-Received: from localhost ([::1]:57762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzOMg-0006Gb-3b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 16:02:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzMHG-0001lF-4F for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 13:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzMHF-0007nX-S1 for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 13:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzMHF-00078U-Pf for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 13:49: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: Thu, 09 Jun 2022 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55832 X-GNU-PR-Package: emacs Original-Received: via spool by 55832-submit@debbugs.gnu.org id=B55832.165479692927407 (code B ref 55832); Thu, 09 Jun 2022 17:49:01 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 9 Jun 2022 17:48:49 +0000 Original-Received: from localhost ([127.0.0.1]:47683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzMH3-00077y-7p for submit@debbugs.gnu.org; Thu, 09 Jun 2022 13:48:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzMH1-00077m-AH for 55832@debbugs.gnu.org; Thu, 09 Jun 2022 13:48:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34764) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzMGv-0007lQ-U3; Thu, 09 Jun 2022 13:48:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=22FSCbHud4liAm4m5we9CckkzxL9M9MGnGgIXmtyG48=; b=SqVgd0eiMTWA YkjIrOeq8EVqoFWt7qn7N43xU9QVvU5mcxyUjlYmxwjQJc5WMDzxwd5PzYdJ1f5SeZdUQWDwSnY6U OlbZ/q68DBEiSCmaUhnpk7gxH4KaMYGEzNPxPI9kXgQcnKFRVL51Bpa6v47zHBSZTWSwy2Ife9J9y l3hMNtHf2dKWZweTSt+azzGUJGj+wAFHbu3u2nvLL/F5uEC4EVAjAvqpK8bc2Kj6U5s04NOCkY7NE 5B/lMORM6ehxAQAr0ivAXnvkZvDi0DU1sHdjz/rDfvHWXPKgWb1sJ2yanHdsftWkiNitlVxis3Abc Ed3Tu2dFGar3NLK/jIXFWg==; Original-Received: from [87.69.77.57] (port=3656 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 1nzMGv-00009O-DC; Thu, 09 Jun 2022 13:48:41 -0400 In-Reply-To: <87r13xaiex.fsf@posteo.net> (message from Thierry Volpiatto on Thu, 09 Jun 2022 16:51:18 +0000) 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:234165 Archived-At: > From: Thierry Volpiatto > Cc: larsi@gnus.org, 55832@debbugs.gnu.org > Date: Thu, 09 Jun 2022 16:51:18 +0000 > > (gdb) source /home/thierry/tmp/emacs/src/.gdbinit > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from terminal] > DISPLAY = :0.0 > TERM = xterm-256color > Breakpoint 1 at 0x5555555a6b56: file emacs.c, line 420. > Breakpoint 2 at 0x5555556ba640: file xterm.c, line 22325. > (gdb) frame 8 > #8 0x00005555557ac8a3 in call2 (arg2=XIL(0x55555a4b2e83), arg1=XIL(0x90), fn=) at lisp.h:3232 > 3232 return CALLN (Ffuncall, fn, arg1, arg2); > (gdb) p arg2 > $1 = XIL(0x55555a4b2e83) > (gdb) xtype > Lisp_Cons > (gdb) xlist > No symbol "builtin_lisp_symbol" in current context. > (gdb) p arg1 > $2 = XIL(0x90) > (gdb) xtype > Lisp_Symbol > (gdb) xsymbol > $3 = (struct Lisp_Symbol *) 0x555555cd6cd0 > "error" > (gdb) frame 103105 > #103105 0x00005555557ab8be in Ffuncall (nargs=4, args=0x7fffffd15a80) at eval.c:2953 > 2953 Lisp_Object val = funcall_general (args[0], nargs - 1, args + 1); > (gdb) p args[0] > $4 = XIL(0x23a93f0) > (gdb) xtype > Lisp_Symbol > (gdb) xsymbol > $5 = (struct Lisp_Symbol *) 0x555558080030 > "tramp-file-name-for-operation" > (gdb) p args[1] > $6 = XIL(0x22fdb90) > (gdb) xtype > Lisp_Symbol > (gdb) xsymbol > $7 = (struct Lisp_Symbol *) 0x555557fd47d0 > "tramp-get-remote-uid" > (gdb) p args[2] > $8 = XIL(0x55555a7df8c3) > (gdb) xtype > Lisp_Cons > (gdb) xlist > No symbol "builtin_lisp_symbol" in current context. > (gdb) p args[3] > $9 = XIL(0xe940) > (gdb) xtype > Lisp_Symbol > (gdb) xsymbol > $10 = (struct Lisp_Symbol *) 0x555555ce5580 > "string" So tramp-file-name-for-operation errors out, and that somehow gets us in trouble. I see we call signal-hook-function -- what is its value in that session, please?