GNOME Bugzilla – Bug 697890
g_hash_table_foreach: assertion `version == hash_table->version' failed
Last modified: 2014-02-17 23:46:14 UTC
I'm running Nautilus from git master on Ubuntu 13.04. To see the problem: 1. Run Nautilus from a terminal. 2. In gedit, choose File->Open to open a file open dialog, then press Cancel to close the dialog. 3. Nautilus will emit an assertion: (nautilus:14748): GLib-CRITICAL **: g_hash_table_foreach: assertion `version == hash_table->version' failed The assertion is not fatal; Nautilus keeps running. We should nevertheless investigate and fix this. A stack trace is below. It appears that some gsettings keys are changing when the dialog closes and that Nautilus is attempting to react to that.
+ Trace 231777
It's this call in NautilusDirectory filtering_changed_callback(): g_hash_table_foreach (directories, invalidate_one_count, NULL); I don't immediately see what in invalidate_one_count would modify the hashtable but that seems to be what happens. Another questions is, why does gsettings think "show-hidden" is changing when Gedit FileChooser is closed?
Thanks, I pushed a fix for this to git master now.