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 352875 - Crash upon closing open dialog
Crash upon closing open dialog
Status: RESOLVED DUPLICATE of bug 352728
Product: gedit
Classification: Applications
Component: general
git master
Other All
: Normal critical
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-25 17:46 UTC by Ben Gamari
Modified: 2006-08-26 19:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Ben Gamari 2006-08-25 17:46:14 UTC
Steps to reproduce:
1. File->Open
2. Select a file
3. Press Open


Stack trace:
(gdb) bt
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 IA__g_logv
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 IA__g_assert_warning
  • #6 gtk_file_system_handle_gnome_vfs_finalize
    at gtkfilesystemgnomevfs.c line 3439
  • #7 IA__g_object_unref
    at gobject.c line 1785
  • #8 cancel_operation_callback
    at gtkfilesystemgnomevfs.c line 1616
  • #9 execute_vfs_callbacks_idle
    at gtkfilesystemgnomevfs.c line 3478
  • #10 g_idle_dispatch
    at gmain.c line 3926
  • #11 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #12 g_main_context_iterate
    at gmain.c line 2677
  • #13 IA__g_main_loop_run
    at gmain.c line 2881
  • #14 IA__gtk_main
    at gtkmain.c line 1000
  • #15 main
    at gedit.c line 568


Other information:
The following warnings are produced prior to the crash:

** (gedit:367): WARNING **: file_system_gnome_vfs=0x830d010 still has handle=0x8381800 at finalization which is CANCELLED!

** (gedit:367): WARNING **: file_system_gnome_vfs=0x830d010 still has handle=0x832f520 at finalization which is NOT CANCELLED!

** (gedit:367): WARNING **: file_system_gnome_vfs=0x830d010 still has handle=0x8313580 at finalization which is CANCELLED!

** (gedit:367): WARNING **: file_system_gnome_vfs=0x830d010 still has handle=0x832f440 at finalization which is NOT CANCELLED!

** (gedit:367): WARNING **: file_system_gnome_vfs=0x830d010 still has handle=0x8353460 at finalization which is NOT CANCELLED!

(gedit:367): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkFileSystemGnomeVFS'

** ERROR **: file gtkfilesystemgnomevfs.c: line 3439 (gtk_file_system_handle_gnome_vfs_finalize): assertion failed: (g_hash_table_lookup (system_vfs->handles, handle) != NULL)
Comment 1 Ben Gamari 2006-08-25 18:01:04 UTC
Oops, I may have jumped the gun on this one. Upon finding that the evolution Add Attachment dialog exhibited the same behavior while drafting an email a few minutes after submitting this bug (impecible timing), I traced the problem back to a handle list that was added to GtkFileSystemGnomeVFS in libgnomeui a few days ago. (http://cvs.gnome.org/viewcvs/libgnomeui/file-chooser/gtkfilesystemgnomevfs.c?rev=1.80&view=log)
Comment 2 Ben Gamari 2006-08-25 18:03:37 UTC
It also happens with the liferea export feeds dialog.
Comment 3 Steve Frécinaux 2006-08-26 17:03:59 UTC
Might be a dupe of bug #352728
Comment 4 Ben Gamari 2006-08-26 19:40:42 UTC
I downgraded gtkfilesystemgnomevfs.c to 1.79 from CVS and the problem disappears. I can reproduce bug #352728 if I upgrade again so judging from the stack it seems safe to assume that all three of these bugs are related.
Comment 5 Paolo Borelli 2006-08-26 19:51:42 UTC
thanks for the investigation. Marking as dup.

*** This bug has been marked as a duplicate of 352728 ***