GNOME Bugzilla – Bug 601205
Crash with empty .savedSearch file
Last modified: 2011-02-04 21:24:41 UTC
Created attachment 147233 [details] nautilus backtrace This report was originally filled at: https://bugs.edge.launchpad.net/ubuntu/+source/nautilus/+bug/433673 This is not a major problem as it can only be reproduced synthetically but still it should be fixed as it crashes nautilus every time. Steps to reproduce: 1. Create a new file named foo.savedSearch 2. Double click the new file Nautilus has now crashed. I can probably fix this myself later but not now, just creating this report so it wont be forgotten. Stacktrace from Jaunty
+ Trace 218940
Created attachment 164733 [details] [review] Small patch to not make nautilus crash I think this one only fixes the "simple" engine though.
I was able to reproduce this in Nautilus 2.30.1 on Debian Testing.
=> version bump
Created attachment 179796 [details] [review] another approach Hi, another patch; this one fixes NautilusQuery instead, and should prevent issues with both the simple engine and tracker.
Created attachment 179805 [details] [review] yet another patch Another patch; this one should make nautilus_query_load a bit more robust to errors (empty XML file, bad XML text). Includes the previous patch.
Review of attachment 179805 [details] [review]: Looks good, thanks.
Pushed to master now.