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 162764 - nautilus crashes when choosing the "File group"
nautilus crashes when choosing the "File group"
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Properties Dialog
2.15.x
Other All
: Low critical
: 2.16.x
Assigned To: Christian Neumair
Nautilus Maintainers
: 303758 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-02 23:48 UTC by Benjamin Berg
Modified: 2006-08-21 09:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
gdb backtrace of nautilus (3.35 KB, text/plain)
2005-01-02 23:49 UTC, Benjamin Berg
Details
Another backtrace (8.13 KB, text/plain)
2005-05-11 08:19 UTC, Benjamin Berg
Details

Description Benjamin Berg 2005-01-02 23:48:49 UTC
Nautilus crashes when scrolling the "File group" in the Properties dialog with
the mouse wheel.

Steps to reproduce:
1. Open the Properties dialog for any file/directory
2. Use the mouse wheel to scroll trough the list of the option menu. If it
doesn't crash, scroll faster.
3. If you scroll fast enough nautilus will crash.
Comment 1 Benjamin Berg 2005-01-02 23:49:22 UTC
Created attachment 35373 [details]
gdb backtrace of nautilus
Comment 2 Sebastien Bacher 2005-02-01 23:20:02 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in
determining the cause of the crash. Please make sure that the package was
compiled with debugging symbols and see
http://bugzilla.gnome.org/getting-traces.cgi for more information about useful
stack traces.

I don't get this crash here, what version of nautilus are you using ? 
Comment 3 Sebastien Bacher 2005-05-11 08:06:16 UTC
*** Bug 303758 has been marked as a duplicate of this bug. ***
Comment 4 Sebastien Bacher 2005-05-11 08:10:35 UTC
I get the crash too when changing scrolling direction quickly

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1224230528 (LWP 10533)]
[New Thread -1240138832 (LWP 10573)]
[New Thread -1239458896 (LWP 10557)]
[New Thread -1239192656 (LWP 10556)]
[New Thread -1238926416 (LWP 10555)]
[New Thread -1238660176 (LWP 10554)]
[New Thread -1238393936 (LWP 10553)]
[New Thread -1238127696 (LWP 10552)]
[New Thread -1228010576 (LWP 10542)]
0xffffe410 in __kernel_vsyscall ()

Thread 9 (Thread -1228010576 (LWP 10542))

  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/tls/i686/cmov/libc.so.6
  • #2 g_main_context_iterate
    at gmain.c line 2866

Comment 5 Benjamin Berg 2005-05-11 08:19:33 UTC
Created attachment 46320 [details]
Another backtrace
Comment 6 Sebastien Bacher 2005-05-11 08:28:33 UTC
with debug eel

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1224230528 (LWP 15083)]
[New Thread -1239458896 (LWP 15090)]
[New Thread -1239192656 (LWP 15089)]
[New Thread -1238926416 (LWP 15088)]
[New Thread -1238660176 (LWP 15087)]
[New Thread -1238393936 (LWP 15086)]
[New Thread -1238127696 (LWP 15085)]
[New Thread -1228010576 (LWP 15084)]
0xffffe410 in __kernel_vsyscall ()

Thread 8 (Thread -1228010576 (LWP 15084))

  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/tls/i686/cmov/libc.so.6
  • #2 g_main_context_iterate
    at gmain.c line 2866

Comment 7 oll 2005-08-09 11:32:12 UTC
I can easily reproduce this crash with gnome 2.10.2 too.
Here is my log :

(nautilus:2435): Gtk-CRITICAL **: gtk_tree_model_sort_get_value: assertion
`GTK_TREE_MODEL_SORT (tree_model)->stamp == iter->stamp' failed

(nautilus:2435): GLib-GObject-CRITICAL **: g_object_set_property: assertion
`G_IS_VALUE (value)' failed

(nautilus:2435): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE
(value)' failed

(nautilus:2435): Gtk-CRITICAL **: gtk_tree_model_sort_iter_next: assertion
`GTK_TREE_MODEL_SORT (tree_model)->stamp == iter->stamp' failed

(nautilus:2435): Gtk-CRITICAL **: file gtktreeview.c: line 3871
(gtk_tree_view_bin_expose): assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel.  This generally means that the model has changed
without letting the view know.  Any display from now on is likely to
be incorrect.


Eel-ERROR **: file eel-stock-dialogs.c: line 291
(eel_timed_wait_start_with_duration): assertion failed: (g_hash_table_lookup
(timed_wait_hash_table, wait) == NULL)
aborting...
warning: The current VSYSCALL page code requires an existing execuitable. 
Use "add-symbol-file-from-memory" to load the VSYSCALL page by hand
Comment 8 Benjamin Berg 2005-08-09 12:31:10 UTC
This bug should be easiest to reproduce on network shares. The problem is that a
second operation is started before the first one has finished.

So I guess that the first operation needs to be canceled somehow.
Comment 9 Christian Neumair 2006-02-25 22:12:57 UTC
Yes, Benjamin is right.

We need an eel_timed_wait_pending API for cancelling old timed waits without issuing a g_return_if_fail statement when no old timed wait is pending.

This bug isn't too prominent, so I think it can wait until 2.16.
Comment 10 Rob Bradford 2006-08-16 14:06:36 UTC
Has any progress been made on this? I see that you said you were planning on waiting until 2.16. Well we're getting close...
Comment 12 Christian Neumair 2006-08-18 20:16:34 UTC
The attached patch now uses a different approach: It delays the chown/chgrp some time to allow the window system to process some events (to allow smooth keyboard/scroll selection), saves whether a timed wait is actually running, and also makes the timed wait FMPropertiesWindow-specific. It used to be file-specific, which could have caused issues with multiple property windows which could register a timeout for the same file.

Updating version/component.
Comment 13 Alexander Larsson 2006-08-21 09:44:28 UTC
The attached patch has some issues (see the list), but i've commited a working version.