After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143578 - Crash in gtkfilechooser on create new directory
Crash in gtkfilechooser on create new directory
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.4.x
Other All
: High critical
: ---
Assigned To: gtk-bugs
gtk-bugs
: 138008 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-06-02 13:29 UTC by John Cupitt
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase (375 bytes, text/plain)
2004-06-02 13:33 UTC, John Cupitt
Details

Description John Cupitt 2004-06-02 13:29:51 UTC
In the save-as dialog, open the "Browse for other folders" expander, click
"Create Folder", type any name (eg. I tried "banana"), navigate to any other
directory, (eg. by picking from the path bar, or double-clicking into any
folder), program produces the message:

Gtk-CRITICAL **: file gtktreemodelsort.c: line 1285
(gtk_tree_model_sort_real_unref_node): assertion `elt->ref_count > 0' failed
Comment 1 John Cupitt 2004-06-02 13:33:01 UTC
Created attachment 28271 [details]
testcase

10 line program to pop up a save-as dialog
Comment 2 Federico Mena Quintero 2004-06-02 18:32:38 UTC
*** Bug 138008 has been marked as a duplicate of this bug. ***
Comment 3 John Cupitt 2004-06-02 18:44:52 UTC
same thing happens if you press "escape" to cancel the directory name edit and
then navigate, so I guess the problem is in _gtk_file_system_model_remove_editable()
Comment 4 Federico Mena Quintero 2004-06-12 00:57:39 UTC
Fixed on both HEAD and the gtk-2-4 branches.