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 339965 - nautilus crashes when moving out of a deleted webdav folder
nautilus crashes when moving out of a deleted webdav folder
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.14.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-27 21:26 UTC by Sebastien Bacher
Modified: 2006-05-08 23:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sebastien Bacher 2006-04-27 21:26:47 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/37832

"Crash bug in nautilus/gnome-vfs (2.14.0-0ubuntu1)

Repro:
* create a directory (foo) on your webdav server (from another machine)
* connect to the webdav server with nautilus
* move into "foo"
* delete "foo" (from another machine)
* refresh (ctrl-r) -- you'll see several error dialogs. Click OK on each.
* now try to navigate to the parent directory via the "breadcrumb" bar.
* crash...

* You can also trigger the crash by attempting to refresh a second time.

If you need a webdav server for testing http://www.filecloud.com provides a free account with ~25MB of storage. That should be more than enough for testing purposes.

Note: when this bug is fixed, it would be a good idea to only pop up a single error dialog (or none at all, if possible).

One says: "Couldn't find "davs://username@servername/deletedfolder"

The second says: "The folder contents couldn't be displayed."
...
Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1224992384 (LWP 4881)]
[New Thread -1226675280 (LWP 4890)]
0xffffe410 in __kernel_vsyscall ()
  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 IA__g_logv
  • #8 IA__g_log
    at gmessages.c line 517
  • #9 IA__g_assert_warning
    at gmessages.c line 552
  • #10 viewed_file_changed_callback
    at nautilus-window-manage-views.c line 303
  • #11 IA__g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #12 IA__g_closure_invoke
    at gclosure.c line 490
  • #13 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #14 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #15 IA__g_signal_emit
    at gsignal.c line 2241
  • #16 nautilus_file_emit_changed
    at nautilus-file.c line 5395
  • #17 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 762
  • #18 nautilus_file_changed
    at nautilus-file.c line 5341
  • #19 dequeue_pending_idle_callback
    at nautilus-directory-async.c line 910
  • #20 directory_load_callback
    at nautilus-directory-async.c line 1023
  • #21 gnome_vfs_job_get_count
    from /usr/lib/libgnomevfs-2.so.0
  • #22 g_idle_dispatch
    at gmain.c line 3796
  • #23 IA__g_main_context_dispatch
    at gmain.c line 1916

Comment 1 Christian Kirbach 2006-05-03 14:35:28 UTC
trace is unique and looks detailed. confirming.
Comment 2 Martin Wehner 2006-05-06 02:24:22 UTC
Fully reproduceable with 2.15.1
Comment 3 Martin Wehner 2006-05-08 23:17:40 UTC
Fixed on both branches:

2006-05-09  Martin Wehner  <martin.wehner@gmail.com>

	* src/nautilus-window-manage-views.c:
	(got_file_info_for_view_selection_callback):
	Re-set viewed_file after a location change failed. Prevents
	crashing over an assertion in viewed_file_changed_callback
	on slow filesystems. Fixes #339965.