gedit crash when modify currently "browsed" file

Bug #1173650 reported by Gábor Lipták
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:

$ cd /tmp
$ touch foo.txt
$ gedit &

#### Bring up the File Open dialog. Select /tmp/foo.txt (but do not open it). Copy its location (with right click menu)
#### Switch back to shell and delete /tmp/foo.txt

$ rm foo.txt

#### Observe core in shell

$
(gedit:4624): Gtk-CRITICAL **: gtk_tree_model_filter_convert_iter_to_child_iter: assertion `valid == TRUE' failed

(gedit:4624): Gtk-CRITICAL **: gtk_file_system_model_get_value: assertion `ITER_IS_VALID (model, iter)' failed

(gedit:4624): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:4204: type id `0' is invalid

(gedit:4624): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced

I generated a code which I'm attaching.

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gedit 3.6.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-22.34-generic 3.5.7.2
Uname: Linux 3.5.0-22-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Sat Apr 27 10:56:24 2013
MarkForUpload: True
SourcePackage: gedit
UpgradeStatus: Upgraded to quantal on 2012-10-21 (187 days ago)

Revision history for this message
Gábor Lipták (gliptak) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Jani Uusitalo (uusijani) wrote :

When the selected/renamed file is a directory: see Bug #1105232.

Revision history for this message
Jani Uusitalo (uusijani) wrote :

Also affects 12.04 (with gedit 3.4.1-0ubuntu1).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.