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 138986 - Nautilus will crash on startup (AMD64 platform)
Nautilus will crash on startup (AMD64 platform)
Status: RESOLVED FIXED
Product: ORBit2
Classification: Deprecated
Component: general
2.6.x
Other Linux
: High critical
: ---
Assigned To: ORBit maintainers
Nautilus Maintainers
: 135417 139758 140348 141337 141420 141510 142059 145640 145651 145684 145745 145855 145864 145872 145880 145881 145883 145885 145889 145895 145914 145918 145945 145982 145983 146042 146047 146048 146057 146058 146064 146086 146166 146277 146614 147331 147351 147369 147750 147793 148223 148245 148259 148328 148343 148416 148429 148504 148525 148604 148631 148869 148872 148967 149217 149406 149944 150006 150160 150554 151027 151322 151358 151992 152287 152865 153016 153031 153034 153666 153690 153762 154319 154362 154939 154951 154972 155313 155432 155548 155798 155993 156073 156202 156337 156639 156723 157493 157934 168482 303275 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-04-03 21:47 UTC by mario
Modified: 2005-05-06 17:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Patch to fix nautilus crasher on AMD64 (510 bytes, patch)
2004-06-16 05:12 UTC, Chris Landrieu
none Details | Review
CORBA_tk_struct Alignment patch forward ported from bug 109799 (3.31 KB, patch)
2004-06-17 18:31 UTC, Chris Landrieu
none Details | Review

Description mario 2004-04-03 21:47:19 UTC
Description of Problem:After installing Gnome 2.6
on my AMD64, Nautilus will crash when it starts.


Steps to reproduce the problem:
1.I installed Gnome 2.6 on my pc 
2.I restarted Gnome and later my pc itself 
3.Both resulted in a Crash of Nautilus during the
startup proces of Gnome. 

Actual Results:Nautilus will crash. I tried to
re-compiled it but that had no result.
It doesn't matter if I start it as user or as root.

Expected Results:
A fine working Gnome 2.6 installation.

How often does this happen? 
Every time when I start Nautilus, no matter what I
try.

Additional Information:
'nautilus -c' give the following output:

mario@Leviathan mario $ nautilus -c
running nautilus_self_check_search_uri
running nautilus_self_check_file_utilities
running nautilus_self_check_file_operations
 
FAIL: check failed in nautilus-file-operations.c,
line 2606
      evaluated: get_duplicate_name (" (copy)", 1)
       expected:  (another copy)
            got:  (copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2607
      evaluated: get_duplicate_name ("foo", 1)
       expected: foo (copy)
            got: foo (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2608
      evaluated: get_duplicate_name (".bashrc", 1)
       expected: .bashrc (copy)
            got: .bashrc (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2609
      evaluated: get_duplicate_name (".foo.txt", 1)
       expected: .foo (copy).txt
            got: .foo (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2610
      evaluated: get_duplicate_name ("foo foo", 1)
       expected: foo foo (copy)
            got: foo foo (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2611
      evaluated: get_duplicate_name ("foo.txt", 1)
       expected: foo (copy).txt
            got: foo (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2612
      evaluated: get_duplicate_name ("foo foo.txt", 1)
       expected: foo foo (copy).txt
            got: foo foo (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2613
      evaluated: get_duplicate_name ("foo foo.txt
txt", 1)
       expected: foo foo (copy).txt txt
            got: foo foo (kopie).txt txt
FAIL: check failed in nautilus-file-operations.c,
line 2614
      evaluated: get_duplicate_name ("foo...txt", 1)
       expected: foo.. (copy).txt
            got: foo.. (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2615
      evaluated: get_duplicate_name ("foo...", 1)
       expected: foo... (copy)
            got: foo... (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2616
      evaluated: get_duplicate_name ("foo. (copy)", 1)
       expected: foo. (another copy)
            got: foo (kopie). (copy)
FAIL: check failed in nautilus-file-operations.c,
line 2617
      evaluated: get_duplicate_name ("foo (copy)", 1)
       expected: foo (another copy)
            got: foo (copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2618
      evaluated: get_duplicate_name ("foo
(copy).txt", 1)
       expected: foo (another copy).txt
            got: foo (copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2619
      evaluated: get_duplicate_name ("foo (another
copy)", 1)
       expected: foo (3rd copy)
            got: foo (another copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2620
      evaluated: get_duplicate_name ("foo (another
copy).txt", 1)
       expected: foo (3rd copy).txt
            got: foo (another copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2621
      evaluated: get_duplicate_name ("foo foo
(another copy).txt", 1)
       expected: foo foo (3rd copy).txt
            got: foo foo (another copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2622
      evaluated: get_duplicate_name ("foo (13th
copy)", 1)
       expected: foo (14th copy)
            got: foo (13th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2623
      evaluated: get_duplicate_name ("foo (13th
copy).txt", 1)
       expected: foo (14th copy).txt
            got: foo (13th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2624
      evaluated: get_duplicate_name ("foo (21st
copy)", 1)
       expected: foo (22nd copy)
            got: foo (21st copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2625
      evaluated: get_duplicate_name ("foo (21st
copy).txt", 1)
       expected: foo (22nd copy).txt
            got: foo (21st copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2626
      evaluated: get_duplicate_name ("foo (22nd
copy)", 1)
       expected: foo (23rd copy)
            got: foo (22nd copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2627
      evaluated: get_duplicate_name ("foo (22nd
copy).txt", 1)
       expected: foo (23rd copy).txt
            got: foo (22nd copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2628
      evaluated: get_duplicate_name ("foo (23rd
copy)", 1)
       expected: foo (24th copy)
            got: foo (23rd copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2629
      evaluated: get_duplicate_name ("foo (23rd
copy).txt", 1)
       expected: foo (24th copy).txt
            got: foo (23rd copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2630
      evaluated: get_duplicate_name ("foo (24th
copy)", 1)
       expected: foo (25th copy)
            got: foo (24th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2631
      evaluated: get_duplicate_name ("foo (24th
copy).txt", 1)
       expected: foo (25th copy).txt
            got: foo (24th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2632
      evaluated: get_duplicate_name ("foo foo
(24th copy)", 1)
       expected: foo foo (25th copy)
            got: foo foo (24th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2633
      evaluated: get_duplicate_name ("foo foo
(24th copy).txt", 1)
       expected: foo foo (25th copy).txt
            got: foo foo (24th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2634
      evaluated: get_duplicate_name ("foo foo
(100000000000000th copy).txt", 1)
       expected: foo foo (copy).txt
            got: foo foo (100000000000000th copy)
(kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2635
      evaluated: get_duplicate_name ("foo (10th
copy)", 1)
       expected: foo (11th copy)
            got: foo (10th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2636
      evaluated: get_duplicate_name ("foo (10th
copy).txt", 1)
       expected: foo (11th copy).txt
            got: foo (10th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2637
      evaluated: get_duplicate_name ("foo (11th
copy)", 1)
       expected: foo (12th copy)
            got: foo (11th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2638
      evaluated: get_duplicate_name ("foo (11th
copy).txt", 1)
       expected: foo (12th copy).txt
            got: foo (11th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2639
      evaluated: get_duplicate_name ("foo (12th
copy)", 1)
       expected: foo (13th copy)
            got: foo (12th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2640
      evaluated: get_duplicate_name ("foo (12th
copy).txt", 1)
       expected: foo (13th copy).txt
            got: foo (12th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2641
      evaluated: get_duplicate_name ("foo (110th
copy)", 1)
       expected: foo (111th copy)
            got: foo (110th copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2642
      evaluated: get_duplicate_name ("foo (110th
copy).txt", 1)
       expected: foo (111th copy).txt
            got: foo (110th copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2643
      evaluated: get_duplicate_name ("foo (122nd
copy)", 1)
       expected: foo (123rd copy)
            got: foo (122nd copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2644
      evaluated: get_duplicate_name ("foo (122nd
copy).txt", 1)
       expected: foo (123rd copy).txt
            got: foo (122nd copy) (kopie).txt
FAIL: check failed in nautilus-file-operations.c,
line 2645
      evaluated: get_duplicate_name ("foo (123rd
copy)", 1)
       expected: foo (124th copy)
            got: foo (123rd copy) (kopie)
FAIL: check failed in nautilus-file-operations.c,
line 2646
      evaluated: get_duplicate_name ("foo (123rd
copy).txt", 1)
       expected: foo (124th copy).txt
            got: foo (123rd copy) (kopie).txt
running nautilus_self_check_directory
 
(gnome_segv:27321): Gtk-WARNING **: Ignoring the
separator setting


Bug-buddy says the following:

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)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols
found)...(no debugging symbols
found)...0x0000002a98df5a03 in waitpid () from
/lib/libpthread.so.0
  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 pthread_barrierattr_setpshared
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 free
    from /lib/libc.so.6
  • #5 g_free
    from /usr/lib/libglib-2.0.so.0
  • #6 ORBit_free_T
    from /usr/lib/libORBit-2.so.0
  • #7 CORBA_wstring_len
    from /usr/lib/libORBit-2.so.0
  • #8 CORBA_wstring_len
    from /usr/lib/libORBit-2.so.0
  • #9 ORBit_free_T
    from /usr/lib/libORBit-2.so.0
  • #10 CORBA_wstring_len
    from /usr/lib/libORBit-2.so.0
  • #11 ORBit_free_T
    from /usr/lib/libORBit-2.so.0
  • #12 ORBit_free
    from /usr/lib/libORBit-2.so.0
  • #13 CORBA_free
    from /usr/lib/libORBit-2.so.0
  • #14 gnome_vfs_volume_monitor_client_get_type
    from /usr/lib/libgnomevfs-2.so.0
  • #15 gnome_vfs_volume_monitor_client_get_type
    from /usr/lib/libgnomevfs-2.so.0
  • #16 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #21 _gnome_vfs_get_volume_monitor_internal
    from /usr/lib/libgnomevfs-2.so.0
  • #22 gnome_vfs_get_volume_monitor
    from /usr/lib/libgnomevfs-2.so.0
  • #23 nautilus_monitor_active
    from /usr/lib/libnautilus-private.so.2
  • #24 nautilus_monitor_active
    from /usr/lib/libnautilus-private.so.2
  • #25 nautilus_directory_monitor_add_internal
    from /usr/lib/libnautilus-private.so.2
  • #26 nautilus_vfs_directory_get_type
    from /usr/lib/libnautilus-private.so.2
  • #27 nautilus_directory_file_monitor_add
    from /usr/lib/libnautilus-private.so.2
  • #28 nautilus_main_event_loop_quit

Comment 1 mario 2004-04-03 21:51:22 UTC
Some people on the Gentoo forum suggested that I had to shutdown the fam-daemon.
This, however, had no result.
The version I installed is: nautilus-2.6.0
Comment 2 Charles 2004-04-06 23:57:51 UTC
I have this same problem as well (on amd64). If a vfat or smbfs file system type
have been mounted by /etc/fstab (the bug will not occur if you mount from the
command line), Nautilus will not start. To get Nautilus to start, unmount of
those file systems. (You can mount them again once Nautilus has started).

Others have had this problem as well: http://bugs.gentoo.org/show_bug.cgi?id=46674
Comment 3 caleb 2004-04-07 01:50:32 UTC
I'm on amd64 as well, but I am NOT using supermount.

My /etc/fstab follows (note, if I uncomment ANY of the commented lines nautilus
starts crashing again):

/dev/sda1 /boot ext2 noauto,noatime 1 1
/dev/sda3 /     ext3 noatime        0 0
/dev/sda2 none  swap sw             0 0
/dev/discs/disc3/part1  /home  ext3   noatime  0 0
#/dev/discs/disc2/part1 /mnt/windata  ntfs  user,noauto,umask=000   0 0
#/dev/discs/disc0/part1 /mnt/windows  ntfs  user,noauto,umask=000   0 0
#/dev/discs/disc0/part2 /mnt/dos      msdos user,noauto,umask=000   0 0
/dev/cdroms/cdrom0      /mnt/cdrom    iso9660 user,exec,noauto,ro   0 0
/dev/floppy/0           /mnt/floppy   auto user,noauto              0 0
none                    /proc         proc  defaults                0 0
none                    /dev/shm      tmpfs defaults                0 0
Comment 4 mario 2004-04-07 11:49:47 UTC
I don't have any ntfs/vfat partition or any smb-share mounted.
But Nautilus still crashes. This is my /etc/fstab:

/dev/hda2      /boot           ext2            noauto,noatime          1 1
/dev/hda3      /               ext3            noatime                 0 0
/dev/cdrom     /mnt/cdrom      iso9660         users,noauto,ro         0 0
/dev/hda4      /mnt/data       ext3            users,noauto,noatime    0 0
Comment 5 mario 2004-04-07 16:58:57 UTC
I commentedout all my NFS shares in /etc/fstab and now it works.
So NFS seem to couse trouble too. Even mount with the 'noauto'
option had to be turned off.
Comment 6 caleb 2004-04-11 01:39:57 UTC
Here's a backtrace with debugging symbols:

(gdb) run
Starting program: /usr/bin/nautilus
 
(nautilus:28778): Gtk-WARNING **: Unable to locate theme engine in module_path:
"redmond95",
 
(nautilus:28778): Gtk-WARNING **: Unable to locate theme engine in module_path:
"redmond95",
 
Program received signal SIG32, Real-time event 32.
0x0000002a9936f07e in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) bt
  • #0 pthread_getconcurrency
    from /lib/libpthread.so.0
  • #1 pthread_getconcurrency
    from /lib/libpthread.so.0
  • #2 pthread_create
    from /lib/libpthread.so.0
  • #3 g_thread_create_posix_impl
    at gthread-posix.c line 339
  • #4 g_thread_create_full
    at gthread.c line 587
  • #5 link_exec_set_io_thread
    at linc.c line 402
  • #6 link_dispatch_command
    at linc.c line 444
  • #7 link_exec_command
    at linc.c line 115
  • #8 link_set_io_thread
    at linc.c line 429
  • #9 ORBit_ObjectAdaptor_set_thread_hintv
    at orbit-adaptor.c line 29
  • #10 bonobo_poa_get_threadedv
    at bonobo-main.c line 392
  • #11 bonobo_poa_get_threaded
  • #12 _gnome_vfs_get_client
    at gnome-vfs-client.c line 339
  • #13 gnome_vfs_volume_monitor_client_class_init
    at gnome-vfs-volume-monitor-client.c line 83
  • #14 type_class_init_Wm
    at gtype.c line 1907
  • #15 g_type_class_ref
    at gtype.c line 2404
  • #16 g_object_newv
    at gobject.c line 857
  • #17 g_object_new_valist
    at gobject.c line 984
  • #18 g_object_new
    at gobject.c line 822
  • #19 _gnome_vfs_get_volume_monitor_internal
    at gnome-vfs-volume-monitor.c line 226
  • #20 gnome_vfs_get_volume_monitor
    at gnome-vfs-volume-monitor.c line 238
  • #21 nautilus_application_instance_init
    at nautilus-application.c line 182
  • #22 g_type_create_instance
    at gtype.c line 1595
  • #23 g_object_constructor
    at gobject.c line 1044
  • #24 bonobo_object_constructor
  • #25 g_object_newv
    at gobject.c line 941
  • #26 g_object_new_valist
    at gobject.c line 984
  • #27 g_object_new
    at gobject.c line 822
  • #28 nautilus_application_new
    at nautilus-application.c line 201
  • #29 main
    at nautilus-main.c line 319

Comment 7 Martin Wehner 2004-04-13 10:06:16 UTC
*** Bug 139758 has been marked as a duplicate of this bug. ***
Comment 8 caleb 2004-04-15 02:19:09 UTC
This seems to stem from a buggy cvs version of glibc. See:

http://bugs.gentoo.org/show_bug.cgi?id=46674

Is there anybody experiencing this bug who is NOT using Gentoo?
Comment 9 Charles 2004-04-17 19:12:38 UTC
As I just posted on http://bugs.gentoo.org/show_bug.cgi?id=46674 , this bug
occurs on Gentoo with the stable glibc-2.3.2.
 U I [ Found these USE variables in : sys-libs/glibc-2.3.2-r9 ]
 + + nls   : unknown
 - - pic   : Build position independent code. Needed for (prelink/hardened-gcc)
 - - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for
creating build images and the first half of bootstrapping.
 - - nptl  : If you want the Native POSIX Threading Library built into glibc
I have no clue what nptl is, but I do NOT have it installed.

Also, there are duplicates of this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=140348 and
http://bugzilla.gnome.org/show_bug.cgi?id=135417
Comment 10 Martin Wehner 2004-04-18 13:33:52 UTC
*** Bug 135417 has been marked as a duplicate of this bug. ***
Comment 11 Martin Wehner 2004-04-18 13:37:34 UTC
*** Bug 140348 has been marked as a duplicate of this bug. ***
Comment 12 Martin Wehner 2004-05-01 16:38:18 UTC
*** Bug 141337 has been marked as a duplicate of this bug. ***
Comment 13 Martin Wehner 2004-05-01 16:38:23 UTC
*** Bug 141420 has been marked as a duplicate of this bug. ***
Comment 14 Martin Wehner 2004-05-01 16:38:28 UTC
*** Bug 141510 has been marked as a duplicate of this bug. ***
Comment 15 Martin Wehner 2004-05-08 19:36:07 UTC
*** Bug 142059 has been marked as a duplicate of this bug. ***
Comment 16 Charles 2004-05-17 22:48:17 UTC
I just posted this on the Gentoo Bugzilla:
The "users" option is what is doing it! When you have "users" or "user" set,
Nautilus makes an icon on the desktop, and an entry in "Save in Folder" on the
new save menu (click save in gedit 2.6). That is where the crash is occuring.
Everyone, try removing "user" and "users" and see what you get.
Comment 17 David Henderson 2004-05-18 03:22:04 UTC
Sorry to rain on your parade, but this is not nescssarily true; refer to gentoo
bugzilla : http://bugs.gentoo.org/show_bug.cgi?id=46674

In my fstab, I have two entries with "users" which do not cause the segfault and
5 or so which do.  In one case, there is negligible difference between a working
line and three that dont : see below (this fstab works, uncommenting any lines
breaks it).  (amd64, kernel 2.6.5, gnome 2.6.1)

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17
19:55:18 azarah Exp $
# <fs>                          <mountpoint>    <type>          <opts>         
        <dump/pass>
/dev/discs/disc0/part2          /boot           ext2    noauto,noatime         
        1 1
/dev/discs/disc0/part3          /               ext3    noatime                
        0 0
/dev/discs/disc0/part1          none            swap    sw                     
        0 0
/dev/discs/disc2/part1          /arch           vfat    rw,umask=0000          
        0 0
/dev/discs/disc1/part1          /mnt/windrive   ntfs    rw,umask=0000          
        0 0
#/dev/cdroms/cdrom0             /mnt/cdrom      auto    noauto,ro,users,exec   
        0 0
/dev/sde2                       /mnt/ipod       vfat   
users,rw,umask=0000,noauto      0 0
#/dev/hdc1                      /mnt/archive    auto   
users,rw,umask=0000,noauto      0 0
/dev/sda1                       /mnt/cf         auto   
users,rw,umask=0000,noauto      0 0
#/dev/sdb1                      /mnt/ms         auto   
users,rw,umask=0000,noauto      0 0
#/dev/sdc1                      /mnt/sd         auto   
users,rw,umask=0000,noauto      0 0
#/dev/sdd1                      /mnt/sm         auto   
users,rw,umask=0000,noauto      0 0
 
none                    /proc           proc            defaults                0 0
none                    /dev/shm        tmpfs           defaults                0 0
none    /proc/sys/fs/binfmt_misc        binfmt_misc     defaults                0 0
Comment 18 Herbie Hopkins 2004-05-19 10:53:43 UTC
Again refering to gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=46674

To summarize: nautilus seems to take notice of fstab entries containing
user,users or supermount (any others?). Having one or two such entries is no
problem, however if fstab contains three or more such entries then I get the
crash. It seems that there does not need to be anything special about these
entries with regards to filesystem type etc (I've tried quite a few). It is
sufficient that they are user mountable and number greater than or equal to three.
Comment 19 David Henderson 2004-05-22 03:13:36 UTC
re: herbies comment; 
Nautilus on my system does not like *ANY* IDE entries with users as a flag; nor
does it like my sdc entry (see above); any other two are fine, try a third and
the segfault returns.  Note that "sde" being my ipod is not connected at boot
(normally) and, therefore the device sde is not in /dev at all.
Comment 20 Travis Tilley 2004-05-22 09:46:15 UTC
execution fails on the asm "lea 0xffffffffffffff70(%rbp),%rdi". eh?

(gdb) where
  • #0 main
    at nautilus-main.c line 182

which contains:
GValue context_as_value = { 0 };
Comment 21 Rick Stevens 2004-05-25 07:37:09 UTC
I can confirm the same problem with Fedora Core 2 on an AMD64.  I had two CDROM
entries and one for the floppy drive in /etc/fstab with the "owner" attribute:

/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

If those are commented out, nautilus comes up.  I have not tried reducing the
_number_ of "owner" entries, I just dumped all three.  Of course, that kind of
screws up the usability of the CDs and floppy, doesn't it?

System: Fedora Core 2 (kernel 2.6.5-1.358)
Motherboard: ASUS K8V-SE, AMD Athlon64 2000+
RAM: 512MB

Need any other info?
Comment 22 XiPHiaS 2004-06-03 18:56:38 UTC
i started nautilus with GDB, this is what it looks like:

....-=cut=-....
Run till exit from #0  0x00000036c0139f8b in ORBit_c_stub_invoke () from
/usr/lib/libORBit-2.so.0
0x00000036c0b2093c in GNOME_VFS_Daemon_getDrives () from /usr/lib/libgnomevfs-2.so.0
(gdb) finish
Run till exit from #0  0x00000036c0b2093c in GNOME_VFS_Daemon_getDrives () from
/usr/lib/libgnomevfs-2.so.0
0x00000036c0b46418 in gnome_vfs_volume_monitor_client_get_type () from
/usr/lib/libgnomevfs-2.so.0
(gdb) finish
Run till exit from #0  0x00000036c0b46418 in
gnome_vfs_volume_monitor_client_get_type ()
   from /usr/lib/libgnomevfs-2.so.0
 
Program received signal SIGSEGV, Segmentation fault.
0x00000036bac66f4b in free () from /lib/libc.so.6

-----

So, it looks like the problem originates from libgnomevfs. 
BTW: I'm a gentoo on amd64 user, and the segfault only occurs when there are
more than 2 "user" entries in fstab.
Comment 23 XiPHiaS 2004-06-03 20:04:26 UTC
examening the code in gnome-vfs-volume-monitor-daemon.c, i found out that
loopback-devices are threated the same way as non-usermountable devices. So
adding loop=/dev/loop1 to your fstab entry options will let nautilus ignore this
entry. 

This is a nice workaround for now, but something goes wrong when adding the
third removable device to nautilus on amd64 has to be fixed. Sadly, I'm kinda
new to linux-command line debugging and don't have any idea how to debug a
library. If someone could give me some hints, that would be great.
Comment 24 XiPHiaS 2004-06-04 00:51:08 UTC
Ok, i spent some time on trying to debug the library. I got as far seeing the
libgnome-vfs sourcecode in ddd. However, it did not halt at the breakpoint i set
in the gnome-vfs-volume-monitor-deamon.c file. This has to do with the simple
fact that this file is part of a CORBA deamon that gets called from the
-client.c file, over CORBA. I tried attaching gdb to this deamon, but that
didn't work for me. 

I debugged gnome-vfs-volume-monitor-client.c though. It creates an internal list
of drives that it recieved from the CORBA deamon. then it wants to free the
CORBA object with "CORBA_free (list);". At that point the segfault occurs. 
Comment 25 Chris Landrieu 2004-06-16 05:12:17 UTC
Created attachment 28747 [details] [review]
Patch to fix nautilus crasher on AMD64

I just got an AMD64 system this past weekend and was really bummed when I hit
this same bug.	I did some tracing and debugging and discovered the cause.  It
is actually an alignment bug in ORBit2 (in the code behind CORBA_free() as
XiPHiaS mentioned).

Essentially, gnome-vfs2 requests a list of removable media from the volume
monitor daemon so that it knows what icons to show on the desktop (CD/DVD-ROM
drives, floppy drives, zip drives, etc.).  This takes place through a Corba
call.  The call returns a list of drives and information about the drives in a
sequence of structures.  The alignment of the structures and their data members
are correct when they are constructed (demarshalled), however when the list is
passed to CORBA_free() to free the memory used by the list, the code that frees
each structure fails to take into account the proper alignment of each
structure (8 bytes on AMD64).  The result is that after the second item in the
list, a point goes far enough astray to cause it to free() some bogus chunks of
memory.

I made a patch (attached) of a one-liner that should fix this.	I don't think
its the best way to fix it, but it works.  The fix aligns the pointer properly
before freeing a structure (within ORBit_freekids_via_TypeCode_T()).


diff -Naur ORBit2-2.10.0/src/orb/orb-core/allocators.c
ORBit2-2.10.0.1-cbl/src/orb/orb-core/allocators.c
--- ORBit2-2.10.0/src/orb/orb-core/allocators.c 2003-07-07 13:11:31.000000000
+0000
+++ ORBit2-2.10.0.1-cbl/src/orb/orb-core/allocators.c	2004-06-16
04:11:27.642691407 +0000
@@ -59,6 +59,7 @@
	}
	case CORBA_tk_except:
	case CORBA_tk_struct:
+		mem = ALIGN_ADDRESS (mem, tc->c_align);
		for (i = 0; i < tc->sub_parts; i++) {
			subtc = tc->subtypes [i];
			mem = ALIGN_ADDRESS (mem, subtc->c_align);
Comment 26 Herbie Hopkins 2004-06-16 08:40:08 UTC
Just tested this on my gentoo box, works a treat. Thanks ever so much for fixing
this perotin, it was driving me crazy!
Comment 27 Alan Hamilton 2004-06-17 07:36:36 UTC
Thanks for finding it.  The fix works on my Fedora Core 2 system.
Comment 28 Alan Hamilton 2004-06-17 07:45:54 UTC
This appears to be covered under http://bugzilla.gnome.org/show_bug.cgi?
id=109799
Comment 29 Chris Landrieu 2004-06-17 18:31:21 UTC
Created attachment 28806 [details] [review]
CORBA_tk_struct Alignment patch forward ported from bug 109799
Comment 30 Chris Landrieu 2004-06-17 18:32:26 UTC
Your right.  However, that patch was only applied to the old ORBit and it wasn't
fixed in ORBit2.  Looks like that whole patch needs to be worked into ORBit2.

I've adapted Matt Wilson's patch for bug 109799 to apply to ORBit2 and attached
it.  It patches cleanly against 2.10.x and fairly cleanly against HEAD.

Unfortunately, I don't have access to my AMD64 right now.  Can someone please
try it and verify that won't cause a fire or give your gerbil cancer?

Mario, could you please reassign this to the ORBit2 product?
Comment 31 Martin Wehner 2004-06-17 19:35:46 UTC
Reassigning to ORBit2 as requested.
Comment 32 Herbie Hopkins 2004-06-17 20:44:00 UTC
tested the new patch with ORBit-2.10.2 and nautilus-2.6.1 on gentoo amd64. No
problems here.
Comment 33 Michael Meeks 2004-06-18 13:54:45 UTC
Hi Herbie, can you confirm that 'make check' passes in ORBit2 with this patch ?
Comment 34 Michael Meeks 2004-06-18 13:56:45 UTC
Chris - the changes look fine, can you commit with suitable ChangeLog to
gnome-2-6 and HEAD branches, and I'll do a new stable release.
Comment 35 Chris Landrieu 2004-06-18 14:43:51 UTC
Sorry, I don't have a CVS account.  Can you please check it in for me?
Comment 36 Michael Meeks 2004-06-23 10:39:56 UTC
So - Chris, after looking at it; only the allocators.c part of it was necessary
- since we do pre-alignment rather nicely in all the other cases anyway.
I did a new release 2.10.3 with this fix (and another similar union alignment
fix). Thanks for the great report.
Comment 37 Alan Hamilton 2004-07-08 23:32:18 UTC
*** Bug 146058 has been marked as a duplicate of this bug. ***
Comment 38 Martin Wehner 2004-07-09 00:27:06 UTC
*** Bug 145914 has been marked as a duplicate of this bug. ***
Comment 39 Martin Wehner 2004-07-09 00:27:52 UTC
*** Bug 145918 has been marked as a duplicate of this bug. ***
Comment 40 Martin Wehner 2004-07-09 00:31:32 UTC
*** Bug 146086 has been marked as a duplicate of this bug. ***
Comment 41 Martin Wehner 2004-07-09 00:34:31 UTC
*** Bug 145640 has been marked as a duplicate of this bug. ***
Comment 42 Martin Wehner 2004-07-09 00:35:47 UTC
*** Bug 145651 has been marked as a duplicate of this bug. ***
Comment 43 Martin Wehner 2004-07-09 00:40:08 UTC
*** Bug 145684 has been marked as a duplicate of this bug. ***
Comment 44 Martin Wehner 2004-07-09 00:40:19 UTC
*** Bug 145745 has been marked as a duplicate of this bug. ***
Comment 45 Martin Wehner 2004-07-09 00:40:35 UTC
*** Bug 145855 has been marked as a duplicate of this bug. ***
Comment 46 Martin Wehner 2004-07-09 00:40:50 UTC
*** Bug 145872 has been marked as a duplicate of this bug. ***
Comment 47 Martin Wehner 2004-07-09 00:42:28 UTC
*** Bug 145880 has been marked as a duplicate of this bug. ***
Comment 48 Martin Wehner 2004-07-09 00:42:41 UTC
*** Bug 145881 has been marked as a duplicate of this bug. ***
Comment 49 Martin Wehner 2004-07-09 00:42:59 UTC
*** Bug 145885 has been marked as a duplicate of this bug. ***
Comment 50 Martin Wehner 2004-07-09 00:43:17 UTC
*** Bug 145883 has been marked as a duplicate of this bug. ***
Comment 51 Martin Wehner 2004-07-09 00:44:39 UTC
*** Bug 145895 has been marked as a duplicate of this bug. ***
Comment 52 Martin Wehner 2004-07-09 00:49:31 UTC
*** Bug 145945 has been marked as a duplicate of this bug. ***
Comment 53 Martin Wehner 2004-07-09 00:50:24 UTC
*** Bug 145982 has been marked as a duplicate of this bug. ***
Comment 54 Martin Wehner 2004-07-09 00:50:47 UTC
*** Bug 145983 has been marked as a duplicate of this bug. ***
Comment 55 Martin Wehner 2004-07-09 00:51:19 UTC
*** Bug 146042 has been marked as a duplicate of this bug. ***
Comment 56 Martin Wehner 2004-07-09 00:51:41 UTC
*** Bug 146047 has been marked as a duplicate of this bug. ***
Comment 57 Martin Wehner 2004-07-09 00:51:59 UTC
*** Bug 146048 has been marked as a duplicate of this bug. ***
Comment 58 Martin Wehner 2004-07-09 00:52:11 UTC
*** Bug 146057 has been marked as a duplicate of this bug. ***
Comment 59 Martin Wehner 2004-07-09 00:52:22 UTC
*** Bug 146064 has been marked as a duplicate of this bug. ***
Comment 60 Martin Wehner 2004-07-09 00:53:54 UTC
*** Bug 146166 has been marked as a duplicate of this bug. ***
Comment 61 Martin Wehner 2004-07-09 00:55:01 UTC
*** Bug 145889 has been marked as a duplicate of this bug. ***
Comment 62 Martin Wehner 2004-07-09 02:45:04 UTC
*** Bug 146277 has been marked as a duplicate of this bug. ***
Comment 63 Vincent Untz 2004-07-09 14:09:57 UTC
*** Bug 145864 has been marked as a duplicate of this bug. ***
Comment 64 Alan Hamilton 2004-07-09 15:21:42 UTC
*** Bug 146614 has been marked as a duplicate of this bug. ***
Comment 65 Martin Wehner 2004-07-11 15:00:00 UTC
*** Bug 147331 has been marked as a duplicate of this bug. ***
Comment 66 Martin Wehner 2004-07-11 17:46:22 UTC
*** Bug 147351 has been marked as a duplicate of this bug. ***
Comment 67 Martin Wehner 2004-07-11 23:53:45 UTC
*** Bug 147369 has been marked as a duplicate of this bug. ***
Comment 68 Elijah Newren 2004-07-17 16:48:01 UTC
*** Bug 147750 has been marked as a duplicate of this bug. ***
Comment 69 Elijah Newren 2004-07-17 23:56:21 UTC
*** Bug 147793 has been marked as a duplicate of this bug. ***
Comment 70 Martin Wehner 2004-07-23 03:43:18 UTC
*** Bug 148223 has been marked as a duplicate of this bug. ***
Comment 71 Martin Wehner 2004-07-23 06:43:05 UTC
*** Bug 148245 has been marked as a duplicate of this bug. ***
Comment 72 Martin Wehner 2004-07-24 14:30:26 UTC
*** Bug 148343 has been marked as a duplicate of this bug. ***
Comment 73 Martin Wehner 2004-07-24 14:31:27 UTC
*** Bug 148328 has been marked as a duplicate of this bug. ***
Comment 74 Martin Wehner 2004-07-24 14:33:38 UTC
*** Bug 148259 has been marked as a duplicate of this bug. ***
Comment 75 Martin Wehner 2004-07-25 15:56:27 UTC
*** Bug 148416 has been marked as a duplicate of this bug. ***
Comment 76 Martin Wehner 2004-07-25 17:40:58 UTC
*** Bug 148429 has been marked as a duplicate of this bug. ***
Comment 77 Olav Vitters 2004-07-27 20:53:32 UTC
*** Bug 148604 has been marked as a duplicate of this bug. ***
Comment 78 Olav Vitters 2004-07-27 20:55:39 UTC
*** Bug 148525 has been marked as a duplicate of this bug. ***
Comment 79 Olav Vitters 2004-07-27 20:55:47 UTC
*** Bug 148504 has been marked as a duplicate of this bug. ***
Comment 80 Martin Wehner 2004-07-30 00:26:58 UTC
*** Bug 148631 has been marked as a duplicate of this bug. ***
Comment 81 Olav Vitters 2004-07-30 17:30:48 UTC
*** Bug 148869 has been marked as a duplicate of this bug. ***
Comment 82 Olav Vitters 2004-07-30 17:30:53 UTC
*** Bug 148872 has been marked as a duplicate of this bug. ***
Comment 83 Olav Vitters 2004-08-01 10:47:30 UTC
*** Bug 148967 has been marked as a duplicate of this bug. ***
Comment 84 Olav Vitters 2004-08-03 21:43:46 UTC
*** Bug 149217 has been marked as a duplicate of this bug. ***
Comment 85 Vincent Noel 2004-08-06 19:07:04 UTC
*** Bug 148847 has been marked as a duplicate of this bug. ***
Comment 86 Vincent Noel 2004-08-06 19:08:32 UTC
*** Bug 149406 has been marked as a duplicate of this bug. ***
Comment 87 David Sedeño Fernández 2004-08-12 08:26:27 UTC
*** Bug 149944 has been marked as a duplicate of this bug. ***
Comment 88 Martin Wehner 2004-08-14 01:24:26 UTC
*** Bug 150006 has been marked as a duplicate of this bug. ***
Comment 89 Petter Sundlöf 2004-08-15 08:58:03 UTC
*** Bug 150160 has been marked as a duplicate of this bug. ***
Comment 90 Vincent Noel 2004-08-19 17:25:07 UTC
*** Bug 150554 has been marked as a duplicate of this bug. ***
Comment 91 Vincent Noel 2004-08-25 14:39:19 UTC
*** Bug 151027 has been marked as a duplicate of this bug. ***
Comment 92 Martin Wehner 2004-08-29 16:11:51 UTC
*** Bug 151322 has been marked as a duplicate of this bug. ***
Comment 93 David Sedeño Fernández 2004-08-29 20:29:45 UTC
*** Bug 151358 has been marked as a duplicate of this bug. ***
Comment 94 David Sedeño Fernández 2004-09-06 20:35:27 UTC
*** Bug 151992 has been marked as a duplicate of this bug. ***
Comment 95 Martin Wehner 2004-09-10 00:45:29 UTC
*** Bug 152287 has been marked as a duplicate of this bug. ***
Comment 96 Martin Wehner 2004-09-16 23:14:07 UTC
*** Bug 152865 has been marked as a duplicate of this bug. ***
Comment 97 David Sedeño Fernández 2004-09-18 23:22:21 UTC
*** Bug 153031 has been marked as a duplicate of this bug. ***
Comment 98 David Sedeño Fernández 2004-09-19 14:26:07 UTC
*** Bug 153034 has been marked as a duplicate of this bug. ***
Comment 99 Vincent Noel 2004-09-20 14:10:28 UTC
*** Bug 153016 has been marked as a duplicate of this bug. ***
Comment 100 David Sedeño Fernández 2004-09-24 21:23:48 UTC
*** Bug 153666 has been marked as a duplicate of this bug. ***
Comment 101 David Sedeño Fernández 2004-09-25 11:48:30 UTC
*** Bug 153690 has been marked as a duplicate of this bug. ***
Comment 102 David Sedeño Fernández 2004-09-26 16:35:06 UTC
*** Bug 153762 has been marked as a duplicate of this bug. ***
Comment 103 David Sedeño Fernández 2004-10-03 12:24:06 UTC
*** Bug 154362 has been marked as a duplicate of this bug. ***
Comment 104 David Sedeño Fernández 2004-10-03 12:30:28 UTC
*** Bug 154319 has been marked as a duplicate of this bug. ***
Comment 105 David Sedeño Fernández 2004-10-08 22:30:17 UTC
*** Bug 154939 has been marked as a duplicate of this bug. ***
Comment 106 David Sedeño Fernández 2004-10-09 15:22:44 UTC
*** Bug 154951 has been marked as a duplicate of this bug. ***
Comment 107 David Sedeño Fernández 2004-10-09 23:52:51 UTC
*** Bug 154972 has been marked as a duplicate of this bug. ***
Comment 108 Elijah Newren 2004-10-18 23:19:05 UTC
*** Bug 155548 has been marked as a duplicate of this bug. ***
Comment 109 Elijah Newren 2004-10-18 23:19:17 UTC
*** Bug 155313 has been marked as a duplicate of this bug. ***
Comment 110 David Sedeño Fernández 2004-10-19 10:57:36 UTC
*** Bug 155798 has been marked as a duplicate of this bug. ***
Comment 111 Vincent Noel 2004-10-21 16:13:26 UTC
*** Bug 155993 has been marked as a duplicate of this bug. ***
Comment 112 David Sedeño Fernández 2004-10-21 19:23:41 UTC
*** Bug 156073 has been marked as a duplicate of this bug. ***
Comment 113 Elijah Newren 2004-10-25 16:58:57 UTC
*** Bug 156337 has been marked as a duplicate of this bug. ***
Comment 114 Elijah Newren 2004-10-25 16:59:29 UTC
*** Bug 156202 has been marked as a duplicate of this bug. ***
Comment 115 Vincent Noel 2004-10-28 13:49:37 UTC
*** Bug 156639 has been marked as a duplicate of this bug. ***
Comment 116 Vincent Noel 2004-10-28 16:04:50 UTC
*** Bug 156723 has been marked as a duplicate of this bug. ***
Comment 117 Crispin Flowerday (not receiving bugmail) 2004-10-29 20:14:20 UTC
*** Bug 155432 has been marked as a duplicate of this bug. ***
Comment 118 Elijah Newren 2004-11-06 01:54:00 UTC
*** Bug 157493 has been marked as a duplicate of this bug. ***
Comment 119 Elijah Newren 2004-11-11 13:25:50 UTC
*** Bug 157934 has been marked as a duplicate of this bug. ***
Comment 120 Elijah Newren 2005-02-25 15:09:12 UTC
*** Bug 168482 has been marked as a duplicate of this bug. ***
Comment 121 Elijah Newren 2005-05-06 17:01:46 UTC
*** Bug 303275 has been marked as a duplicate of this bug. ***