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 365624 - crash in Computer: I was browsing a file sy...
crash in Computer: I was browsing a file sy...
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Module: ftp
2.18.x
Other All
: High critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 369174 416345 416346 416348 422855 431458 431460 452093 477646 493299 493314 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-27 07:54 UTC by alex
Modified: 2008-09-06 19:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description alex 2006-10-27 07:54:10 UTC
What were you doing when the application crashed?
I was browsing a file system using nautilus.  I used an ftp URI such as ftp://10.0.0.1 to connect and this worked.  I browsed around and then nautilus crashed on a particular folder.	


Distribution: Fedora Core release 6 (Zod)
Gnome Release: 2.16.0 2006-09-04 (Red Hat, Inc)
BugBuddy Version: 2.16.0

Memory status: size: 133918720 vsize: 0 resident: 133918720 share: 0 rss: 29573120 rss_rlim: 0
CPU usage: start_time: 1161931623 rtime: 0 utime: 966 stime: 0 cutime:847 cstime: 0 timeout: 119 it_real_value: 0 frequency: 0

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

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208501504 (LWP 2682)]
[New Thread -1210606704 (LWP 5515)]
(no debugging symbols found)
0x0021e402 in __kernel_vsyscall ()

Thread 2 (Thread -1210606704 (LWP 5515))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 strcmp
    from /lib/libc.so.6
  • #5 ftp_connection_uri_equal
    from /usr/lib/gnome-vfs-2.0/modules/libftp.so
  • #6 gnome_vfs_directory_read_next_cancellable
    from /usr/lib/libgnomevfs-2.so.0
  • #7 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #8 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #9 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #10 gnome_vfs_is_primary_thread
    from /usr/lib/libgnomevfs-2.so.0
  • #11 g_thread_pool_push
    from /lib/libglib-2.0.so.0
  • #12 g_thread_create_full
    from /lib/libglib-2.0.so.0
  • #13 start_thread
    from /lib/libpthread.so.0
  • #14 clone
    from /lib/libc.so.6

Comment 1 Behdad Esfahbod 2006-10-31 18:22:38 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 366025 ***
Comment 2 Karsten Bräckelmann 2006-11-02 01:18:54 UTC
*** Bug 369174 has been marked as a duplicate of this bug. ***
Comment 3 Karsten Bräckelmann 2006-11-02 01:21:15 UTC
Nope, not the same issue...
Comment 4 Susana 2007-03-09 11:51:33 UTC
*** Bug 416345 has been marked as a duplicate of this bug. ***
Comment 5 Susana 2007-03-09 11:51:47 UTC
*** Bug 416346 has been marked as a duplicate of this bug. ***
Comment 6 Susana 2007-03-09 11:52:49 UTC
*** Bug 416348 has been marked as a duplicate of this bug. ***
Comment 7 Susana 2007-03-27 20:14:56 UTC
*** Bug 422855 has been marked as a duplicate of this bug. ***
Comment 8 Susana 2007-03-27 20:20:41 UTC
One duplicate from gnome-commander.
Moving to gnome-vfs.
Comment 9 Pedro Villavicencio 2007-04-20 00:43:59 UTC
*** Bug 431460 has been marked as a duplicate of this bug. ***
Comment 10 Pedro Villavicencio 2007-04-20 00:44:06 UTC
*** Bug 431458 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2007-10-21 22:21:06 UTC
*** Bug 477646 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-11-08 00:26:07 UTC
*** Bug 493299 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2007-11-08 00:26:15 UTC
*** Bug 493314 has been marked as a duplicate of this bug. ***
Comment 14 André Klapper 2007-11-08 00:26:56 UTC
Thanks for taking the time to report this bug.
Unfortunately, the stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash.

Could you please help fixing this by installing some debugging packages [1], start the application as normal, and try to reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the 'Details', now containing way more information. Please copy that stacktrace and paste it as a comment here. Thanks in advance!

[1] Please install debug packages for nautilus, glib2, gtk2, pango, gnome-vfs2, libgnome, and libgnomeui.

More details can be found here: http://live.gnome.org/GettingTraces
Comment 15 info 2007-11-08 21:15:13 UTC
Distribution: Fedora release 7 (Moonshine)
Gnome Release: 2.18.3 2007-07-02 (Red Hat, Inc)
BugBuddy Version: 2.18.0

System: Linux 2.6.20-2936.fc7xen #1 SMP Fri Sep 21 11:56:20 EDT 2007 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: Permissive
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: Fedora

Memory status: size: 471126016 vsize: 471126016 resident: 36773888 share: 20189184 rss: 36773888 rss_rlim: 18446744073709551615
CPU usage: start_time: 1194556394 rtime: 118 utime: 100 stime: 18 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912496380976 (LWP 4576)]
[New Thread 1168148816 (LWP 4599)]
0x0000003dc4ec82e6 in poll () from /lib64/libc.so.6

Thread 2 (Thread 1168148816 (LWP 4599))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #2 <signal handler called>
  • #3 strcmp
    from /lib64/libc.so.6
  • #4 do_read_directory
    at ftp-method.c line 2688
  • #5 gnome_vfs_directory_read_next_cancellable
    at gnome-vfs-directory.c line 234
  • #6 load_directory_details
    at gnome-vfs-job.c line 1477
  • #7 execute_load_directory
    at gnome-vfs-job.c line 1520
  • #8 _gnome_vfs_job_execute
    at gnome-vfs-job.c line 1674
  • #9 thread_entry_point
    at gnome-vfs-job-queue.c line 65
  • #10 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #11 g_thread_create_proxy
    at gthread.c line 594
  • #12 start_thread
    from /lib64/libpthread.so.0
  • #13 clone
    from /lib64/libc.so.6


----------- .xsession-errors (640 sec old) ---------------------
Unable to connect to yum-updatesd.  Please ensure that the yum-updatesd 
package is installed and that the service is running.
Unable to connect to yum-updatesd.  Please ensure that the yum-updatesd 
package is installed and that the service is running.
Unable to connect to yum-updatesd.  Please ensure that the yum-updatesd 
package is installed and that the service is running.
Unable to connect to yum-updatesd.  Please ensure that the yum-updatesd 
package is installed and that the service is running.
Unable to connect to yum-updatesd.  Please ensure that the yum-updatesd 
package is installed and that the service is running.
Unable to connect to yum-updatesd.  Please ensure that the yum-updatesd 
package is installed and that the service is running.
Max failures exceeded, exiting now
report junk?? [bestuur] Happy Diwali
--------------------------------------------------
Comment 16 info 2007-11-08 21:19:18 UTC
The most relevant part from my remarks on bug 493299:
-----------------------------------------------------

This bug is caused by the link on the remote ftp server pointing to the parent
directory (which isn't accessible because of the chroot).

I have made a test setup with a anonymous chrooted ftp server with only one
link in the root pointing to the chrooted parent. This link triggers the crash
(i have tested other links and files as well).

The directory listing on the node:
  # pwd
  /home/ftp
  # ls -la
  total 8
  dr-xr-xr-x 2 ftp  ftp  4096 Nov  4 11:22 .
  drwxr-xr-x 8 root root 4096 Nov  4 11:21 ..
  lrwxrwxrwx 1 root root    2 Nov  4 11:21 p -> ..

Through "lftp":
  $ lftp paard
  lftp paard:~> ls
  lrwxrwxrwx    1 0        0               2 Nov 04 10:21 p -> ..

With this information you should be able to reproduce the problem in the lab as well. Besides that the ftp server "ftp://ftp.nluug.nl" has that problem but
the sysadmin promised me to correct that.
Comment 17 palfrey 2007-11-08 21:56:26 UTC
*** Bug 452093 has been marked as a duplicate of this bug. ***
Comment 18 André Klapper 2007-11-09 09:02:07 UTC
thanks for the good trace!

so the crash seems to happen in
      if (strcmp (gnome_vfs_uri_get_host_name (uri),
          gnome_vfs_uri_get_host_name (link_uri)) != 0)

would be interesting to know whether this has been fixed by bug 435823 (the fix should be included in gnome-vfs 2.18.3).

note to myself: bug 367521 could be another duplicate of this bug.
Comment 19 André Klapper 2007-11-09 09:26:22 UTC
<pbor> it should probably check that link_uri returned by gnome_vfs_uri_resolve_relative is not NULL
Comment 20 André Klapper 2008-09-06 19:03:22 UTC
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome.

If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs.

@Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together.


General further information: http://en.wikipedia.org/wiki/GVFS 
Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html