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 545189 - Nautilus crashes if in a dir there are two symbolic link poiniting one each other
Nautilus crashes if in a dir there are two symbolic link poiniting one each o...
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Crashers
2.31.x
Other All
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 591742 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-07-28 16:51 UTC by Dario
Modified: 2011-09-28 17:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32



Description Dario 2008-07-28 16:51:46 UTC
Steps to reproduce:
mkdir ~/prova
chmod 777 ~/prova
cd  ~/prova
ln -s abc cba
ln -s cba abc
nautilus ~/prova


Stack trace:

Thread 1 (Thread 0xb6b5d720 (LWP 9953))

  • #0 g_static_rw_lock_writer_lock
    from /usr/lib/libglib-2.0.so.0
  • #1 g_type_class_ref
    from /usr/lib/libgobject-2.0.so.0
  • #2 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #3 ??
    from /usr/lib/libgobject-2.0.so.0
  • #4 ??
  • #5 ??
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 __pthread_mutex_unlock_usercnt
    from /lib/tls/i686/cmov/libpthread.so.0
  • #10 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #13 ??
    from /usr/lib/libgio-2.0.so.0
  • #14 ??
  • #15 ??


Other information:
It happens always when there is a loop in the symbalic links, even with 3 or more links. Es.
lrwxrwxrwx 1 dario dario 3 2008-07-28 18:49 abc -> def
lrwxrwxrwx 1 dario dario 3 2008-07-28 18:49 cba -> abc
lrwxrwxrwx 1 dario dario 3 2008-07-28 18:50 def -> cba
Comment 1 A. Walton 2008-07-28 17:04:25 UTC
No crash here with that exact setup (copied letter for letter). I believe we may have fixed this one much earlier on in the 2.22 cycle and that your distro may not have updated their package. Can you verify that this crash still happens with 2.22.5? If so, can you install debugging symbols to get a decent stacktrace?

Thanks in Advance!
Comment 2 Baptiste Mille-Mathias 2008-07-28 17:11:04 UTC
crash here
I'll provide a stacktrace
Comment 3 Baptiste Mille-Mathias 2008-07-28 17:14:38 UTC
(gdb) bt full
  • #0 pthread_mutex_lock
    from /lib/tls/i686/cmov/libpthread.so.0
  • #1 IA__g_static_rw_lock_writer_lock
    at /build/buildd/glib2.0-2.17.4/glib/gthread.c line 870
  • #2 IA__g_type_class_ref
    at /build/buildd/glib2.0-2.17.4/gobject/gtype.c line 2625
  • #3 IA__g_type_create_instance
    at /build/buildd/glib2.0-2.17.4/gobject/gtype.c line 1651
  • #4 g_object_constructor
    at /build/buildd/glib2.0-2.17.4/gobject/gobject.c line 1328
  • #5 IA__g_object_newv
    at /build/buildd/glib2.0-2.17.4/gobject/gobject.c line 1205
  • #6 IA__g_object_new_valist
    at /build/buildd/glib2.0-2.17.4/gobject/gobject.c line 1268
  • #7 IA__g_object_new
    at /build/buildd/glib2.0-2.17.4/gobject/gobject.c line 1050
  • #8 _g_local_file_new
    at /build/buildd/glib2.0-2.17.4/gio/glocalfile.c line 320
  • #9 g_local_file_resolve_relative_path
    at /build/buildd/glib2.0-2.17.4/gio/glocalfile.c line 569
  • #10 IA__g_file_resolve_relative_path
    at /build/buildd/glib2.0-2.17.4/gio/gfile.c line 770
  • #11 nautilus_file_get_location
    at nautilus-file.c line 1099
  • #12 nautilus_file_get_uri
    at nautilus-file.c line 1111
  • #13 get_link_files
    at nautilus-file.c line 1527
  • #14 nautilus_file_emit_changed
    at nautilus-file.c line 6292
  • #15 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 791
  • #16 nautilus_file_changed
    at nautilus-file.c line 6235
  • #17 nautilus_file_emit_changed
    at nautilus-file.c line 6295
  • #18 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 791
  • #19 nautilus_file_changed
    at nautilus-file.c line 6235
  • #20 nautilus_file_emit_changed
    at nautilus-file.c line 6295
  • #21 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 791
  • #22 nautilus_file_changed
    at nautilus-file.c line 6235
  • #23 nautilus_file_emit_changed
    at nautilus-file.c line 6295
  • #25 nautilus_file_changed
    at nautilus-file.c line 6235
  • #26 nautilus_file_emit_changed
    at nautilus-file.c line 6295
  • #27 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 791
  • #28 nautilus_file_changed
    at nautilus-file.c line 6235
  • #29 nautilus_file_emit_changed
    at nautilus-file.c line 6295

nautilus 2.23.5
gvfs 0.99.3
gtk 2.13.5
glib 2.17.4
Comment 4 Sebastien Bacher 2008-09-02 21:18:23 UTC
there is a similar crash on https://bugs.edge.launchpad.net/ubuntu/+source/nautilus/+bug/247921 and nautilus 2.23.91 still crashes
Comment 5 Vish 2010-07-04 20:40:20 UTC
Do you still have this problem with an up to date version of nautilus?
Comment 6 Dario 2010-07-04 21:43:16 UTC
I do with "GNOME nautilus 2.31.1"
Comment 7 needs 2011-05-04 22:24:05 UTC
No crash with nautilus 3.1.0
Comment 8 Akhil Laddha 2011-09-28 06:11:58 UTC
*** Bug 591742 has been marked as a duplicate of this bug. ***
Comment 9 Akhil Laddha 2011-09-28 06:15:19 UTC
Cann't reproduce the crash with nautilus 2.32.1

Can you please check again whether this issue still happens in GNOME 3.0.2 or 3.2 and update this report by adding a comment and changing the "Version"
field? Thanks a lot.
Comment 10 Cosimo Cecchi 2011-09-28 17:15:16 UTC
I believe this has been fixed already.