New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14018 (closed defect: duplicate)

Opened 4 years ago

Last modified 19 months ago

cssh fails lo load (Bus error)

Reported by: andrelop@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jonathan@…, lists@…, straxus@…
Port: cssh

Description

After jumping through many hoops to get it compiled (see ticket #14016), when trying to run cssh I get the following error :

white:~ andrelop$ cssh -l root@192.168.10.251
Bus error
white:~ andrelop$

I'm using a MacOSX 10.5.1 (Leopard) fully updated as of some minutes ago and using MacPorts 1.600.

Change History

  Changed 4 years ago by andrelop@…

More info. The only thing I got from googling fot this error is  http://www.mail-archive.com/macports-users@lists.macosforge.org/msg05921.html, which unfortunately doesn't have any solution or proposed patch.

  Changed 4 years ago by afb@…

Seems to work OK on Tiger, so could be yet another Leopard X11 bug ?

  Changed 4 years ago by jmr@…

  • cc andrelop@… removed
  • owner changed from macports-tickets@… to stechert@…

Assigning to maintainer.

  Changed 4 years ago by stechert@…

  • status changed from new to assigned

  Changed 4 years ago by stechert@…

  • status changed from assigned to closed
  • resolution set to fixed

I updated to v3.22 of cssh. Have verified that I can run cssh on my Leopard box version 10.5.2 with MacPorts 1.600.

  Changed 4 years ago by stechert@…

oh yeah, r35010 for reference.

  Changed 4 years ago by jonathan@…

  • status changed from closed to reopened
  • resolution fixed deleted

Version 3.22 still gives a Bus Error for me, with latest Leopard updates (10.5.2) and Macports 1.600.

According to  http://www.nabble.com/ClusterSSH---Leopard-Fix-td14848155.html the cause is Macports Tk:

$ /opt/local/bin/perl -e 'use Tk;' Bus error

So, this is not resolved until Tk is fixed in Macports.

  Changed 4 years ago by jonathan@…

  • cc jonathan@… added

Cc Me!

  Changed 3 years ago by lists@…

  • cc lists@… added

Cc Me!

  Changed 3 years ago by raimue@…

  Changed 3 years ago by blb@…

#18391 is against p5-tk and appears to be the same issue.

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

  Changed 3 years ago by toby@…

  • version 1.6.0 deleted
  • port set to cssh

  Changed 3 years ago by blb@…

For anyone with this issue, how is your perl5.8 port installed? port installed perl5.8

  Changed 3 years ago by straxus@…

#:~ $ cssh Bus error #:~ $ which perl /opt/local/bin/perl #:~ $ port installed perl5.8 The following ports are currently installed:

perl5.8 @5.8.9_2 (active)

  Changed 3 years ago by straxus@…

  • cc straxus@… added

Cc Me!

  Changed 3 years ago by blb@…

I have a theory that using a perl5.8 without +shared may be the/a cause to these odd bus errors some people are experiencing. straxus, if you don't mind, could you try updating your perl5.8 port by running

sudo port -fn upgrade perl5.8 +shared

Then try cssh again.

  Changed 3 years ago by straxus@…

#:~ $ sudo port -fn upgrade perl5.8 +shared
--->  Fetching perl5.8
--->  Verifying checksum(s) for perl5.8
--->  Extracting perl5.8
--->  Configuring perl5.8
--->  Building perl5.8
--->  Staging perl5.8 into destroot
--->  Unable to uninstall perl5.8 5.8.9_2, the following ports depend on it:
--->  	perl5
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating perl5.8 @5.8.9_2
--->  Uninstalling perl5.8 @5.8.9_2
--->  Installing perl5.8 @5.8.9_2+shared
--->  Activating perl5.8 @5.8.9_2+shared
--->  Cleaning perl5.8
#:~ $ cssh
Bus error
#:~ $ port installed perl5.8
The following ports are currently installed:
  perl5.8 @5.8.9_2+shared (active)

follow-up: ↓ 20   Changed 3 years ago by blb@…

Hmm, could be a need to rebuild p5-tk as well. However, if you do get past the bus error here, cssh still won't work if you're on 10.5 as p5-x11-protocol doesn't currently work with the launchd setup of X11 (see the  bug for X11::Protocol).

You may want to try the newly-added csshX port if you don't need it running in X11 (csshX is Terminal.app-based).

in reply to: ↑ 19   Changed 3 years ago by straxus@…

Thanks, csshX worked perfectly for me! I think the bug remains open though, with csshX as a workaround for now - it'd be nice to get cssh working (as well as anything else relying upon Perl 5's X11 support).

  Changed 19 months ago by jmr@…

  • status changed from reopened to closed
  • resolution set to duplicate

So I guess this is a dupe of #18391.

Note: See TracTickets for help on using tickets.