unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Allen Li <darkfeline@felesatra.moe>
Cc: 34192@debbugs.gnu.org
Subject: bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo
Date: Tue, 29 Jan 2019 11:04:21 +0100	[thread overview]
Message-ID: <87fttbn5ju.fsf@gmx.de> (raw)
In-Reply-To: <CADbSrJxSwUsRqafDswKO_8YLFdMCjdkFAAVu0b7Cj0rVyREhxg@mail.gmail.com> (Allen Li's message of "Tue, 29 Jan 2019 05:48:49 +0000")

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Allen Li <darkfeline@felesatra.moe> writes:

Hi Allen,

> I tried monkey patching tramp-wait-for-regexp to see what the exit status is.

> In my Messages buffer, I found
>
> @@@@@@@@@@@ DEAD 139
>
> A search tells me that this is SIGSEGV.
>
> The corresponding backtrace:

Thanks for the test. Unfortunately, it doesn't show why this happens.

Maybe we could get some more messages from the shell. Could you, pls,
apply the following patch:


[-- Attachment #2: Type: text/plain, Size: 412 bytes --]

diff --git a/lisp/tramp-sh.el b/lisp/tramp-sh.el
index c304fcb..46f467d 100644
--- a/lisp/tramp-sh.el
+++ b/lisp/tramp-sh.el
@@ -658,7 +658,7 @@ foreach $f (@files) {
  }
 }
 print \"ok\\n\"
-' \"$1\" 2>/dev/null"
+' \"$1\""
   "Perl script to produce output suitable for use with
 `file-name-all-completions' on the remote file system.  Escape
 sequence %s is replaced with name of Perl binary.  This string is

[-- Attachment #3: Type: text/plain, Size: 132 bytes --]


Recompile tramp-sh.el, and rerun the test with tramp-verbose 10. Your
patch isn't needed in this scenario.

Best regards, Michael.

  reply	other threads:[~2019-01-29 10:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24 22:14 bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo Allen Li
2019-01-28  8:19 ` Michael Albinus
2019-01-28  8:58   ` Allen Li
2019-01-28  9:12     ` Michael Albinus
2019-01-29  5:48       ` Allen Li
2019-01-29 10:04         ` Michael Albinus [this message]
2019-02-03  0:21           ` Allen Li
2019-02-04 11:53             ` Michael Albinus
2019-02-07  7:04               ` Allen Li
2019-02-07  9:22                 ` Michael Albinus
2019-02-08  8:45                   ` Allen Li
2019-02-08 10:44                     ` Michael Albinus
2019-02-17  3:11                       ` Allen Li
2019-02-20 14:43                         ` Michael Albinus
2019-02-21 10:38                           ` Michael Albinus
2019-02-21 11:20                             ` Michael Albinus
2019-02-21 10:39 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fttbn5ju.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=34192@debbugs.gnu.org \
    --cc=darkfeline@felesatra.moe \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).