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 383774 - Crash while saving file with same name as a deleted file
Crash while saving file with same name as a deleted file
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.10.x
Other Linux
: Normal critical
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-12-08 16:13 UTC by ville
Modified: 2013-05-17 19:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ville 2006-12-08 16:13:49 UTC
This bug is forwarded from ubuntu bug tracking system:
https://launchpad.net/distros/ubuntu/+source/gimp/+bug/74985

Original description:
"I was making a bunch of pictures systematically, so the names were j001.jpg, j002.jpg and so on. I decided I was going to do things a different way so I deleted all the old files and I started making the first new picture. I clicked "save as" and the title of the last old picture (the one I deleted) was still in the title spot. I went to change it, but it wouldn't let me. The cursor was the loading icon and when I moved it over the title it would disappear. After about 5 seconds it crashed."

Crash dump is attached ubuntu bug report but here's part of it
Core was generated by `gimp --display :0.0'.
 Program terminated with signal 11, Segmentation fault.
 #0  0xb77c2a61 in g_slist_remove () from /usr/lib/libglib-2.0.so.0
 #0  0xb77c2a61 in g_slist_remove () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #1  0xb7bfda72 in _gtk_file_system_model_get_path ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #2  0xb7bfdabd in _gtk_file_system_model_get_path ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #3  0xb7bfe207 in _gtk_file_system_model_add_editable ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #4  0xb7d228ca in gtk_tree_model_unref_node ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #5  0xb7d2beb1 in gtk_tree_model_sort_convert_iter_to_child_iter ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #6  0xb7d228ca in gtk_tree_model_unref_node ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #7  0xb7d35dee in gtk_tree_view_set_hover_selection ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #8  0xb7d38ba9 in gtk_tree_view_get_path_at_pos ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #9  0xb7d3faf7 in gtk_tree_view_set_model () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #10 0xb7be58d4 in _gtk_file_chooser_default_new ()
    from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
Comment 1 Sebastien Bacher 2006-12-08 17:34:52 UTC
Debug backtrace: 

207           if (tmp->data == data)
(gdb) bt
  • #0 IA__g_slist_remove
    at gslist.c line 207
  • #1 file_model_node_idle_clear_cancel
    at gtkfilesystemmodel.c line 1477
  • #2 file_model_node_clear
    at gtkfilesystemmodel.c line 1392
  • #3 file_model_node_unref
    at gtkfilesystemmodel.c line 1495
  • #4 IA__gtk_tree_model_unref_node
    at gtktreemodel.c line 1370
  • #5 gtk_tree_model_sort_real_unref_node
    at gtktreemodelsort.c line 1232
  • #6 IA__gtk_tree_model_unref_node
    at gtktreemodel.c line 1370
  • #7 gtk_tree_view_unref_tree_helper
    at gtktreeview.c line 9034
  • #8 gtk_tree_view_unref_and_check_selection_tree
    at gtktreeview.c line 9062
  • #9 IA__gtk_tree_view_set_model
    at gtktreeview.c line 10416
  • #10 update_current_folder_get_info_cb
    at gtkfilechooserdefault.c line 6054
  • #11 get_file_info_callback
    at gtkfilesystemgnomevfs.c line 1449
  • #12 dispatch_job_callback
    at gnome-vfs-job.c line 229
  • #13 g_idle_dispatch
    at gmain.c line 3926
  • #14 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #15 g_main_context_iterate
    at gmain.c line 2677
  • #16 IA__g_main_loop_run
    at gmain.c line 2881
  • #17 app_run
    at /build/buildd/gimp-2.2.13/./app/app_procs.c line 376
  • #18 main
    at /build/buildd/gimp-2.2.13/./app/main.c line 473
  • #19 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6

Comment 2 Sven Neumann 2006-12-09 00:54:25 UTC
Obviously a gtk-file-chooser bug.
Comment 3 palfrey 2006-12-14 18:20:02 UTC
Crasher, so critical.
Comment 4 Timothy Arceri 2013-05-17 04:20:05 UTC
Yet another bug report very similar to bug 363472 that can probably be closed as
obsolete also (if not duplicate).
Comment 5 Federico Mena Quintero 2013-05-17 19:45:31 UTC
I think this is a different bug.  We had a crasher at some point where the GtkFileSystemModel got out of whack, but I don't remember the bug number right now.  Closing as obsolete.