gvfsd-sftp segfaults when doing a lot of I/O

Bug #670005 reported by Simon Déziel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: gvfs

I access my music on a remote server using SSHFS. This music is imported/read by Rhythmbox. I have found that if I play music from the SSHFS folder while I am also importing some folders in the same SSHFS directory gvfsd-sftd reports segfaults in /var/log/messages :

Nov 2 11:37:05 simon-laptop kernel: [12311.088606] show_signal_msg: 24 callbacks suppressed
Nov 2 11:37:05 simon-laptop kernel: [12311.088616] gvfsd-sftp[9336]: segfault at 28 ip 00000000004173b4 sp 00007fff1f5119b0 error 4 in gvfsd-sftp[400000+2c000]
Nov 2 11:40:09 simon-laptop kernel: [12494.517225] gvfsd-sftp[13858]: segfault at 28 ip 00000000004173b4 sp 00007fff15f6c990 error 4 in gvfsd-sftp[400000+2c000]

The importation is more reliable when I do _not_ play any music. Once the importation is done I have no problem in playing all the music I want.

Both systems run Ubuntu Lucid. One thing to note is that I run the backported kernel from Maverick on my laptop (the client).

$ ps aux| grep sftp
simon 13965 15.9 0.1 66852 4600 ? S 11:41 3:00 /usr/lib/gvfs/gvfsd-sftp --spawner :1.6 /org/gtk/gvfs/exec_spaw/5
simon 13969 23.6 0.0 38784 2556 pts/2 Ss+ 11:41 4:28 /usr/bin/ssh -oForwardX11 no -oForwardAgent no -oClearAllForwardings yes -oProtocol 2 -oNoHostAuthenticationForLocalhost yes -s xeon sftp

$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

$ apt-cache policy gvfs-backends
gvfs-backends:
  Installed: 1.6.1-0ubuntu1build1
  Candidate: 1.6.1-0ubuntu1build1
  Version table:
 *** 1.6.1-0ubuntu1build1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     1.6.0+git20100414-0ubuntu1 0
        500 http://ca.archive.ubuntu.com/ubuntu/ lucid/main Packages

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gvfs-backends 1.6.1-0ubuntu1build1
ProcVersionSignature: Ubuntu 2.6.35-22.34~lucid1-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Nov 2 11:53:43 2010
EcryptfsInUse: Yes
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gvfs

Revision history for this message
Simon Déziel (sdeziel) wrote :
Revision history for this message
Simon Déziel (sdeziel) wrote :

I just got another segfault while doing import only.

Nov 2 12:12:22 simon-laptop kernel: [14427.641033] gvfsd-sftp[13965]: segfault at 28 ip 00000000004173b4 sp 00007fff65e356a0 error 4 in gvfsd-sftp[400000+2c000]

Revision history for this message
Simon Déziel (sdeziel) wrote :

I have installed the following packages to have the debug symbols :

ii gvfs-backends-dbgsym 1.6.1-0ubuntu1build1 debug symbols for package gvfs-backends
ii libgvfscommon0-dbgsym 1.6.1-0ubuntu1build1 debug symbols for package libgvfscommon0

And I followed https://wiki.ubuntu.com/Backtrace to produce the backtrace attached. If any other information is required I will provide it on request.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

Changed in gvfs (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.