GNOME Bugzilla – Bug 707619
Destroying the list or icon view leads to a crash
Last modified: 2014-03-22 19:31:50 UTC
Created attachment 254242 [details] backtrace I'm using gnome-documents-3.9.91-1.fc20.x86_64 and when I close it it triggers gjs-console crash. I don't like abrt much, so I tried to recreate backtrace with a gdb + coredump, If needed more debuginfo I can install.
Created attachment 254272 [details] [review] build: update to latest libgd Fixes crash when window is closed.
Note that it now doesn't shutdown until after 12 seconds after the window is closed due to the (deliberate) setting of inactivity_timeout to 12 seconds at application.js:107
Review of attachment 254272 [details] [review]: Looks good to me, thanks.
Attachment 254272 [details] pushed as 0c748e4 - build: update to latest libgd
*** Bug 726758 has been marked as a duplicate of this bug. ***
This only fixes it for the icon view. We need one more libgd commit to fix it for the tree view. commit 41820ae96142312ffc0109b65d2adad6f007e1fd Author: Pierre-Yves Luyten <py@luyten.fr> Date: Tue Oct 22 21:33:07 2013 +0200 list-view: Don't clear attributes on no model No point in clearing the existing attributes in set_attributes_from_model if we are not going to actually set any
*** Bug 725547 has been marked as a duplicate of this bug. ***
Created attachment 272628 [details] [review] build: Update libgd to fix a crash when the list view is destroyed
Changing the summary a bit. Closing the application is not the only time it crashes. It also crashes if you flip the grid/list toggle when there is no content. See bug 725547
Review of attachment 272628 [details] [review]: Looks good
This (actually bug 726758) was marked as a 3.12 blocker, and the release team gave permission for a hard code freeze break, so I am pushing this particular patch.
Comment on attachment 272628 [details] [review] build: Update libgd to fix a crash when the list view is destroyed Thanks for the quick review, Cosimo.