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 165938 - attempting to view a directory that you don't have read access to caused the browser mode to crash.
attempting to view a directory that you don't have read access to caused the ...
Status: RESOLVED DUPLICATE of bug 171212
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 160510 160516 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-01 15:49 UTC by Alex Duggan
Modified: 2005-03-24 20:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
backtrace (79.71 KB, text/plain)
2005-02-01 15:49 UTC, Alex Duggan
Details

Description Alex Duggan 2005-02-01 15:49:00 UTC
Using nautilus 2.9.90

If you try to view a directory which you don't have read access to using the
brower mode, nautilus immediately crashes.  If you try to enter the directory in
spatial mode, it returns you to the parent directory with the directory you
tried to view now not shown.

See attached backtrace
Comment 1 Alex Duggan 2005-02-01 15:49:32 UTC
Created attachment 36822 [details]
backtrace
Comment 2 Alexander Larsson 2005-02-01 16:44:54 UTC
2005-02-01  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-directory-view.c:
	(clipboard_targets_received):
	Handle destroyed windows
	
	* src/nautilus-window.c: (nautilus_window_destroy):
	cancel outstanding view as callbacks

	Fixes #165938
Comment 3 Alex Duggan 2005-02-02 04:07:17 UTC
I'm going to reopen this because it is not entirely fixed.  The above commit
gets rid of the segfault but still causes the nautilus window immediately close.
 The following is dumped at the command line which is probably not useful.  

--- Hash table keys for warning below:
--> file:///home/aldug
--> file:///var
--> file:///var/log
--> smb://pickle2
--> file:///home

(nautilus:25797): Eel-WARNING **: "nautilus-metafile.c: metafiles" hash table
still has 5 elements at quit time (keys above)

--- Hash table keys for warning below:
--> file:///home/aldug
--> file:///var
--> file:///var/log
--> file:///home
--> smb://pickle2

(nautilus:25797): Eel-WARNING **: "nautilus-directory.c: directories" hash table
still has 5 elements at quit time (keys above)




In spatial mode, the directory disappears instead of giving an error message if
you try to enter it.
Comment 4 Alex Duggan 2005-02-02 04:07:49 UTC
Reducing priority and severity
Comment 5 Sebastien Bacher 2005-02-02 09:43:28 UTC
is that a dup of #165306 now ?
Comment 6 Sebastien Bacher 2005-02-02 20:56:58 UTC
*** Bug 160516 has been marked as a duplicate of this bug. ***
Comment 7 Sebastien Bacher 2005-02-02 21:01:24 UTC
*** Bug 160510 has been marked as a duplicate of this bug. ***
Comment 8 Sebastien Bacher 2005-02-02 21:03:48 UTC
Pasting a part of the backtrace for the dups:

Backtrace was generated from '/opt/gnome28/bin/nautilus'

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208105280 (LWP 11563)]
[New Thread 79420336 (LWP 11572)]
[Thread debugging using libthread_db enabled]
[New Thread -1208105280 (LWP 11563)]
[New Thread 79420336 (LWP 11572)]
[Thread debugging using libthread_db enabled]
[New Thread -1208105280 (LWP 11563)]
[New Thread 79420336 (LWP 11572)]
[New Thread 16112560 (LWP 11567)]
[New Thread 14080944 (LWP 11566)]
[New Thread 12929968 (LWP 11565)]
[New Thread 72637360 (LWP 11564)]
0x004ad7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
  • #0 _dl_sysinfo_int80
    from /lib/ld-linux.so.2
  • #1 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #3 <signal handler called>
  • #4 create_view_as_menu_item
    at nautilus-navigation-window.c line 613
  • #5 load_view_as_menu
    at nautilus-navigation-window.c line 656
  • #6 ready_callback_call
    at nautilus-directory-async.c line 1262
  • #7 nautilus_directory_async_state_changed
    at nautilus-directory-async.c line 1895
  • #8 load_directory_state_destroy
    at nautilus-directory-async.c line 807
  • #9 nautilus_directory_stop_monitoring_file_list
    at nautilus-directory-async.c line 2096
  • #10 nautilus_directory_async_state_changed
    at nautilus-directory-async.c line 2107
  • #11 nautilus_directory_monitor_remove_internal
    at nautilus-directory-async.c line 1150
  • #12 vfs_file_monitor_remove
    at nautilus-vfs-directory.c line 121
  • #13 nautilus_directory_file_monitor_remove
    at nautilus-directory.c line 1597
  • #14 disconnect_model_handlers
    at fm-directory-view.c line 7218
  • #15 fm_directory_view_destroy
    at fm-directory-view.c line 1651
  • #16 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #17 g_type_class_meta_marshal
    at gclosure.c line 514
  • #18 IA__g_closure_invoke
    at gclosure.c line 437
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2601
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2244

Comment 9 Nickolay V. Shmyrev 2005-03-24 17:33:31 UTC
I think since crash is fixed it's a duplicate of fam + nautilus problem
described in 149492.
Comment 10 Nickolay V. Shmyrev 2005-03-24 20:16:06 UTC
Really, it's gamin problem.

Bug 171212 contains patch to gamin that should fix the problem, so let me close 
this as duplicate. 

*** This bug has been marked as a duplicate of 171212 ***