GNOME Bugzilla – Bug 87276
Saving an untitled document crashes
Last modified: 2004-12-22 21:47:04 UTC
Run MALLOC_CHECK_=2, "save as" the empty document, note crash on closing the file dialog. Probably is that sometimes fname == uri but both are always freed, so there's a double free sometimes. This is in gedit_file_save_as(). Fix is trivial so I won't bother with a patch.
Can close https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=67496 when this is closed.
Havoc: excuse for my ignorance, but what do you mean exacly with "Run MALLOC_CHECK_=2"? Do you mean "export MALLOC_CHECK_=2"? BTW, I think to have fixed the bug in the post-gnome-2 branch of gedit.
Havoc: I've found what MALLOC_CHECK_=2 is supposed to do in the malloc man page. I will close this bug as soon as I will merge the post-gnome-2 branch with HEAD.
Fixed in CVS HEAD too