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 338970 - copying an SVN working copy over ssh
copying an SVN working copy over ssh
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: File operations
2.15.x
Other All
: High critical
: ---
Assigned To: Christian Neumair
gnome-vfs maintainers
gnome[unmaintained]
: 338969 341676 342787 343673 343738 345441 348443 350135 354186 378607 381282 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-19 06:05 UTC by Fabian Fagerholm
Modified: 2018-08-17 13:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
proposed gnome_vfs_uri_new patch (1.45 KB, patch)
2006-08-06 12:08 UTC, Christian Neumair
none Details | Review

Description Fabian Fagerholm 2006-04-19 06:05:20 UTC
Distribution: Debian testing/unstable
Package: nautilus
Severity: Normal
Version: GNOME2.14.0 2.12.2
Gnome-Distributor: Debian
Synopsis: nautilus crashed while copying an SVN working copy over ssh
Bugzilla-Product: nautilus
Bugzilla-Component: general
Bugzilla-Version: 2.12.2
BugBuddy-GnomeVersion: 2.0 (2.14.0)
Description:
Description of the crash:
I copied a working copy of https://mail.incase.de/svn/cyrus22/trunk (svn
repository) over ssh from one computer to another. nautilus crashed
while copying some file in build-area/.svn.

How often does this happen?
I was able to reproduce it several times.



Debugging Information:

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

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226529088 (LWP 7581)]
[New Thread -1242567760 (LWP 7601)]
[New Thread -1227961424 (LWP 7582)]
(no debugging symbols found)
0xb7406809 in poll () from /lib/tls/libc.so.6

Thread 2 (Thread -1242567760 (LWP 7601))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 raise
    from /lib/tls/libc.so.6
  • #4 abort
    from /lib/tls/libc.so.6
  • #5 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #6 g_log
    from /usr/lib/libglib-2.0.so.0
  • #7 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #8 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #9 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #10 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #11 ??
  • #12 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #13 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #14 ??
  • #15 ??
  • #16 _dl_rtld_di_serinfo
    from /lib/ld-linux.so.2
  • #17 gnome_vfs_create_symbolic_link_cancellable
    from /usr/lib/libgnomevfs-2.so.0
  • #18 gnome_vfs_create_symbolic_link
    from /usr/lib/libgnomevfs-2.so.0
  • #19 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #20 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #21 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #22 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #23 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #24 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #25 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #32 ??
  • #33 nautilus_file_operations_progress_resume_timeout
    from /usr/lib/libnautilus-private.so.2
  • #34 gnome_vfs_is_primary_thread
    from /usr/lib/libgnomevfs-2.so.0
  • #35 g_thread_pool_free
    from /usr/lib/libglib-2.0.so.0
  • #36 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #37 start_thread
    from /lib/tls/libpthread.so.0
  • #38 clone
    from /lib/tls/libc.so.6




------- Bug created by bug-buddy at 2006-04-19 06:05 -------


Unknown version 2.12.2 in product nautilus.  Setting version to "2.12.x".

Comment 1 Fabian Fagerholm 2006-04-19 07:34:20 UTC
*** Bug 338969 has been marked as a duplicate of this bug. ***
Comment 2 Christian Kirbach 2006-04-19 11:23:27 UTC
crash in gnome-vfs, reassigning

I cannot access the hidden subdir on the server
can you please find out which file caused this and attach it?

alternatively:
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 3 Fabio Bonelli 2006-05-14 09:26:24 UTC
*** Bug 341676 has been marked as a duplicate of this bug. ***
Comment 4 Karsten Bräckelmann 2006-05-29 05:12:21 UTC
*** Bug 342787 has been marked as a duplicate of this bug. ***
Comment 5 Fabio Bonelli 2006-06-02 10:37:17 UTC
*** Bug 343673 has been marked as a duplicate of this bug. ***
Comment 6 Elijah Newren 2006-06-03 03:26:13 UTC
*** Bug 343738 has been marked as a duplicate of this bug. ***
Comment 7 Kevin Kubasik 2006-06-03 04:42:05 UTC
Ok, unfortnetly. nautilus' 'auto-start' feature makes a stacktrace with gdb very difficult to get. Even when attempting to attach to a running process, I can't quite figure out whats going on. I would be more than happy to meet someone on the irc one day and help figure this out.
Comment 8 Kevin Kubasik 2006-06-03 04:55:00 UTC
Ok, its not much, but heres about all I can get:

(gdb) Quit
(gdb)
Couldn't get registers: No such process.
(gdb) thread apply all bt
Couldn't get registers: No such process.
(gdb) bt
  • #0 __kernel_vsyscall

Comment 9 Kevin Kubasik 2006-06-03 04:56:30 UTC
Ok, here we go, some home-compilation with debugging symbols has made this bug-buddy trace about 1000 times more useful...

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

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1225438848 (LWP 31258)]
[New Thread -1233183824 (LWP 31422)]
[New Thread -1278768208 (LWP 31417)]
[New Thread -1226880080 (LWP 31259)]
0xffffe410 in __kernel_vsyscall ()

Thread 3 (Thread -1278768208 (LWP 31417))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #11 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #12 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #13 ??
  • #14 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #15 ??
    from /usr/lib/gnome-vfs-2.0/modules/libfile.so
  • #16 ??
    from /usr/lib/libgnomevfs-2.so.0
  • #17 ??
  • #18 _dl_rtld_di_serinfo
    from /lib/ld-linux.so.2
  • #19 gnome_vfs_create_symbolic_link_cancellable
    from /usr/lib/libgnomevfs-2.so.0
  • #20 gnome_vfs_create_symbolic_link
    from /usr/lib/libgnomevfs-2.so.0
  • #21 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #22 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #23 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #24 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #25 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #26 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #27 gnome_vfs_volume_to_corba
    from /usr/lib/libgnomevfs-2.so.0
  • #28 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #29 gnome_vfs_is_primary_thread
    from /usr/lib/libgnomevfs-2.so.0
  • #30 g_thread_pool_free
    from /usr/lib/libglib-2.0.so.0
  • #31 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #32 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #33 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 10 Christophe Fergeau 2006-06-03 08:46:00 UTC
(In reply to comment #7)
> Ok, unfortnetly. nautilus' 'auto-start' feature makes a stacktrace with gdb
> very difficult to get. Even when attempting to attach to a running process, I
> can't quite figure out whats going on. I would be more than happy to meet
> someone on the irc one day and help figure this out.
> 

You can run "gnome-session-remove nautilus" from a terminal, this will kill nautilus without respawning it. Afterwards you can rerun it inside gdb. Attaching to the running process is as good though imo ;)

Could you recompile gnome-vfs with debugging symbols as well? Did you upgrade from gnome 2.x to gnome 2.14 without restarting your machine? (gnome-vfs-daemon needs to be restarted during upgrades)
Comment 11 Christian Kirbach 2006-06-04 10:45:37 UTC
thank you. last trace is way better, but please recompile gnome-vfs with debugging symbols. thanks.
Comment 12 Kevin Kubasik 2006-06-05 05:34:52 UTC
Ok, this is about the best I can do, but to me it looks like it might be all you need ;).

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

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1225819776 (LWP 5378)]
[New Thread -1285334096 (LWP 9282)]
[New Thread -1227273296 (LWP 5405)]
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1285334096 (LWP 9282))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 do_create_symbolic_link
    at file-method.c line 2092
  • #11 gnome_vfs_create_symbolic_link_cancellable
    at gnome-vfs-cancellable-ops.c line 380
  • #12 gnome_vfs_create_symbolic_link
    at gnome-vfs-ops.c line 531
  • #13 copy_symlink
    at gnome-vfs-xfer.c line 1412
  • #14 copy_directory
    at gnome-vfs-xfer.c line 1673
  • #15 copy_directory
    at gnome-vfs-xfer.c line 1658
  • #16 copy_items
    at gnome-vfs-xfer.c line 1827
  • #17 gnome_vfs_xfer_uri_internal
    at gnome-vfs-xfer.c line 2565
  • #18 _gnome_vfs_xfer_private
    at gnome-vfs-xfer.c line 2651
  • #19 _gnome_vfs_job_execute
    at gnome-vfs-job.c line 1563
  • #20 thread_entry_point
    at gnome-vfs-job-queue.c line 66
  • #21 g_thread_pool_free
    from /usr/lib/libglib-2.0.so.0
  • #22 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #23 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #24 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 13 Christian Kirbach 2006-06-05 17:27:47 UTC
that information is fair enough to accept this report, thanks.

could you recompile without optimisations?
Comment 14 Kevin Kubasik 2006-06-05 17:49:45 UTC
I can't get to crash while compiled with no optimizations... I tried the same files, i tried even more of them, but when no optimization flags are passed etc, theres not an issue.
Comment 15 Christian Kirbach 2006-06-06 12:33:25 UTC
sounds like a compiler bug to me ...
what if you use other versions of your compiler?
Comment 16 Elijah Newren 2006-06-20 16:40:57 UTC
*** Bug 345441 has been marked as a duplicate of this bug. ***
Comment 17 Christian Neumair 2006-08-06 10:44:36 UTC
*** Bug 350135 has been marked as a duplicate of this bug. ***
Comment 18 Christian Neumair 2006-08-06 12:05:44 UTC
Unfortunately, a symlink like "foo/" is turned into "file:/foo" by the GnomeVFSURI code, and unfortunately sftp doesn't check for the URI having another scheme. The attached patch prevents gnome_vfs_uri_new from eating scheme-less URIs and converting them to "file:garbage/". It isn't really a fix for the semi-broken do_create_symbolic_link implementation, but it enables me to do some sftp symlink copy transfers without crashes.

I think the current symbolic link creation code is a mess. According to file-method.c, it is supposed to be also used for some cross-FS links, which is something entirely different, and if we want it it doesn't make sense to implement it method-specific. Besides, the current code would try to convert symlinks like "ftp://sucks" into GnomeVFSURIs.
Comment 19 Christian Neumair 2006-08-06 12:08:45 UTC
Created attachment 70306 [details] [review]
proposed gnome_vfs_uri_new patch
Comment 20 Christian Neumair 2006-08-06 12:10:24 UTC
Updating bug version, milestoning to 2.16.
Comment 21 Hans Nieser 2006-08-30 02:45:13 UTC
The proposed patch doesn't fix the issue for me (tested by copying the Tango icons folder over sftp to local desktop using the Copy and Paste context menu-items) and breaks dragging files into the Trash bin, which crashes Nautilus and produces the following output on the console:

(nautilus:92517): libgnomevfs-CRITICAL **: gnome_vfs_uri_ref: assertion `uri != NULL' failed

Comment 22 Sergej Kotliar 2006-09-03 21:48:00 UTC
*** Bug 354186 has been marked as a duplicate of this bug. ***
Comment 23 Sergej Kotliar 2006-09-03 21:48:07 UTC
*** Bug 348443 has been marked as a duplicate of this bug. ***
Comment 24 Jens Granseuer 2006-11-23 21:52:34 UTC
*** Bug 378607 has been marked as a duplicate of this bug. ***
Comment 25 Jens Granseuer 2006-12-01 15:15:19 UTC
*** Bug 381282 has been marked as a duplicate of this bug. ***
Comment 26 lossentalion 2006-12-02 15:20:26 UTC
Some additonal infos, i hope it could be useful.


I can reproduce the Crash _only_ on connection with ssh server with very low speed.

Example:
 on 10Mb speed lan network, it is fine and everything works!
 on 1Mb speed (about) wan network, it crash!
Comment 27 Fabian Fagerholm 2011-02-17 06:30:14 UTC
FWIW, I can't reproduce this with nautilus 2.30.1.
Comment 28 André Klapper 2018-08-17 13:46:01 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!