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 126731 - crash in startup when having duplicate mount in mnttab
crash in startup when having duplicate mount in mnttab
Status: RESOLVED DUPLICATE of bug 120222
Product: nautilus
Classification: Core
Component: Desktop
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-11 15:52 UTC by Jens Reimann
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Jens Reimann 2003-11-11 15:52:09 UTC
Description of Problem:
When you have (by any reason) a duplicate mount
entry in the mnttab nautilus crashes on startup

Steps to reproduce the problem:
1. generate duplicate mount entry (don't know how
to do this)
2. start nautilus
3. 

Actual Results:
nautilus crashes


Expected Results:
guess ;-)


How often does this happen? 
every start

Additional Information:
happend with smbfs mounts, don't know if this
matters?!

backtrace:
-------------
 
** 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...
 
Program received signal SIGABRT, Aborted.

Thread 1088165248 (LWP 3200)

  • #0 ??
  • #1 abort
    from /lib/tls/libc.so.6
  • #2 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #3 g_log
    from /usr/lib/libglib-2.0.so.0
  • #4 nautilus_directory_are_all_files_seen
    from /usr/lib/libnautilus-private.so.2
  • #5 nautilus_directory_add_file
    from /usr/lib/libnautilus-private.so.2
  • #6 nautilus_desktop_icon_file_new
    from /usr/lib/libnautilus-private.so.2
  • #7 nautilus_desktop_link_get_type
    from /usr/lib/libnautilus-private.so.2
  • #8 nautilus_desktop_link_new_from_volume
    from /usr/lib/libnautilus-private.so.2
  • #9 nautilus_desktop_link_monitor_delete_link
    from /usr/lib/libnautilus-private.so.2
  • #10 nautilus_desktop_link_monitor_delete_link
    from /usr/lib/libnautilus-private.so.2
  • #11 nautilus_volume_monitor_each_mounted_volume
    from /usr/lib/libnautilus-private.so.2
  • #12 nautilus_desktop_link_monitor_delete_link
    from /usr/lib/libnautilus-private.so.2
  • #13 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #18 nautilus_desktop_link_monitor_get
    from /usr/lib/libnautilus-private.so.2
  • #19 nautilus_application_startup
  • #20 main
  • #21 __libc_start_main
    from /lib/tls/libc.so.6
  • #4 nautilus_directory_are_all_files_seen
    from /usr/lib/libnautilus-private.so.2

Comment 1 Vincent Untz 2003-11-13 21:51:43 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 ***