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 367521 - crash on buggy ftp server output parsing
crash on buggy ftp server output parsing
Status: RESOLVED INCOMPLETE
Product: gnome-vfs
Classification: Deprecated
Component: Module: ftp
2.17.x
Other All
: High critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 372027 373655 381275 402372 403388 404250 407231 407235 408404 415615 417437 425212 429111 429339 429672 430092 433625 471040 481444 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-30 10:00 UTC by Florian G. Pflug
Modified: 2007-11-09 08:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Florian G. Pflug 2006-10-30 10:00:48 UTC
What were you doing when the application crashed?
Opened a directory mounted via ftp. The ftp server is buggy, and outputs lines like
lrwxrwxrwx    1 0        0              45 Mar  2  2006 members.solution-x.com
It marks things as links (the "l" at the beginnung), but doesn't show a link target.



Distribution: Ubuntu 6.10 (edgy)
Gnome Release: 2.16.1 2006-10-02 (Ubuntu)
BugBuddy Version: 2.16.0

Memory status: size: 87900160 vsize: 0 resident: 87900160 share: 0 rss: 27971584 rss_rlim: 0
CPU usage: start_time: 1162135391 rtime: 0 utime: 498 stime: 0 cutime:468 cstime: 0 timeout: 30 it_real_value: 0 frequency: 284

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

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226553680 (LWP 7265)]
[New Thread -1267729504 (LWP 15944)]
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1267729504 (LWP 15944))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 strcmp
    from /lib/tls/i686/cmov/libc.so.6
  • #5 ftp_connection_uri_hash
    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 ??
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 _nl_default_dirname
    from /lib/tls/i686/cmov/libc.so.6
  • #14 mallopt
    from /lib/tls/i686/cmov/libc.so.6
  • #15 gnome_vfs_async_set_job_limit
    from /usr/lib/libgnomevfs-2.so.0
  • #16 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #17 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #18 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #19 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Christian Kirbach 2006-10-30 17:58:19 UTC
seems to be unique

carsh in gnome-vfs

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!
Comment 2 Karsten Bräckelmann 2006-11-07 16:58:35 UTC
*** Bug 372027 has been marked as a duplicate of this bug. ***
Comment 3 barko 2006-11-07 19:07:05 UTC
Distribution: Mandriva Linux release 2007.0 (Official) for i586
Gnome Release: 2.16.0 2006-09-04 (Mandriva)
BugBuddy Version: 2.16.0

Memory status: size: 94703616 vsize: 0 resident: 94703616 share: 0 rss: 33976320 rss_rlim: 0
CPU usage: start_time: 1162925903 rtime: 0 utime: 233 stime: 0 cutime:216 cstime: 0 timeout: 17 it_real_value: 0 frequency: 1

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

Using host libthread_db library "/lib/i686/libthread_db.so.1".
`shared object read from target memory' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1228417344 (LWP 21099)]
[New Thread -1295942752 (LWP 21251)]
0xbfffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1295942752 (LWP 21251))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 strcmp
    from /lib/i686/libc.so.6
  • #5 ftp_connection_uri_hash
    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_async_set_job_limit
    from /usr/lib/libgnomevfs-2.so.0
  • #9 g_thread_pool_push
    from /usr/lib/libglib-2.0.so.0
  • #10 g_thread_create_full
    from /usr/lib/libglib-2.0.so.0
  • #11 start_thread
    from /lib/i686/libpthread.so.0
  • #12 clone
    from /lib/i686/libc.so.6

Comment 4 Christian Kirbach 2006-11-11 01:31:49 UTC
what ftp server causes this?

unfortunately, we are still missing debugging symbols. please install the gnome-vfs and glib packages. Please see
http://live.gnome.org/GettingTraces for more information on how to do so.
Thanks in advance!

Comment 5 barko 2006-11-11 02:10:24 UTC
Please,
go to this ftp server:

ftp://ftp.ciril.fr/pub/linux/mandrivalinux/official

If I enter in directory official, nautilus crash... if do not crash, try enter to other dirs in official dir, it will crash...

Distribution: Mandriva Linux release 2007.0 (Official) for i586
Gnome Release: 2.16.0 2006-09-04 (Mandriva)
BugBuddy Version: 2.16.0

Memory status: size: 95145984 vsize: 0 resident: 95145984 share: 0 rss: 36864000 rss_rlim: 0
CPU usage: start_time: 1163210400 rtime: 0 utime: 475 stime: 0 cutime:434 cstime: 0 timeout: 41 it_real_value: 0 frequency: 1

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

Using host libthread_db library "/lib/i686/libthread_db.so.1".
`shared object read from target memory' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1227610432 (LWP 29957)]
[New Thread -1286743136 (LWP 30150)]
0xbfffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1286743136 (LWP 30150))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/libpthread.so.0
  • #2 gnome_gtk_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 strcmp
    from /lib/i686/libc.so.6
  • #5 do_read_directory
    at ftp-method.c line 2688

I installed debug packages...but i don't know if you get what you want here...
Comment 6 barko 2006-11-11 02:29:05 UTC
one more backtrace, but yet again, I don't know what I'm sending here... i have installed more of some other debug packages libgnome* etc....etc.. it same thing i think... :((

And description of what I do here: I connect to ftp.ciril.fr, enter to dir "pub", "linux", "mandrivalinux", "devel", then I go back, and enter in "official", then I enter in "10.1" dir, back to root of "official" dir and in "2006", again back to root and in "updates"...crash... with this debug info...

i want to help, but...

Distribution: Mandriva Linux release 2007.0 (Official) for i586
Gnome Release: 2.16.0 2006-09-04 (Mandriva)
BugBuddy Version: 2.16.0

Memory status: size: 93220864 vsize: 0 resident: 93220864 share: 0 rss: 34512896 rss_rlim: 0
CPU usage: start_time: 1163211587 rtime: 0 utime: 389 stime: 0 cutime:362 cstime: 0 timeout: 27 it_real_value: 0 frequency: 1

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

Using host libthread_db library "/lib/i686/libthread_db.so.1".
`shared object read from target memory' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1228093760 (LWP 30714)]
[New Thread -1250128992 (LWP 30788)]
0xbfffe410 in __kernel_vsyscall ()

Thread 2 (Thread -1250128992 (LWP 30788))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 870

Comment 7 Germán Poo-Caamaño 2006-12-01 15:15:29 UTC
*** Bug 381275 has been marked as a duplicate of this bug. ***
Comment 8 Christian Kirbach 2007-01-27 23:18:34 UTC
I can reproduce. Takes a few minutes, but it will crash.

Comment 9 Christian Kirbach 2007-01-27 23:18:55 UTC
*** Bug 373655 has been marked as a duplicate of this bug. ***
Comment 10 Christian Kirbach 2007-01-27 23:20:12 UTC
What were you doing when the application crashed?
Hit CTRL-L and entered ftp://ftp.ciril.fr/pub/linux/mandrivalinux/official
Connect anonymously.



better trace with Gnome 2.16

  • #3 <signal handler called>
  • #4 strcmp
    from /lib/tls/i686/cmov/libc.so.6
  • #5 do_read_directory
    at ftp-method.c line 2692
  • #6 gnome_vfs_directory_read_next_cancellable
    at gnome-vfs-directory.c line 234

Comment 11 Christian Kirbach 2007-01-27 23:20:49 UTC
trace with 2.17.90

  • #4 <signal handler called>
  • #5 __kernel_vsyscall
  • #6 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #7 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #8 IA__g_logv
    at gmessages.c line 497
  • #9 IA__g_log
    at gmessages.c line 517
  • #10 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #11 gnome_vfs_uri_resolve_relative
    at gnome-vfs-uri.c line 933
  • #12 do_read_directory
    at ftp-method.c line 2685
  • #13 gnome_vfs_directory_read_next_cancellable
    at gnome-vfs-directory.c line 234
  • #14 load_directory_details
    at gnome-vfs-job.c line 1477
  • #15 execute_load_directory
    at gnome-vfs-job.c line 1520
  • #16 _gnome_vfs_job_execute
    at gnome-vfs-job.c line 1674
  • #17 thread_entry_point
    at gnome-vfs-job-queue.c line 65

Comment 12 Christian Kirbach 2007-01-27 23:24:16 UTC
with Gnome 2.16

nazgul@dragonscale:~$ gnomevfs-ls ftp://ftp.ciril.fr/pub/linux/mandrivalinux/official
You must log in to access ftp.ciril.fr
Login anonymously?
 1      Yes
 2      No
1
.               (Directory, application/octet-stream)   size 4096
..              (Directory, application/octet-stream)   size 4096
10.0            (Directory, application/octet-stream)   size 4096
10.1            (Directory, application/octet-stream)   size 4096
10.2            (Directory, application/octet-stream)   size 4096
2005            (Directory, application/octet-stream)   size 4096
2006.0          (Directory, application/octet-stream)   size 4096
2007.0          (Directory, application/octet-stream)   size 4096
current         (Directory, application/octet-stream)   size 4096
iso             (Directory, application/octet-stream)   size 4096
updates         (Directory, application/octet-stream)   size 4096
Comment 13 Christian Kirbach 2007-01-27 23:26:55 UTC
with Gnome 2.17.90

gnome@dragonscale:~$ gnomevfs-ls ftp://ftp.ciril.fr/pub/linux/mandrivalinux/official
You must log in to access ftp.ciril.fr
Login anonymously?
 1      Yes
 2      No
1
.               (Directory, x-directory/normal) size 4096
..              (Directory, x-directory/normal) size 4096
10.0            (Directory, x-directory/normal) size 4096
10.1            (Directory, x-directory/normal) size 4096
10.2            (Directory, x-directory/normal) size 4096
2005            (Directory, x-directory/normal) size 4096
2006.0          (Directory, x-directory/normal) size 4096
2007.0          (Directory, x-directory/normal) size 4096
current         (Directory, x-directory/normal) size 4096
iso             (Directory, x-directory/normal) size 4096
updates         (Directory, x-directory/normal) size 4096
gnome@dragonscale:~$ 
Comment 14 Mariano Suárez-Alvarez 2007-01-31 03:55:33 UTC
*** Bug 402372 has been marked as a duplicate of this bug. ***
Comment 15 Mariano Suárez-Alvarez 2007-02-01 23:24:50 UTC
*** Bug 403388 has been marked as a duplicate of this bug. ***
Comment 16 Teppo Turtiainen 2007-02-02 11:09:47 UTC
Bug 350052, bug 359145, bug 361017 and bug 367521 describe incorrect behaviour or crashes relating to filenames, directories or symlinks starting with a year. Bug 359145 and bug 367521 have extensive analysis and bug 359145 also contains a patch. Can we make sure these are not caused by the same issue and have the patch looked at?
Comment 17 Marc-Andre Lureau 2007-02-04 14:38:20 UTC
*** Bug 404250 has been marked as a duplicate of this bug. ***
Comment 18 Susana 2007-02-12 22:47:44 UTC
*** Bug 407231 has been marked as a duplicate of this bug. ***
Comment 19 Susana 2007-02-12 22:48:05 UTC
*** Bug 407235 has been marked as a duplicate of this bug. ***
Comment 20 Christian Kirbach 2007-02-15 21:59:49 UTC
*** Bug 408404 has been marked as a duplicate of this bug. ***
Comment 21 Susana 2007-03-07 11:44:51 UTC
*** Bug 415615 has been marked as a duplicate of this bug. ***
Comment 22 André Klapper 2007-03-13 19:20:14 UTC
*** Bug 417437 has been marked as a duplicate of this bug. ***
Comment 23 Teppo Turtiainen 2007-03-30 18:21:12 UTC
Can you still reproduce this with a version of gnome-vfs that contains the patch from bug 350052?
Comment 24 André Klapper 2007-04-09 22:48:14 UTC
Teppo: means? which version is that? 2.18.1?
Comment 25 André Klapper 2007-04-09 22:48:19 UTC
*** Bug 425212 has been marked as a duplicate of this bug. ***
Comment 26 Teppo Turtiainen 2007-04-10 04:42:57 UTC
(In reply to comment #24)
> Teppo: means? which version is that? 2.18.1?

If I'm reading the ChangeLog correctly, the patch was only applied to trunk, so you'll need 2.19.1 or newer to test this.
Comment 27 André Klapper 2007-04-12 14:17:50 UTC
...which has not yet been released...
Comment 28 srowe 2007-04-12 16:15:20 UTC
Forgive me if I'm not using Bugzilla correctly, this is my first comment to a bug report.  The FTP server I am using is the one built into ubuntu edgy eft, where you set up a "connect to server" location, and it becomes a volume you can mount.  I usually drag and drop items to be uploaded or downloaded.

Let me know if I should be using bugzilla in a different way.

I have installed the gnome-vfs and glib packages to help in the future.  Thanks for caring!  (so long Microsoft)
Comment 29 palfrey 2007-04-16 15:51:48 UTC
*** Bug 429339 has been marked as a duplicate of this bug. ***
Comment 30 palfrey 2007-04-16 17:58:59 UTC
*** Bug 429672 has been marked as a duplicate of this bug. ***
Comment 31 Susana 2007-04-19 14:56:57 UTC
*** Bug 430092 has been marked as a duplicate of this bug. ***
Comment 32 palfrey 2007-04-26 15:58:17 UTC
*** Bug 433625 has been marked as a duplicate of this bug. ***
Comment 33 André Klapper 2007-06-22 17:51:01 UTC
*** Bug 429111 has been marked as a duplicate of this bug. ***
Comment 34 Cosimo Cecchi 2007-09-29 00:25:12 UTC
*** Bug 481444 has been marked as a duplicate of this bug. ***
Comment 35 André Klapper 2007-10-19 01:14:53 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 36 André Klapper 2007-10-19 22:55:59 UTC
*** Bug 471040 has been marked as a duplicate of this bug. ***
Comment 37 André Klapper 2007-11-09 08:08:40 UTC
could be a duplicate of bug 365624