GNU bug report logs -
#55832
28.1; Emacs crashes when using tramp from helm in emacs-29
Previous Next
Reported by: Thierry Volpiatto <thievol <at> posteo.net>
Date: Tue, 7 Jun 2022 15:24:02 UTC
Severity: normal
Found in version 28.1
Fixed in version 29.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Thierry Volpiatto <thievol <at> posteo.net> writes:
>
> Hi Thierry,
>
> sorry for the delay, I've been occupied by other duties last days.
>
>>>>> (setq tramp-verbose 10 tramp-debug-to-file t)
>>>>
>>>> Ah nice, with those setting instead of crashing emacs hang and I can
>>>> recuperate with C-g, here the tramp log:
>>>>
>>>> https://gist.github.com/thierryvolpiatto/96b5d3bacc92deac1fad275eede69354
>>>
>>> Thanks. The trace looks surprising, again and again
>>>
>>> 21:38:47.713417 tramp-get-remote-id (5) # Finding POSIX `id' command
>>>
>>> I'll try to analyze tomorrow what could have triggered this behavior. If
>>> not successful, I'll ask you for instrumentation of Tramp.
>>
>> Thanks.
>
> Finally, I could reproduce the problem with the following code snippet:
>
> (progn
> (tramp-cleanup-all-connections)
> (let ((non-essential t))
> (tramp-get-remote-uid (tramp-dissect-file-name "/sudo::") 'string)))
>
> I've pushed a fix to master, could you please check?
Did two or three tries without crashing :-) seems fixed.
Thanks Michael and Eli for gdb lesson ;-).
--
Thierry
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 332 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.