Bug#448589: scp: Segfaults when recursivly transfering files from a La Fonera (running dropbear)

2007-11-12 Thread Colin Watson
tags 448589 moreinfo
thanks

On Sat, Nov 03, 2007 at 02:16:40PM +0100, Florian Weimer wrote:
 * Tobias Frost:
 
  heres the last lines of the strace, reading of the password removed.
 
  stat64(., {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  read(7, [EMAIL PROTECTED]'s password:
  (some lines removed)
  stat64(./sbin, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  umask(0)= 022
  umask(022)  = 0
  write(6, \0, 1)   = 1
  stat64(./sbin, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  read(7, Segmentation fault
  , 1)  = 0
  --- SIGCHLD (Child exited) @ 0 (0) ---
  read(7, , 1)  = 0
  close(7)= 0
  waitpid(10650, [{WIFEXITED(s)  WEXITSTATUS(s) == 139}], 0) = 10650
  exit_group(1)   = ?
  Process 10649 detached
 
 Can you post a GDB stack trace?  You should be able to obtain this by
 attaching gdb to the scp child process (with gdb /usr/bin/scp PID)
 while ssh prompts for the password.

Or even telling strace to follow child processes (since it's the
underlying ssh process that's segfaulting, not scp itself) as well as
turning on scp's own debugging might help:

  strace -f scp -vvv -r [EMAIL PROTECTED]:/sbin .

Thanks,

-- 
Colin Watson   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#448589: scp: Segfaults when recursivly transfering files from a La Fonera (running dropbear)

2007-11-03 Thread Florian Weimer
* Tobias Frost:

 heres the last lines of the strace, reading of the password removed.

 stat64(., {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 read(7, [EMAIL PROTECTED]'s password:
 (some lines removed)
 stat64(./sbin, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 umask(0)= 022
 umask(022)  = 0
 write(6, \0, 1)   = 1
 stat64(./sbin, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
 read(7, Segmentation fault
 , 1)  = 0
 --- SIGCHLD (Child exited) @ 0 (0) ---
 read(7, , 1)  = 0
 close(7)= 0
 waitpid(10650, [{WIFEXITED(s)  WEXITSTATUS(s) == 139}], 0) = 10650
 exit_group(1)   = ?
 Process 10649 detached

Can you post a GDB stack trace?  You should be able to obtain this by
attaching gdb to the scp child process (with gdb /usr/bin/scp PID)
while ssh prompts for the password.

Can you reproduce this with Debian's dropbear?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#448589: scp: Segfaults when recursivly transfering files from a La Fonera (running dropbear)

2007-10-30 Thread Tobias Frost
Package: openssh-client
Version: 1:4.6p1-5
Severity: normal


Issuing e.g:

scp -r [EMAIL PROTECTED]:/sbin .
[EMAIL PROTECTED]'s password:
Segmentation fault

heres the last lines of the strace, reading of the password removed.

stat64(., {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, [EMAIL PROTECTED]'s password:
(some lines removed)
stat64(./sbin, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
umask(0)= 022
umask(022)  = 0
write(6, \0, 1)   = 1
stat64(./sbin, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
read(7, Segmentation fault
, 1)  = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
read(7, , 1)  = 0
close(7)= 0
waitpid(10650, [{WIFEXITED(s)  WEXITSTATUS(s) == 139}], 0) = 10650
exit_group(1)   = ?
Process 10649 detached



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-client depends on:
ii  adduser   3.105  add and remove users and groups
ii  debconf [debconf-2.0] 1.5.14 Debian configuration management sy
ii  dpkg  1.14.7 package maintenance system for Deb
ii  libc6 2.6.1-5GNU C Library: Shared libraries
ii  libcomerr21.40.2-1   common error description library
ii  libedit2  2.9.cvs.20050518-4 BSD editline and history libraries
ii  libkrb53  1.6.dfsg.3~beta1-1 MIT Kerberos runtime libraries
ii  libncurses5   5.6+20071006-3 Shared libraries for terminal hand
ii  libssl0.9.8   0.9.8f-1   SSL shared libraries
ii  passwd1:4.0.18.1-11  change and administer password and
ii  zlib1g1:1.2.3.3.dfsg-6   compression library - runtime

openssh-client recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]