GNOME Bugzilla – Bug 308977
Nautilus crashes when attempt opening mounted samba share
Last modified: 2006-02-25 21:56:31 UTC
Steps to reproduce: 1. mounted samba share via autofs or via mount -t smbfs 2. mounting was done with -o rw,guest,uid=1001,gid=1001 (1001 - gid and uid of current user) 3. run nautilus and attempt to open the directory where share is mounted (either by double clicking the directory or by typing the addres in location bar) 4. old directory contents diappear, nautilus tries to show the content of desired directory and crashes Stack trace: foo@bar:~$ gdb nautilus GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) r Starting program: /usr/bin/nautilus [Thread debugging using libthread_db enabled] [New Thread -1224350560 (LWP 22031)] [New Thread -1227568208 (LWP 22052)] seahorse nautilus module initialized [New Thread -1238127696 (LWP 22053)] [New Thread -1238389840 (LWP 22054)] [New Thread -1239536720 (LWP 22065)] [New Thread -1239798864 (LWP 22066)] ** (nautilus:22031): CRITICAL **: nautilus_directory_get_file_metadata: assertion `!eel_str_is_empty (file_name)' failed Program received signal SIGSEGV, Segmentation fault.
+ Trace 61532
Thread NaN (LWP 22031)
Other information: Thanks to seb128 to advising me jow to get the backtrace without bug-buddy.
Thanks for your bug report! There are multiple issues involved. a) it looks like nautilus_directory_get_file_metadata is not returning the default metadata string ("") but NULL if its assertions fail. b) get_metadata_name from nautilus-file.c seems to return NULL for a file for some obscure reason. Maybe you could try to isolate the issue by moving file by file from the nfs folder (through the shell?) into subfolders and check when the problems vanish.
Created attachment 52890 [details] [review] Fix against a)
Reassigning to 2.12 since at least a) is still an issue.
Patch commited.
Marking NEW. Manny, I assume you meant b) is still an issue here.
Yes Brent, good catch.
Setting bug status to INCOMPLETE.