GNOME Bugzilla – Bug 541313
Crash on saving file
Last modified: 2008-07-04 18:23:47 UTC
Steps to reproduce: 1. Open document 2. Type something 3. Save file Stack trace: (anjuta:26728): GLib-GIO-CRITICAL **: g_file_new_for_uri: assertion `uri != NULL' failed (anjuta:26728): GLib-GIO-CRITICAL **: g_file_move: assertion `G_IS_FILE (destination)' failed Program received signal SIGSEGV, Segmentation fault.
+ Trace 201937
Thread 3066496800 (LWP 26728)
Other information:
Created attachment 113885 [details] [review] not completed fix Patch not completed yet. but resolve one reason of crash
Hmm, I hardly use scintilla so I didn't test that much. Anyway, can you make sure to use some of the advanced gio funtionality that provide all the backup/symlink stuff already. (see g_file_replace_contents for example). Thanks!
I'm taking care of this. Thanks for your patch Yuriy. I think the other thing missing is the change to adapt to the new saved signal argument.
Just committed a fix to trunk. Gio does most of the work so we don't have to care about creating a backup file ourselves. Thanks anyway for the patch!