https://bugzilla.novell.com/show_bug.cgi?id=731238 https://bugzilla.novell.com/show_bug.cgi?id=731238#c0 Summary: SFTP from cli produces error on exit Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: brad@bradbothun.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0 When using the sftp command from CLI on exit I get the following error: deployer:/opt/hallmark/deployment # sftp root@tc-test2 Password: Connected to tc-test2. sftp> exit *** glibc detected *** sftp: free(): invalid pointer: 0x4545454545454545 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x74c06)[0x7fb37f16ac06] /usr/lib64/libedit.so.0(el_end+0x76)[0x7fb37f494ad6] sftp(+0x93cf)[0x7fb37f8ed3cf] sftp(main+0x50c)[0x7fb37f8e844c] /lib64/libc.so.6(__libc_start_main+0xed)[0x7fb37f11723d] sftp(+0x4739)[0x7fb37f8e8739] ======= Memory map: ======== 7fb37ea80000-7fb37ea95000 r-xp 00000000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ea95000-7fb37ec94000 ---p 00015000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ec94000-7fb37ec95000 r--p 00014000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ec95000-7fb37ec96000 rw-p 00015000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ec96000-7fb37ec98000 r-xp 00000000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ec98000-7fb37ee98000 ---p 00002000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ee98000-7fb37ee99000 r--p 00002000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ee99000-7fb37ee9a000 rw-p 00003000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ee9a000-7fb37eeef000 r-xp 00000000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37eeef000-7fb37f0ef000 ---p 00055000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37f0ef000-7fb37f0f0000 r--p 00055000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37f0f0000-7fb37f0f6000 rw-p 00056000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37f0f6000-7fb37f27b000 r-xp 00000000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f27b000-7fb37f47b000 ---p 00185000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f47b000-7fb37f47f000 r--p 00185000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f47f000-7fb37f480000 rw-p 00189000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f480000-7fb37f485000 rw-p 00000000 00:00 0 7fb37f485000-7fb37f4b9000 r-xp 00000000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f4b9000-7fb37f6b9000 ---p 00034000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f6b9000-7fb37f6bb000 r--p 00034000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f6bb000-7fb37f6bc000 rw-p 00036000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f6bc000-7fb37f6c1000 rw-p 00000000 00:00 0 7fb37f6c1000-7fb37f6e1000 r-xp 00000000 ca:02 295646 /lib64/ld-2.14.1.so 7fb37f8c6000-7fb37f8ca000 rw-p 00000000 00:00 0 7fb37f8de000-7fb37f8e1000 rw-p 00000000 00:00 0 7fb37f8e1000-7fb37f8e2000 r--p 00020000 ca:02 295646 /lib64/ld-2.14.1.so 7fb37f8e2000-7fb37f8e3000 rw-p 00021000 ca:02 295646 /lib64/ld-2.14.1.so 7fb37f8e3000-7fb37f8e4000 rw-p 00000000 00:00 0 7fb37f8e4000-7fb37f8ff000 r-xp 00000000 ca:02 617954 /usr/bin/sftp 7fb37faff000-7fb37fb00000 r--p 0001b000 ca:02 617954 /usr/bin/sftp 7fb37fb00000-7fb37fb01000 rw-p 0001c000 ca:02 617954 /usr/bin/sftp 7fb37fb01000-7fb37fb26000 rw-p 00000000 00:00 0 [heap] 7fffc00f5000-7fffc0116000 rw-p 00000000 00:00 0 [stack] 7fffc01ff000-7fffc0200000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted The sftp program has no problem transferring files, it just errors on exit. Reproducible: Always Steps to Reproduce: 1.Open terminal and execute sftp command (sftp user@host) 2. Once connected issue the "exit" command 3. Actual Results: *** glibc detected *** sftp: free(): invalid pointer: 0x4545454545454545 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x74c06)[0x7fb37f16ac06] /usr/lib64/libedit.so.0(el_end+0x76)[0x7fb37f494ad6] sftp(+0x93cf)[0x7fb37f8ed3cf] sftp(main+0x50c)[0x7fb37f8e844c] /lib64/libc.so.6(__libc_start_main+0xed)[0x7fb37f11723d] sftp(+0x4739)[0x7fb37f8e8739] ======= Memory map: ======== 7fb37ea80000-7fb37ea95000 r-xp 00000000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ea95000-7fb37ec94000 ---p 00015000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ec94000-7fb37ec95000 r--p 00014000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ec95000-7fb37ec96000 rw-p 00015000 ca:02 295773 /lib64/libgcc_s.so.1 7fb37ec96000-7fb37ec98000 r-xp 00000000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ec98000-7fb37ee98000 ---p 00002000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ee98000-7fb37ee99000 r--p 00002000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ee99000-7fb37ee9a000 rw-p 00003000 ca:02 295654 /lib64/libdl-2.14.1.so 7fb37ee9a000-7fb37eeef000 r-xp 00000000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37eeef000-7fb37f0ef000 ---p 00055000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37f0ef000-7fb37f0f0000 r--p 00055000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37f0f0000-7fb37f0f6000 rw-p 00056000 ca:02 295603 /lib64/libncursesw.so.6.0 7fb37f0f6000-7fb37f27b000 r-xp 00000000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f27b000-7fb37f47b000 ---p 00185000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f47b000-7fb37f47f000 r--p 00185000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f47f000-7fb37f480000 rw-p 00189000 ca:02 295775 /lib64/libc-2.14.1.so 7fb37f480000-7fb37f485000 rw-p 00000000 00:00 0 7fb37f485000-7fb37f4b9000 r-xp 00000000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f4b9000-7fb37f6b9000 ---p 00034000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f6b9000-7fb37f6bb000 r--p 00034000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f6bb000-7fb37f6bc000 rw-p 00036000 ca:02 571230 /usr/lib64/libedit.so.0.0.35 7fb37f6bc000-7fb37f6c1000 rw-p 00000000 00:00 0 7fb37f6c1000-7fb37f6e1000 r-xp 00000000 ca:02 295646 /lib64/ld-2.14.1.so 7fb37f8c6000-7fb37f8ca000 rw-p 00000000 00:00 0 7fb37f8de000-7fb37f8e1000 rw-p 00000000 00:00 0 7fb37f8e1000-7fb37f8e2000 r--p 00020000 ca:02 295646 /lib64/ld-2.14.1.so 7fb37f8e2000-7fb37f8e3000 rw-p 00021000 ca:02 295646 /lib64/ld-2.14.1.so 7fb37f8e3000-7fb37f8e4000 rw-p 00000000 00:00 0 7fb37f8e4000-7fb37f8ff000 r-xp 00000000 ca:02 617954 /usr/bin/sftp 7fb37faff000-7fb37fb00000 r--p 0001b000 ca:02 617954 /usr/bin/sftp 7fb37fb00000-7fb37fb01000 rw-p 0001c000 ca:02 617954 /usr/bin/sftp 7fb37fb01000-7fb37fb26000 rw-p 00000000 00:00 0 [heap] 7fffc00f5000-7fffc0116000 rw-p 00000000 00:00 0 [stack] 7fffc01ff000-7fffc0200000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted Expected Results: Program should exit normally Linux deployer 3.1.0-1.2-xen #1 SMP Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux deployer:/opt/hallmark/deployment # hwinfo --short cpu: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz, 2400 MHz Intel(R) Xeon(R) CPU E5530 @ 2.40GHz, 2400 MHz keyboard: /dev/input/event0 Xen Virtual Keyboard mouse: /dev/input/mice Xen Virtual Pointer storage: Xen Virtual Storage 0 Xen Virtual Storage 1 network: eth0 Xen Virtual Ethernet Card 0 network interface: lo Loopback network interface eth0 Ethernet network interface disk: /dev/xvda Disk /dev/xvdb Disk partition: /dev/xvda1 Partition /dev/xvda2 Partition bios: BIOS memory: Main Memory unknown: DMA controller Timer PS/2 Controller -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.