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 127453 - nautilus crashing on startup
nautilus crashing on startup
Status: RESOLVED DUPLICATE of bug 120222
Product: nautilus
Classification: Core
Component: general
2.4.x
Other other
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-20 05:56 UTC by csh
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description csh 2003-11-20 06:20:14 UTC
Distribution: Slackware Slackware 9.1.0
Package: nautilus
Severity: critical
Version: GNOME2.4.1 2.4.x
Gnome-Distributor: GNOME.Org
Synopsis: nautilus crashing on startup
Bugzilla-Product: nautilus
Bugzilla-Component: general
Bugzilla-Version: 2.4.x
BugBuddy-GnomeVersion: 2.0 (2.4.0.1)
Description:
Description of the crash:

Nautilus crashes after I login to Gnome.

The error message follows:

** ERROR **: file nautilus-directory.c: line 546 (add_to_hash_table):
assertion failed: (g_hash_table_lookup (directory->details->file_hash,
file->details->relative_uri) == NULL) aborting...

I'm unable to run Nautilus.  I don't have sources online, but I assume
Dropline Gnome releases debugging builds, since this is an assertion
(should not be in production code).  

Since this is a binary distribution, I don't have debug symbols loaded.

I have been running Gnome 2.4.1 for a week or so, and have not had this
problem until today.  It is a show stopper for me because I'm not unable
to use the system.

I would attempt pruning configuration files in case there is an error,
but this seems like a problem with something missing, not something
extra.




Steps to reproduce the crash:
1. login or just run nautilus from command line
2. 
3. 

Expected Results:


How often does this happen?


Additional Information:



Debugging Information:

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

(no debugging symbols found)...[New Thread 16384 (LWP 1206)]
[New Thread 32769 (LWP 1207)]
[New Thread 16386 (LWP 1208)]
[New Thread 32771 (LWP 1209)]
[New Thread 49156 (LWP 1210)]
[New Thread 65541 (LWP 1211)]
[New Thread 81926 (LWP 1212)]
0x40ac060c in waitpid ()
   from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 1206))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 kill
    from /lib/libc.so.6
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 raise
    from /lib/libpthread.so.0
  • #7 raise
    from /lib/libc.so.6
  • #8 abort
    from /lib/libc.so.6
  • #9 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #10 g_log
    from /usr/lib/libglib-2.0.so.0
  • #11 add_to_hash_table
    from /usr/lib/libnautilus-private.so.2
  • #12 nautilus_directory_add_file
    from /usr/lib/libnautilus-private.so.2
  • #13 nautilus_desktop_icon_file_new
    from /usr/lib/libnautilus-private.so.2
  • #14 create_icon_file
    from /usr/lib/libnautilus-private.so.2
  • #15 nautilus_desktop_link_new_from_volume
    from /usr/lib/libnautilus-private.so.2
  • #16 create_volume_link
    from /usr/lib/libnautilus-private.so.2
  • #17 create_one_volume_link
    from /usr/lib/libnautilus-private.so.2
  • #18 nautilus_volume_monitor_each_mounted_volume
    from /usr/lib/libnautilus-private.so.2
  • #19 nautilus_desktop_link_monitor_init
    from /usr/lib/libnautilus-private.so.2
  • #20 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_object_constructor
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #25 nautilus_desktop_link_monitor_get
    from /usr/lib/libnautilus-private.so.2
  • #26 nautilus_application_startup
  • #27 main
  • #28 __libc_start_main
    from /lib/libc.so.6
  • #0 waitpid
    from /lib/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-11-20 01:20 -------

Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.

Comment 1 csh 2003-11-20 17:25:41 UTC
Ah, the error is written by g_assert(), not a naked assert().

I have tried using strace on nautilus to find further information, but
can't find anything in the output that seems related. There are a lot
of file not found lines, but all of the gnome code does this while
searching for icons, and it seems that eventually every requested file
is found.

I have also checked for changes in my system, and can find none after
9 November, and in the period since then Nautilus has functioned
perfectly.  I have made no user-level changes in my configuration that
should affect things.

I created a new user on my system, and that user sees the same error
in Nautilus.

I also tried running Gnome as root, and root sees the same error once
Nautilus tries to start.

Something has to be different now, but I cannot imagine what that
would be.  I've tried using Bonsai to browse the code, but I rarely
read any Gnome code, so I've no ideas yet on what else to look for.
Comment 2 csh 2003-11-22 02:13:24 UTC
I have found the cause of the error:

I had 3 duplicated NFS mounts.  In other words, this:
/dev/sda1 on / type xfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /proc type proc (rw)
/dev/sda6 on /tmp type xfs (rw)
/dev/sda7 on /var type xfs (rw)
/dev/sda8 on /usr type xfs (rw)
/dev/sda9 on /home type xfs (rw)
/dev/sda10 on /usr/local type xfs (rw)
/dev/sdb2 on /u type xfs (rw)
/dev/hda1 on /mnt/win type ntfs (ro,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw)
escape:/public on /public type nfs 
escape:/public2 on /public2 type nfs 
escape:/usr/local on /local2 type nfs 
escape:/public on /public type nfs 
escape:/public2 on /public2 type nfs 
escape:/usr/local on /local2 type nfs 

Nautilus can't handle this situation.  Since it can easily happen,
this is still a critical bug.

I wonder too, if Nautilus would crash in similar but normal
situations, or maybe something like union mounts?
Comment 3 Martin Wehner 2003-11-27 18:47:19 UTC
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 120222 ***