Bug 746612 - umount ftp -> gvfsd-ftp is segfault .
Summary: umount ftp -> gvfsd-ftp is segfault .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 745036 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-17 09:45 UTC by sangu
Modified: 2015-03-03 23:02 UTC (History)
15 users (show)

Fixed In Version: gvfs-1.10.1-3.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-02 17:53:55 UTC
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 662301 0 None None None Never

Description sangu 2011-10-17 09:45:36 UTC
Description of problem:
# gdb /usr/libexec/gvfsd-ftp coredump 

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000000 in ?? ()

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000000419472 in g_vfs_job_try (job=0x154f880) at gvfsjob.c:216
#2  0x00000000004153b4 in g_vfs_daemon_queue_job (daemon=0x1539640, job=
    0x154f880) at gvfsdaemon.c:462
#3  0x00007fb8c9718a24 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#4  0x00007fb8c972ad17 in ?? () from /lib64/libgobject-2.0.so.0
#5  0x00007fb8c9734141 in g_signal_emit_valist ()
   from /lib64/libgobject-2.0.so.0
#6  0x00007fb8c97342e2 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#7  0x0000000000416200 in backend_dbus_handler (connection=0x1551d40, 
    message=<optimized out>, user_data=0x154e010) at gvfsbackend.c:666
#8  0x000000000041572c in daemon_message_func (conn=0x1551d40, message=
    0x1547a20, data=0x1539640) at gvfsdaemon.c:990
#9  0x00007fb8c90cc8e6 in dbus_connection_dispatch ()
   from /lib64/libdbus-1.so.3
#10 0x0000000000422da5 in message_queue_dispatch (source=<optimized out>, 
    callback=<optimized out>, user_data=<optimized out>) at dbus-gmain.c:127
#11 0x00007fb8c879badd in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#12 0x00007fb8c879c2d8 in ?? () from /lib64/libglib-2.0.so.0
#13 0x00007fb8c879c825 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#14 0x0000000000414550 in daemon_main (argc=4, argv=<optimized out>, 
    max_job_threads=10, default_type=0x426ddb "ftp", 
---Type <return> to continue, or q <return> to quit---
    mountable_name=<optimized out>, first_type_name=0x426ddb "ftp")
    at daemon-main.c:301
#15 0x00000000004092e4 in main (argc=4, argv=0x7fffaa63a298)
    at daemon-main-generic.c:39


Version-Release number of selected component (if applicable):
1.10.0-1.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. $ gvfs-mount ftp://anonymous@ftp.gtk.org
2. $ gvfs-mount -u ftp://anonymous@ftp.gtk.org
3.
  
Actual results:


Expected results:


Additional info:

# rpm -q glib2 dbus
glib2-2.30.0-2.fc16.x86_64
dbus-1.4.10-3.fc16.x86_64

Comment 1 Tomáš Bžatek 2011-10-17 12:37:48 UTC
Will be addressed in gvfs-1.10.1: https://bugzilla.gnome.org/show_bug.cgi?id=654999

Comment 2 Fedora Update System 2011-10-17 13:59:25 UTC
gvfs-1.10.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gvfs-1.10.1-1.fc16

Comment 3 Fedora Update System 2011-10-18 07:21:25 UTC
Package gvfs-1.10.1-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gvfs-1.10.1-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-14490
then log in and leave karma (feedback).

Comment 4 sangu 2011-10-19 00:42:27 UTC
This bug doesn't be fixed in gvfs-1.10.1-1.fc16

$ gvfs-mount  ftp://anonymous@ftp.gtk.org
$ gvfs-mount -u  ftp://anonymous@ftp.gtk.org
abrt popup message
$ dmesg 
[...]
[  567.153505] gvfsd-ftp[2600]: segfault at 0 ip           (null) sp 00007fffffcab2c8 error 14 in gvfsd-ftp[400000+30000]

----------
dbus-1.4.10-3.fc16.x86_64
glibc-2.14.90-12.999.x86_64
glib2-2.30.0-2.fc16.x86_64

Comment 5 Fedora Update System 2011-10-25 03:47:17 UTC
gvfs-1.10.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Tomáš Bžatek 2011-10-26 13:58:21 UTC
(In reply to comment #4)
> This bug doesn't be fixed in gvfs-1.10.1-1.fc16
Is the backtrace same as in the original one?

Comment 7 sangu 2011-10-26 16:17:01 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > This bug doesn't be fixed in gvfs-1.10.1-1.fc16
> Is the backtrace same as in the original one?
# gdb /usr/libexec/gvfsd-ftp coredump 

Core was generated by `/usr/libexec/gvfsd-ftp --spawner :1.4 /org/gtk/gvfs/exec_spaw/2'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000000 in ?? ()


(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000000419472 in g_vfs_job_try (job=0xf84880 [GVfsJobUnmount])
    at gvfsjob.c:216
#2  0x00000000004153b4 in g_vfs_daemon_queue_job (daemon=
    0xf6e640 [GVfsDaemon], job=0xf84880 [GVfsJobUnmount]) at gvfsdaemon.c:462
#3  0x00007fab5f5e9a24 in g_closure_invoke (closure=0xf81740, return_value=
    0x0, n_param_values=2, param_values=0xf7f460, 
    invocation_hint=<optimized out>) at gclosure.c:774
#4  0x00007fab5f5fbd17 in signal_emit_unlocked_R (node=<optimized out>, detail=
    0, instance=0xf83010, emission_return=0x0, instance_and_params=0xf7f460)
    at gsignal.c:3272
#5  0x00007fab5f605141 in g_signal_emit_valist (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>, 
    var_args=<optimized out>) at gsignal.c:3003
#6  0x00007fab5f6052e2 in g_signal_emit (instance=<optimized out>, 
    signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3060
#7  0x0000000000416200 in backend_dbus_handler (connection=0xf8e000, 
    message=<optimized out>, user_data=0xf83010) at gvfsbackend.c:666
#8  0x000000000041572c in daemon_message_func (conn=0xf8e000, message=
    0xf7ca20, data=0xf6e640) at gvfsdaemon.c:990
#9  0x00007fab5ef9d8e6 in dbus_connection_dispatch (connection=0xf8e000)
    at dbus-connection.c:4644
#10 0x0000000000422da5 in message_queue_dispatch (source=<optimized out>, 
---Type <return> to continue, or q <return> to quit---
    callback=<optimized out>, user_data=<optimized out>) at dbus-gmain.c:127
#11 0x00007fab5e66ca7d in g_main_dispatch (context=0xf7f970) at gmain.c:2425
#12 g_main_context_dispatch (context=0xf7f970) at gmain.c:2995
#13 0x00007fab5e66d278 in g_main_context_iterate (context=0xf7f970, 
    block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#14 0x00007fab5e66d7c5 in g_main_loop_run (loop=0xf7ff80) at gmain.c:3281
#15 0x0000000000414550 in daemon_main (argc=4, argv=<optimized out>, 
    max_job_threads=10, default_type=0x426ddb "ftp", 
    mountable_name=<optimized out>, first_type_name=0x426ddb "ftp")
    at daemon-main.c:301
#16 0x00000000004092e4 in main (argc=4, argv=0x7fff62374678)
    at daemon-main-generic.c:39

Comment 8 Tomáš Bžatek 2011-10-26 17:20:51 UTC
*** Bug 745036 has been marked as a duplicate of this bug. ***

Comment 9 Tomáš Bžatek 2011-10-26 17:23:35 UTC
Confirming the problem here.

Upstream bugreport: https://bugzilla.gnome.org/show_bug.cgi?id=662301

Comment 10 kuchiman 2011-11-04 11:05:14 UTC
Package: gvfs-archive-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
I don't know.

Comment 11 Aioanei Rares 2011-11-04 14:01:37 UTC
Package: gvfs-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
I was browsing ftp.heanet.ie with nautilus, and I left the window open while doing something else. The remote host timed out, so I closed the window and that's when this error appeared.

Comment 12 berg 2011-11-05 10:26:29 UTC
Package: gvfs-archive-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
I mounted a ISO image from nautilus, using a right click at iso file and used a mount iso option.
I browsed the contents and after at nautilus left panel I unmouted. So this ABRT popup.

Comment 13 mynamesha1 2011-11-13 06:28:13 UTC
Package: gvfs-archive-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
unmounted a zip archive

Comment 14 Michael Wiktowy 2011-11-15 02:45:29 UTC
Package: gvfs-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
Unmounted an FTP drive in nautilus.

Comment 15 Andres Rios 2011-11-17 08:24:24 UTC
Package: gvfs-archive-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
No idea!
I mounted a ISO file, then crash... what was wrong?

Comment 16 Jorge 2011-11-17 13:07:18 UTC
Package: gvfs-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
After de-mounting a ftp through nautilus.

Comment 17 Richard Merlier 2011-11-21 23:55:58 UTC
Package: gvfs-archive-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
Unmount an iso file from nautilus

Comment 18 Santiago Lunar 2011-11-22 02:02:05 UTC
Package: gvfs-afc-1.10.1-2.fc16
Architecture: i686
OS Release: Fedora release 16 (Verne)

Comment
-----
No clue!!!

Comment 19 Felix Möller 2012-02-07 15:31:29 UTC
This is supposed to be fixed with http://git.gnome.org/browse/gvfs/commit/?id=e523572e14a9042696e1c5ccd4f30cb3240fa0df

Comment 20 Tomáš Bžatek 2012-02-07 15:44:22 UTC
(In reply to comment #19)
> This is supposed to be fixed with
> http://git.gnome.org/browse/gvfs/commit/?id=e523572e14a9042696e1c5ccd4f30cb3240fa0df

Hopefully, please test: https://admin.fedoraproject.org/updates/gvfs-1.10.1-3.fc16

Comment 21 Antoine Jacoutot 2012-02-07 17:38:59 UTC
I can confirm it fixed the issue on my Fedora 16 system.


Note You need to log in before you can comment on or make changes to this bug.