GNOME Bugzilla – Bug 512042
Search crashes in metafile_read_state_free
Last modified: 2008-02-27 15:04:13 UTC
Steps to reproduce: 1. Start nautilus in spatial mode 2. In the menu click "Places" -> "Search for files..." (or hit Ctrl+F) 3. Crash Stack trace: Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". Core was generated by `nautilus --no-desktop'. Program terminated with signal 11, Segmentation fault.
+ Trace 186759
Other information: Note how metafile_read_state_free is called with NULL by metafile_read_mark_done.
I can't reproduce this with Nautilus 2.21.6. Are you using SVN trunk? Can you test with 2.21.6 and try to reproduce the bug? Thanks.
Yes, this is with SVN trunk. Now that you mention that it's not reproducible I tried to run it as my regular user in my regular $HOME and indeed it succeeds. It only crashes in a more minimal environment under a guest account. Any ideas?
Confirming. Looking at the code revealed that we don't handle metafile->details->read_state != NULL in metafile_read_mark_done(), which we did in previous versions.
Created attachment 105922 [details] [review] Proposed patch Submitted for review: http://mail.gnome.org/archives/nautilus-list/2008-February/msg00204.html
Committed, closing.