FS#62356 - [clusterssh] crashes in "Add Hosts" menu option

Attached to Project: Community Packages
Opened by Paul Stodghill (pvstodghill) - Monday, 15 April 2019, 13:58 GMT
Last edited by Toolybird (Toolybird) - Friday, 21 April 2023, 23:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The command cssh, part of the ClusterSSH package, crashes in "Add Hosts" choice under the "Hosts" menu tab.

Steps to reproduce:

1. Start cssh. Here's how I did it:

PERL5LIB= PERL_MB_OPT= PERL_LOCAL_LIB_ROOT= /usr/bin/vendor_perl/cssh

2. Click on the "Hosts" menu tab, then select "Add Host(s) or Cluster(s)".

3. Enter the name of a host or cluster in the dialog box and click "add"

The error message produced is,

Tk::Error: Can't locate object method "resolve_names" via package "App::ClusterSSH::Window" at /usr/share/perl5/vendor_perl/App/ClusterSSH/Window/Tk.pm line 346.
App::ClusterSSH::Window::Tk::add_host_by_name at /usr/share/perl5/vendor_perl/App/ClusterSSH/Window/Tk.pm line 346
App::ClusterSSH::Window::Tk::__ANON__ at /usr/share/perl5/vendor_perl/App/ClusterSSH/Window/Tk.pm line 1646
Tk callback for .#menu.#menu#hosts
Tk::__ANON__ at /usr/lib/perl5/5.28/vendor_perl/Tk.pm line 251
Tk::Menu::Invoke at /usr/lib/perl5/5.28/vendor_perl/Tk/Menu.pm line 532
<ButtonRelease>
(command bound to event)

Additional info:

The version of clusterssh in the Arch repo appears to be the most current.

Providing the host or cluster name to the cssh invocation does not provoke the bug and executes correctly.

Perhaps most interestingly, a user-local copy of the clusterssh installed via cpanm does not exhibit this bug. I suspect that the problem is not with clusterssh itself, but with one of its dependencies.

This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 21 April 2023, 23:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  Thanks for getting back to us.
Comment by Jaroslav Lichtblau (Dragonlord) - Monday, 30 September 2019, 17:38 GMT
What about the latest clusterssh 4.14-1 version, still seeing the same issue?
Comment by Jan Fader (cambid) - Wednesday, 18 March 2020, 16:09 GMT
  • Field changed: Percent Complete (100% → 0%)
This problem still occurs with an uptodate archlinux (2020-03-18) and the newester clusterssh 4.14-1
Comment by Toolybird (Toolybird) - Friday, 21 April 2023, 07:22 GMT
This is a bit old and stale. Still happening with latest pkgs?
Comment by Jan Fader (cambid) - Friday, 21 April 2023, 08:00 GMT
I cannot reproduce this problem with the latest packages today.

Loading...