-=| Salvatore Bonaccorso, Sat, May 22, 2010 at 08:58:17AM +0200 |=- > Hi Bartosz > > On Wed, Dec 23, 2009 at 09:24:49AM +0100, Salvatore Bonaccorso wrote: > > tag 560867 + moreinfo unreproducible > > thanks > > > > Hey Bartosz > > > > On Sat, Dec 12, 2009 at 11:18:57PM +0100, Bartosz Fenski aka fEnIo wrote: > > > Can't find anything about these limits in documentation so I'm submitting > > > this bugreport. > > > > > > I tried to write some script and everything worked fine until I tried to > > > send some long line. > > > > > > Here goes my script: > > > > > > #!/usr/bin/perl -W > > > > > > use strict; > > > use Fcntl; > > > use warnings FATAL => qw (all); > > > use Net::SSH2; > > > > > > my $ssh2 = Net::SSH2->new(); > > > $ssh2->connect('hostname') or die $!; > > > $ssh2->auth_password('fenio','password'); > > > my $sftp = $ssh2->sftp(); > > > my $remote = $sftp->open('/home/fenio/foo.txt', O_WRONLY | O_CREAT | > > > O_TRUNC); > > > > > > print $remote "A" x 27442; > > > > > > Sending 27441 characters works fine. > > > > I tried to reproduce this with your script. It was possible to sent > > the 27442 caracters. Are there some hints to problems with your > > connection? Do you get more information if you strace the process? > > Did you got that email. Is the Problem still reproducible for you? > (Can someone from the group too try it, as it does work for me).
I get a segmentation fault with the following code: perl -MNet::SSH2 -e'my $s=Net::SSH2->new or die; $s->connect("kuzma") or die' May be related to the fact that I use public keys for authentication, but note there is only connect(), no auth_*. $ host kuzma kuzma.creditreform.bg has address 192.168.110.8 Not very helpful, sorry. $ host kuzma -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org