[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in sftp_readdir (git)


Hi,

I encountered permanent crash when calling sftp_readdir with the latest
git version. I am not quite sure how to fix it this time. This is what I
got in gdb, please help:

#0  0xb8080424 in __kernel_vsyscall ()
(gdb) up
#1  0xb75a23d0 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) 
#2  0xb75a5a85 in *__GI_abort () at abort.c:88
88	abort.c: No such file or directory.
	in abort.c
(gdb) 
#3  0xb75db2ed in __libc_message (do_abort=2, 
    fmt=0xb76b8328 "*** glibc detected *** %s: %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:173
173	../sysdeps/unix/sysv/linux/libc_fatal.c: No such file or directory.
	in ../sysdeps/unix/sysv/linux/libc_fatal.c
(gdb) 
#4  0xb75e58f4 in malloc_printerr (action=2, 
    str=0xb76b8374 "free(): invalid next size (fast)", ptr=0x853c9c8)
    at malloc.c:5994
5994	malloc.c: No such file or directory.
	in malloc.c
(gdb) 
#5  0xb75e7896 in *__GI___libc_free (mem=0x853c9c8) at malloc.c:3625
3625	in malloc.c
(gdb) 
#6  0xb773f456 in status_msg_free (status=0x853c9c8)
    at /home/vic/git/libssh/libssh/sftp.c:774
774	  SAFE_FREE(status);
(gdb) 
#7  0xb7740738 in sftp_readdir (sftp=0x8520b28, dir=0x8527990)
    at /home/vic/git/libssh/libssh/sftp.c:1323
1323	            status_msg_free(status);
(gdb) 
#8  0x08075388 in remmina_sftp_window_on_opendir (window=0x8548820, 
    dir=0x807b1b6 ".", data=0x0) at remminasftpwindow.c:598
598	    while ((sftpattr = sftp_readdir (window->sftp->sftp_sess,
sftpdir)))
(gdb) 

Vic



Follow-Ups:
Re: Crash in sftp_readdir (git)Vic Lee <llyzs@xxxxxxx>
Archive administrator: postmaster@lists.cynapses.org