GNOME Bugzilla – Bug 589915
gedit crashed with SIGSEGV in strlen()
Last modified: 2009-08-04 09:16:29 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/gedit/+bug/404490 "happens after I open any file on sftp and save. it crashes immediately after saving the file" ".
+ Trace 216650
Thread 1 (process 5948)
I have also seen this bug. Gentoo x86_64 gedit 2.26.2 gvfs 1.3.3 dbus 1.2.12
It appears that gvfs cast async_close_done to a AsyncIteratorDone type in gdaemonfileoutputstream.c in the function g_daemon_file_output_stream_close_async. This masked a bug where the function pointer type AsyncIteratorDone was changed but the function arguments for async_close_done were not. I attach a patch which fixes the crash for me.
Created attachment 139842 [details] [review] Fix gvfs bug which causes gedit to crash when saving a file
Thanks for the patch! Reassigning to gvfs then
Thx. I applied the patch.