GNOME Bugzilla – Bug 766694
crash on save as in any gtk3 application starting gtk+ 3.20.5
Last modified: 2016-05-24 13:24:01 UTC
Any application running under gtk+ 3.20.5 crashes a second after pressing "save" in the save as dialog. To reproduce, open gedit or anything and press save as. pick a new name and location for your file and press save. the application poofs. I confirmed this in gedit, evolution (saving an email as mbox), firefox, and a few other applications. Thread 1 "gedit" received signal SIGSEGV, Segmentation fault. compare_directory (model=model@entry=0xab9ca0, a=a@entry=0x7fffffffdf60, b=b@entry=0x7fffffffdf80, impl=<optimized out>) at gtkfilechooserwidget.c:4109 4109 if (priv->sort_directories_first && dir_a != dir_b) (gdb) bt full
+ Trace 236266
gtk 3.20.4 did not suffer from this crash. I confirmed by downgrading.
https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-20&id=ca8d51e6d0f78cc170cc212dd7ef6664d2e662f4 Suggest we can close this as fixed?
Thank you very much for the quick fix.
(In reply to Hussam Al-Tayeb from comment #2) > Thank you very much for the quick fix. I might have written my above comment too soon, please test, cause I just did, and had the same crash still. Waiting for debug packages to build.
That's odd. It not longer crashes here. I tested with both Firefox and Gedit. Let me know please if you would like me to reopen.
(In reply to Hussam Al-Tayeb from comment #4) > That's odd. It not longer crashes here. I tested with both Firefox and Gedit. > Let me know please if you would like me to reopen. Yes please do - while still waiting for the blasted debuginfo packages to build - I tested revert to .4 - and bug was gone. Upgrade again to .5 and crash is back
(In reply to Bjørn Lie from comment #5) > (In reply to Hussam Al-Tayeb from comment #4) > > That's odd. It not longer crashes here. I tested with both Firefox and Gedit. > > Let me know please if you would like me to reopen. > > Yes please do - while still waiting for the blasted debuginfo packages to > build - I tested revert to .4 - and bug was gone. > Upgrade again to .5 and crash is back For clarity, .5 with the patch.
With patch applied
+ Trace 236272
dir = <optimized out> __func__ = "main" (gdb)
Touch wood, but so far I've been unable to trigger the crash on when using gtk+-3.20.6 But please lets keep the bug open for a while longer to make sure.
No, please keep it closed. You can always file a new one