Subject: bug#55832: 28.1; Emacs crashes when using tramp from helm in emacs-29

From: Thierry Volpiatto <[email-masked]>
Date: Thu, 09 Jun 2022 15:37:06 +0000

Eli Zaretskii <[email-masked]> writes:

>> From: Thierry Volpiatto <[email-masked]>
>> Cc: Lars Ingebrigtsen <[email-masked]>, [email-masked]
>> Date: Thu, 09 Jun 2022 10:42:57 +0000
>> 
>> 
>> > So Mattias's changes could only help in this case if the complete
>> > backtrace will show recursive calls to print_object etc.
>> 
>> Let me know what you want exactly for the complete backtrace.
>
> This:
>
>   (gdb) thread 1
>   (gdb) bt
>
> You said earlier the backtrace produced by that is huge, so I thought
> maybe just looking at the immediate cause of the segfault could give
> us enough info.  But now we need to see all of it.

I am now able to reproduce at each time like this with helm:

1) Ensure you have no entries for sudo in .authinfo.gpg file.
2) M-x helm-find-files RET // sudo::
3) You are prompted for password
4) At this first shot it should work as expected.
5) C-g to quit, and M-x tramp-cleanup-all-connections.
6) Restart helm-find-files and enter /sudo:: emacs should freeze and
crash.

-- 
Thierry