SIGBUS with sftp from OpenSSH 5.3

From: Miki <miki.bsd_at_gmail.com>
Date: Sat, 10 Oct 2009 18:33:09 +0200
Hi all,

sftp from OpenSSH 5.3 exit on a SIGBUS when trying to fetch a file.
sftp from OpenSSH 5.2 worked fine.

here is a backtrace :

#0  0x000000000040b3cf in ?? ()
#1  0x0000000800efb8b0 in globfree () from /lib/libc.so.7
#2  0x0000000800efbe01 in globfree () from /lib/libc.so.7
#3  0x0000000800efc491 in glob () from /lib/libc.so.7
#4  0x000000000040a77f in remote_glob (conn=0x801a08740,
    pattern=0x801a0b080 "/home/miki/mech", flags=0, errfunc=0,
    pglob=0x7fffffffd680)
    at /usr/src/secure/usr.bin/sftp/../../../crypto/openssh/sftp-glob.c:148
#5  0x00000000004038f4 in process_get (conn=0x801a08740,
    src=0x801a0b070 "/home/miki/mech", dst=0x801a04080 "/tmp/",
    pwd=0x801a0b050 "/home/miki", pflag=0)
    at /usr/src/secure/usr.bin/sftp/../../../crypto/openssh/sftp.c:507
#6  0x00000000004059c7 in parse_dispatch_command (conn=0x801a08740,
    cmd=0x7fffffffdcb0 "get /home/miki/mech /tmp/", pwd=0x7fffffffdc98,
    err_abort=1)
    at /usr/src/secure/usr.bin/sftp/../../../crypto/openssh/sftp.c:1264
#7  0x00000000004067ec in interactive_loop (fd_in=3, fd_out=3,
    file1=0x801a0b04a "mech", file2=0x7fffffffe981 "/tmp/")
    at /usr/src/secure/usr.bin/sftp/../../../crypto/openssh/sftp.c:1531
#8  0x000000000040733b in main (argc=3, argv=0x7fffffffe5c8)
    at /usr/src/secure/usr.bin/sftp/../../../crypto/openssh/sftp.c:1825

I'm running FreeBSD cocyte.homeunix.org 9.0-CURRENT FreeBSD
9.0-CURRENT #6 r197928M: Sat Oct 10 13:37:22 CEST 2009
miki_at_cocyte.homeunix.org:/usr/obj/usr/src/sys/COCYTE amd64

Kernel and userland are in sync.

I can provide full backtrace or more debugging information if necessary.

Thanks.
Miki
Received on Sat Oct 10 2009 - 14:58:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC