gvfsd-(sftp/ftp) hang on 100%CPU if they try to read password from gnome-keyring

Bug #538764 reported by axoin
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gnome-mount
Invalid
Unknown
gvfs
New
Undecided
Unassigned
gvfs (Ubuntu)
Triaged
Low
Unassigned
Lucid
Triaged
Low
Unassigned

Bug Description

Binary package hint: gvfs

ubuntu 10.04 alpha fully updated.Aditionally tested in testdrive with daily iso, same results.
Version gvfs-1.5.5-0ubuntu1

If you try to connect to a sftp / ftp share via a password the gvfsd-(sftp/ftp) process hangs without results at 90-100%.
This only happens if you have been connected to the share before and the password is stored in the gnome-keyring. (View with seahorse).

Steps to reproduce:
1) Connect to a server (you haven't connected before) and select "forget password immediatly". The share will be mounted successfully.
Disconnect from the server.
2) Connect to a server and select "store password forever". The share won't be mounted and gvfsd-xx will eat your cpu.
As long as the password is stored you won't be able to connect. Delete the password (seahorse) and you will be able to do 1).

Tags: lucid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in gvfs (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could be similar to bug #532024

axoin (axoin)
tags: added: lucid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
axoin (axoin) wrote :

Hello Sebastien,
great you care. I have already been pointed to the debugging steps, but there is a problem.
The process gvfsd-sftp is called independently and talked via dbus. It's called like "gvfsd-sftp --spawner :1.7 /org/gtk/gvfs/exec_spaw/5". I tried to debug the gvfsd-sftp but this doesn't bring any results, as I cannot debug the dbus mechanism.
If you have further ideas, I will try to provide more information. The attachment is a try, I don't know if this helps anything.

Revision history for this message
Sebastien Bacher (seb128) wrote :

you can attach the process using "gdb --pid <pidnumber>" and get the backtrace there

Revision history for this message
axoin (axoin) wrote :

Thank you for the hint. Here is the trace.
I hope this will help to fix the problem. It is still reproducable with the updates from today.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in gvfs (Ubuntu Lucid):
status: Incomplete → New
Revision history for this message
axoin (axoin) wrote :

i did so. Hope it will be fixed soon.

Jeff Fortin Tam (kiddo)
Changed in gvfs (Ubuntu Lucid):
status: New → Confirmed
Changed in gvfs (Ubuntu Lucid):
status: Confirmed → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue with the recent updates?

Revision history for this message
timosha (timosha) wrote :

It is still an issue after the latest updates.

Revision history for this message
axoin (axoin) wrote :

yes, still existing with updates from today.

Revision history for this message
axoin (axoin) wrote :

and yes, before you ask: i can still confirm this with version 1.5.5-0ubuntu2 Here is another backtrace, this time for ftp connection.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you install libdbus-1-3-dbgsym and libgnome-keyring0 too and get a debug stacktrace?

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
axoin (axoin) wrote :

hello sebastien, here is a more detailed backtrace with more debug symbols.
Do you think we will have this fixed till lucid final?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new stacktrace is good, not sure about lucid but that's the goal and it will be fixed in a stable update in any case if not before

Revision history for this message
Sebastien Bacher (seb128) wrote :

bug #530605 is the same issue, let's use the other bug to track it in lucid

Changed in gnome-mount:
status: Unknown → 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.