A Cry for Help--I broke Gedit "save-as" file chooser!

Dave Hunt ka1cey at gmail.com
Sun Dec 18 20:32:22 UTC 2011


Hi, all!

I've done further testing, and logged the result to a text file, for your 
inspection.  I open gedit, bang in some text, then try to save the text to 
a file, not yet created.  After choosing where the text should be saved, 
using the dialogue, I hit the 'save' button.  It appears, gedit tries to 
open the file that is not yet created, then crashes with a 'segfault'. 
Next, I 'touched' the file I want to make, and restarted gedit.  I banged 
some text into the editor, and tried the 'save-as' operation, as before. 
This time, I was prompted whether to replace the file (this is cool), the 
file, though empty, is there.  I say 'yes', and there's another 
'seg-fault'.


Hoping this helps someone,


Dave  Hunt




On Sat, 17 Dec 2011, James Buchanan wrote:

> On 12/14/2011 08:41 PM, Dave Hunt wrote:
>> Running Ubuntu 11.10 and using Gnome fallback position, though I'm not sure 
>> the desktop matters, I can  no longer use the 'save-as' file picker in 
>> gedit.  When I hit the 'save' button, the dialogue and gedit crash, leaving 
>> no file saved.  This worked after install; I'm not sure what I changed. 
>> Any idea where to look?
>> 
>> 
>> Thanks,
>> 
>> 
>> Dave
>
> Clearly the Linux gods are telling you to use Emacs. ;-) (I kid, I kid...)
>
> Can you reproduce this bug? Does it always happen when you try to save a 
> file, or only sometimes?
>
> If you launch GEdit from a terminal and then get the crash, are there any 
> error messages left in the terminal?
>
> There are a couple of bugs in Launchpad with crash-on-saving issues 
> (https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/832117 and 
> https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/839760 -- though the 
> latter is marked incomplete), but they all seem to concern crashes where the 
> file is saved successfully despite the crash. Depending on what sort of error 
> you're getting, it might be a good idea to file a new bug for this.
>
> James
>
> P.S. -- sorry for the repeat emails, Dave -- I forgot to select "reply list" 
> on my first one. :-)
>
> -- 
> Ubuntu-accessibility mailing list
> Ubuntu-accessibility at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility
>
-------------- next part --------------
Script started on Sun 18 Dec 2011 02:58:16 PM EST
]0;dave at confuser: ~dave at confuser:~$ gedit &

[1] 3274

]0;dave at confuser: ~dave at confuser:~$ 

(gedit:3274): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/dave/Documents/foobar.txt': Error stating file '/home/dave/Documents/foobar.txt': No such file or directory

touch Documents/foobar.txt

[1]+  Segmentation fault      gedit

]0;dave at confuser: ~dave at confuser:~$ GEDgedit 



(gedit:3303): GLib-GObject-CRITICAL **: g_object_get_data: assertion `G_IS_OBJECT (object)' failed



(gedit:3303): Gtk-WARNING **: /build/buildd/gtk+3.0-3.2.0/./gtk/gtktreemodel.c:2419: bad row reference, proxy has no outstanding row references

Segmentation fault

]0;dave at confuser: ~dave at confuser:~$ exit

exit


Script done on Sun 18 Dec 2011 03:04:47 PM EST


More information about the Ubuntu-accessibility mailing list