Subject: bug#54353: 29.0.50; macOS: gdb over ssh into docker stalls

From: Michael Albinus <[email-masked]>
Date: Mon, 14 Mar 2022 09:55:05 +0100

Aleksandar Popadić <[email-masked]> writes:

> Hello Michael,

Hi Aleksandar,

> Thank you for having a look. The full debug buffer is in the attachment.

Thanks. Tramp is stalled with the following command:

--8<---------------cut here---------------start------------->8---
> 11:57:25.692757 tramp-send-command (6) # (env QUOTING_STYLE=locale \stat -c '((/////%N/////) %h %u %g %X %Y %Z %s /////%A///// t %i -1)' /home/test/test.c | sed -e 's/"/\\"/g' -e 's/\/\/\/\/\//"/g') 2>/dev/null; echo tramp_exit_status $?
> 11:57:30.045884 tramp-accept-process-output (10) # 
>   backtrace()
>   tramp-error((tramp-file-name "ssh" "test" nil "localhost" "2222" "/home/test/test.c" nil) quit "")
>   tramp-signal-hook-function(quit nil)
>   accept-process-output(#<process *tramp/ssh test@localhost#2222*> nil nil t)
--8<---------------cut here---------------end--------------->8---

This is surprising, because earlier, the same command has worked:

--8<---------------cut here---------------start------------->8---
> 11:56:35.016412 tramp-send-command (6) # (env QUOTING_STYLE=locale \stat -c '((/////%N/////) %h %u %g %X %Y %Z %s /////%A///// t %i -1)' /home/test/test.c | sed -e 's/"/\\"/g' -e 's/\/\/\/\/\//"/g') 2>/dev/null; echo tramp_exit_status $?
> 11:56:35.021660 tramp-wait-for-regexp (6) # 
> (("/home/test/test.c") 1 0 0 1647006732 1647006732 1647006732 58 "-rw-r--r--" t 2402017 -1)
> tramp_exit_status 0
> ///4280109f2bf4b7826b57e0f5b8825a1d#$
--8<---------------cut here---------------end--------------->8---

So the traces don't show anything useful, sorry.

> Best regards,
> Aleksandar Popadić

Best regards, Michael.