Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-SSH2 CPAN distribution.

Report information
The Basics
Id:
107899
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
kdesjard [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: scp_put errors
Date: Wed, 21 Oct 2015 08:47:58 -0400
To: bug-Net-SSH2@rt.cpan.org
From: Kris Desjardins <kdesjard@gmail.com>
scp_put fails continously with the following errors:

Use of uninitialized value $wr in numeric lt (<) at /export/home/ics/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/i86pc-solaris-thread-multi/Net/SSH2.pm line 501.
Use of uninitialized value $wr in addition (+) at /export/home/ics/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/i86pc-solaris-thread-multi/Net/SSH2.pm line 502.
Use of uninitialized value $wr in substr at /export/home/ics/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/i86pc-solaris-thread-multi/Net/SSH2.pm line 503.

...and eventually I get a PIPE signal.

I'm running the latest Net::SSH2 built against libssh2-1.6.0 with perl 5.18.4 on Solaris 10

I've also noticed in SSH2.xs that net_ch_write can return undef and the code in the lines above in the SSH2.pm module does not handle undef.

If I run an scp_put in a test script it works ok, but in the actual app, the transfers take place in a separate thread.


Thanks, Kris.



Subject: Re: [rt.cpan.org #107899] scp_put errors
Date: Mon, 26 Oct 2015 11:58:54 +0000 (UTC)
To: "bug-Net-SSH2@rt.cpan.org" <bug-Net-SSH2@rt.cpan.org>
From: Salvador Fandino <sfandino@yahoo.com>
Show quoted text
----- Original Message -----
> From: Kris Desjardins via RT <bug-Net-SSH2@rt.cpan.org> > To: > Cc: > Sent: Wednesday, October 21, 2015 2:48 PM > Subject: [rt.cpan.org #107899] scp_put errors > > Wed Oct 21 08:48:13 2015: Request 107899 was acted upon. > Transaction: Ticket created by kdesjard@gmail.com > Queue: Net-SSH2 > Subject: scp_put errors > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: kdesjard@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107899 > > > > scp_put fails continously with the following errors: > > Use of uninitialized value $wr in numeric lt (<) at > /export/home/ics/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/i86pc-solaris-thread-multi/Net/SSH2.pm > line 501. > Use of uninitialized value $wr in addition (+) at > /export/home/ics/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/i86pc-solaris-thread-multi/Net/SSH2.pm > line 502. > Use of uninitialized value $wr in substr at > /export/home/ics/perl5/perlbrew/perls/perl-5.18.4/lib/site_perl/5.18.4/i86pc-solaris-thread-multi/Net/SSH2.pm > line 503. > > ...and eventually I get a PIPE signal. > > I'm running the latest Net::SSH2 built against libssh2-1.6.0 with perl > 5.18.4 on Solaris 10 > > I've also noticed in SSH2.xs that net_ch_write can return undef and the > code in the lines above in the SSH2.pm module does not handle undef. > > If I run an scp_put in a test script it works ok, but in the actual app,
> the transfers take place in a separate thread.
Could you check using version 0.57_01 that I have just uploaded to CPAN: https://metacpan.org/release/SALVA/Net-SSH2-0.57_01


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.