On Wed, Jul 2, 2008 at 12:30 AM, Sven Hartge <[EMAIL PROTECTED]> wrote: > Lars Lindner wrote: > >> I think I have fixed the crash upstream with this on line change: >> >> http://liferea.svn.sourceforge.net/viewvc/liferea?view=rev&revision=3970 >> >> If you have time to retest please drop me a note if it works. > > I tested your fix, but I still get the crash after/while closing liferea > with the attached backtrace from bug-buddy.
Thanks for your quick retest! Now I'm not exactly sure what happens in your case and why during shutdown the feed list seems already to be deallocated. There must be some shutdown order problem. For now I think I'll solve the problem by using the attached patch. If you have time please retest! Best Regards, Lars
Index: src/feedlist.c =================================================================== --- src/feedlist.c (Revision 3970) +++ src/feedlist.c (Arbeitskopie) @@ -381,6 +381,8 @@ problems. Use feedlist_schedule_save() instead! */ static gboolean feedlist_schedule_save_cb(gpointer user_data) { + g_return_if_fail(NULL != rootNode); + /* step 1: request each node to save its state */ feedlist_foreach(node_save);