GNOME Bugzilla – Bug 310632
Nautilus crash when dragging a folder from remote machine (via sftp://) to local machine if the remote folder contains a symlink
Last modified: 2005-11-06 15:14:06 UTC
Steps to reproduce: 1. Connect (sftp://) to a remote machine 2. Browse to display a remote folder which contains a symlink 3. Drag the remote folder to the local desktop Stack trace: No stack trace is generated; Nautilus simply freezes, does not repaint its windows. Some of the files in the remote folder may have been copied to the local desktop; probably the hang occurs when Nautilus tries to copy the symlink. Other information:
Thanks for your bug. What version of gnomevfs/nautilus do you use? Can you get a backtrace of the hang with gdb? - gdb -p `pidof nautilus` (gdb) thread apply all bt
Here are the versions of the gnome-vfs and nautilus packages, as seen by Portage, along with their build flags: [ebuild R ] gnome-base/gnome-vfs-2.10.0-r2 -debug -doc -gnutls +hal -howl -ipv6 +samba +ssl 0 kB [ebuild R ] gnome-base/nautilus-2.10.0 -debug -doc +flac +gstreamer +mad +oggvorbis 0 kB Here is the gdb output of a nautilus which has been hung by attempting to copy a folder containing a symlink through an sftp:// connection: koresko@firedisk Nuller $ gdb -p `pidof nautilus` Excess command line arguments ignored. (25458 ...) GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...25460: No such file or directory. Attaching to process 25459 Using host libthread_db library "/lib/libthread_db.so.1". warning: could not load vsyscall page because no executable was specified warning: try using the "file" command first Reading symbols from /usr/bin/nautilus...(no debugging symbols found)...done. Reading symbols from /usr/lib/libnautilus-private.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libnautilus-private.so.2 Reading symbols from /usr/lib/libnautilus-extension.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libnautilus-extension.so.1 Reading symbols from /usr/lib/libeel-2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libeel-2.so.2 Reading symbols from /usr/lib/libgnome-menu.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnome-menu.so.0 Reading symbols from /usr/lib/libXrender.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libgailutil.so.17...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgailutil.so.17 Reading symbols from /usr/lib/libglade-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libglade-2.0.so.0 Reading symbols from /usr/lib/librsvg-2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librsvg-2.so.2 Reading symbols from /usr/lib/libgsf-1.so.1... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libgsf-1.so.1 Reading symbols from /lib/libbz2.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libbz2.so.1 Reading symbols from /usr/lib/libcroco-0.6.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcroco-0.6.so.3 Reading symbols from /usr/lib/libgnome-desktop-2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnome-desktop-2.so.2 Reading symbols from /usr/lib/libgnomeui-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnomeui-2.so.0 Reading symbols from /usr/lib/libgnome-keyring.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnome-keyring.so.0 Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libbonoboui-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbonoboui-2.so.0 Reading symbols from /usr/lib/libgnomecanvas-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnomecanvas-2.so.0 Reading symbols from /usr/lib/libgnome-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnome-2.so.0 Reading symbols from /usr/lib/libesd.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libesd.so.0 Reading symbols from /usr/lib/libasound.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libasound.so.2 Reading symbols from /usr/lib/libaudiofile.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libaudiofile.so.0 Reading symbols from /usr/lib/libart_lgpl_2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libart_lgpl_2.so.2 Reading symbols from /usr/lib/libpangoft2-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/lib/libatk-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libatk-1.0.so.0 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/lib/libpangoxft-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpangoxft-1.0.so.0 Reading symbols from /usr/lib/libpangox-1.0.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libpangox-1.0.so.0 Reading symbols from /usr/lib/libpango-1.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpango-1.0.so.0 Reading symbols from /usr/lib/libgnomevfs-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgnomevfs-2.so.0 Reading symbols from /usr/lib/libssl.so.0.9.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.0.9.7 Reading symbols from /usr/lib/libcrypto.so.0.9.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.7 Reading symbols from /lib/libresolv.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libbonobo-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbonobo-2.so.0 Reading symbols from /usr/lib/libbonobo-activation.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libbonobo-activation.so.4 Reading symbols from /usr/lib/libORBitCosNaming-2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0 Reading symbols from /usr/lib/libgstgconf-0.8.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libgstgconf-0.8.so.0 Reading symbols from /usr/lib/libgstreamer-0.8.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgstreamer-0.8.so.1 Reading symbols from /usr/lib/libgconf-2.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgconf-2.so.4 Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /usr/lib/libORBit-2.so.0... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libORBit-2.so.0 Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 25446)] [New Thread 32769 (LWP 25447)] [New Thread 16386 (LWP 25448)] [New Thread 32771 (LWP 25457)] [New Thread 49156 (LWP 25458)] [New Thread 65541 (LWP 25459)] [New Thread 81926 (LWP 25460)] [New Thread 98311 (LWP 25468)] Loaded symbols for /lib/libpthread.so.0 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /usr/lib/libstartup-notification-1.so.0...done. Loaded symbols for /usr/lib/libstartup-notification-1.so.0 Reading symbols from /usr/lib/libSM.so.6...done. Loaded symbols for /usr/lib/libSM.so.6 Reading symbols from /usr/lib/libICE.so.6...done. Loaded symbols for /usr/lib/libICE.so.6 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libexif.so.9...done. Loaded symbols for /usr/lib/libexif.so.9 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /usr/lib/libpopt.so.0...done. Loaded symbols for /usr/lib/libpopt.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libXrandr.so.2...done. Loaded symbols for /usr/lib/libXrandr.so.2 Reading symbols from /usr/lib/libXi.so.6...done. Loaded symbols for /usr/lib/libXi.so.6 Reading symbols from /usr/lib/libXinerama.so.1...done. Loaded symbols for /usr/lib/libXinerama.so.1 Reading symbols from /usr/lib/libXft.so.2...done. Loaded symbols for /usr/lib/libXft.so.2 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libexpat.so.0...done. Loaded symbols for /usr/lib/libexpat.so.0 Reading symbols from /lib/libnss_compat.so.2...done. Loaded symbols for /lib/libnss_compat.so.2 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libnss_nis.so.2...done. Loaded symbols for /lib/libnss_nis.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib/X11/locale/lib/common/xlcDef.so.2...done. Loaded symbols for /usr/lib/X11/locale/lib/common/xlcDef.so.2 Reading symbols from /usr/lib/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib/gconv/ISO8859-1.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/engines/libxfce.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/engines/libxfce.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/lib/gnome-vfs-2.0/modules/libfile.so...done. Loaded symbols for /usr/lib/gnome-vfs-2.0/modules/libfile.so Reading symbols from /usr/lib/libfam.so.0...done. Loaded symbols for /usr/lib/libfam.so.0 Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5...done. Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5 Reading symbols from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1...done. Loaded symbols for /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1 Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-burn-extension.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-burn-extension.so Reading symbols from /usr/lib/nautilus/extensions-1.0/libtotem-properties-page.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libtotem-properties-page.so Reading symbols from /usr/lib/libnautilus-burn.so.1...done. Loaded symbols for /usr/lib/libnautilus-burn.so.1 Reading symbols from /usr/lib/libXtst.so.6...done. Loaded symbols for /usr/lib/libXtst.so.6 Reading symbols from /usr/lib/libXxf86vm.so.1...done. Loaded symbols for /usr/lib/libXxf86vm.so.1 Reading symbols from /usr/lib/libxine.so.1...done. Loaded symbols for /usr/lib/libxine.so.1 Reading symbols from /usr/lib/libhal.so.0...done. Loaded symbols for /usr/lib/libhal.so.0 Reading symbols from /usr/lib/libdbus-1.so.0...done. Loaded symbols for /usr/lib/libdbus-1.so.0 Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-themus.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-themus.so Reading symbols from /usr/lib/libgnome-window-settings.so.1...done. Loaded symbols for /usr/lib/libgnome-window-settings.so.1 Reading symbols from /usr/lib/libmetacity-private.so.0...done. Loaded symbols for /usr/lib/libmetacity-private.so.0 Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-fontilus.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-fontilus.so Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-fileroller.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-fileroller.so Reading symbols from /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so...done. Loaded symbols for /usr/lib/nautilus/extensions-1.0/libnautilus-gst-shares.so Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libutil.so.1...done. Loaded symbols for /lib/libutil.so.1 Reading symbols from /usr/lib/gnome-vfs-2.0/modules/libmapping.so...done. Loaded symbols for /usr/lib/gnome-vfs-2.0/modules/libmapping.so Reading symbols from /usr/lib/gnome-vfs-2.0/modules/libsftp.so...done. Loaded symbols for /usr/lib/gnome-vfs-2.0/modules/libsftp.so Reading symbols from /usr/lib/pango/1.4.0/modules/pango-basic-fc.so...done. Loaded symbols for /usr/lib/pango/1.4.0/modules/pango-basic-fc.so Reading symbols from /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.so 0xb71563d2 in __pthread_sigsuspend () from /lib/libpthread.so.0 (gdb) thread apply all bt
+ Trace 61804
Thread 8 (Thread 98311 (LWP 25468))
Thread 7 (Thread 81926 (LWP 25460))
Thread 6 (Thread 65541 (LWP 25459))
Thread 5 (Thread 49156 (LWP 25458))
Thread 4 (Thread 32771 (LWP 25457))
Info provided above.
Hello Chris, please provide backtrace with debug, else the trace is useless. see http://live.gnome.org/GettingTraces/DistroSpecificInstructions Thank you for your help
Hi Baptiste, Here is what came out of Bug-Buddy's "Show Debug Info" window. I rebuilt nautilus and gnome-vfs after removing "-fomit-frame-pointer" from CFLAGS, adding "debug" to USE, and adding "nostrip" to FEATURES in make.conf. It still looks like some of the symbols are missing, though. It turns out I cannot append the entire output here since the site won't accept comments longer than 64K characters. I'm thinking it may be easier for you to generate this backtrace stuff than to talk me through doing it, since the bug is so easy to reproduce, and you probably have debugging enabled already. Chris PS: This is with nautilus 2.10.1-r1 (as opposed to 2.10.0 above). The newer nautilus actually crashes and brings up Bug-Buddy instead of just hanging when you drag a folder containing a symlink. -------- Backtrace was generated from '/usr/bin/nautilus' Using host libthread_db library "/lib/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 29036)] [New Thread 32769 (LWP 29037)] [New Thread 16386 (LWP 29038)] [New Thread 32771 (LWP 29039)] [New Thread 49156 (LWP 29040)] [New Thread 65541 (LWP 29041)] [New Thread 81926 (LWP 29042)] [New Thread 98311 (LWP 29043)] 0xa70f21cb in waitpid () from /lib/libpthread.so.0
+ Trace 63687
Thread 8 (Thread 98311 (LWP 29043))
Duplicate of bug 153679. *** This bug has been marked as a duplicate of 153679 ***