After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 520388 - unmounting a ftp share crashes nautilus
unmounting a ftp share crashes nautilus
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: ftp backend
0.1.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
: 520886 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-04 21:53 UTC by Björn Martensen
Modified: 2008-03-07 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Björn Martensen 2008-03-04 21:53:39 UTC
i'm using nautilus-svn (13876) and gvfs 1.11

mounting a ftp server sometimes works, sometimes it doesn't, but what happens everytime, is when i unmount the share using right click on the icon on the desktop and chosing 'unmount', nautilus crashes and gets restarted.
i tried this with ftp://ftp.gnome.org and ftp://ftp.archlinux.org and it happened everytime i unmounted the shares.
Comment 1 Cosimo Cecchi 2008-03-04 22:32:20 UTC
-> gvfs ftp

I got the same issue some minutes ago, attaching a trace of the crash.

Distribution: Gentoo Base System release 2.0.0_rc6-r1
Gnome Release: 2.21.92 2008-02-28 (Gentoo)
BugBuddy Version: 2.20.1

System: Linux 2.6.24-zen1 #1 PREEMPT Sun Feb 3 13:53:23 CET 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Disabled
GTK+ Theme: Glossy
Icon Theme: gnome

Memory status: size: 163680256 vsize: 163680256 resident: 37781504 share: 22073344 rss: 37781504 rss_rlim: 4294967295
CPU usage: start_time: 1204667326 rtime: 71066 utime: 59428 stime: 11638 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb69d96d0 (LWP 8166)]
[New Thread 0xb0d1bb90 (LWP 16542)]
[New Thread 0xb151cb90 (LWP 15743)]
[New Thread 0xb1d1db90 (LWP 14605)]
[New Thread 0xb251eb90 (LWP 14256)]
[New Thread 0xb2d1fb90 (LWP 11761)]
[New Thread 0xb6661b90 (LWP 11760)]
[New Thread 0xb48adb90 (LWP 8136)]
0xb7efa410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb69d96d0 (LWP 8166))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 374
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 682
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 213
  • #5 check_if_gdb
    at gnome-breakpad.cc line 283
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 225
  • #7 google_breakpad::ExceptionHandler::HandleException
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 196
  • #8 <signal handler called>
  • #9 IA__g_drive_eject_finish
    at gdrive.c line 398
  • #10 g_daemon_mount_eject_finish
    at gdaemonmount.c line 349
  • #11 IA__g_mount_eject_finish
    at gmount.c line 457
  • #12 unmount_mount_callback
    at nautilus-file-operations.c line 1781
  • #13 IA__g_simple_async_result_complete
    at gsimpleasyncresult.c line 553
  • #14 unmount_reply
    at gdaemonmount.c line 236
  • #15 async_call_finish
    at gvfsdaemondbus.c line 428
  • #16 handle_async_reply
    at gdbusutils.c line 1283
  • #17 _dbus_pending_call_complete
    at dbus-pending-call.c line 198
  • #18 complete_pending_call_and_unlock
    at dbus-connection.c line 2168
  • #19 dbus_connection_dispatch
    at dbus-connection.c line 4293
  • #20 dbus_source_dispatch
    at gdbusutils.c line 868
  • #21 IA__g_main_context_dispatch
    at gmain.c line 2065
  • #22 g_main_context_iterate
    at gmain.c line 2698
  • #23 IA__g_main_loop_run
    at gmain.c line 2906
  • #24 IA__gtk_main
    at gtkmain.c line 1163
  • #25 main
    at nautilus-main.c line 569
  • #0 __kernel_vsyscall

Comment 2 Alexander Larsson 2008-03-05 09:29:43 UTC
2008-03-05  Alexander Larsson  <alexl@redhat.com>

        * client/gdaemonmount.c:
        (g_daemon_mount_eject_finish):
	Initialize drive variable not access
	undefined memory (#520388)
Comment 3 Cosimo Cecchi 2008-03-07 11:06:58 UTC
*** Bug 520886 has been marked as a duplicate of this bug. ***