GNOME Bugzilla – Bug 330544
Bluefish crashes when closing and saving a project
Last modified: 2006-02-10 13:29:32 UTC
Basically it is the same bug as in cvs head (http://bugzilla.gnome.org/show_bug.cgi?id=329608) It appears under the following conditions, from my experience: 1 - Open a project which has more than one file in it 2 - Modify the files during a certain amount of time 3 - Close the project immediately after a modification
Created attachment 59008 [details] gzipped crash log
One thing that may help in debugging the problem is that when running from an xterm, I got those messages when bluefish hangs at closing and saving a project: (bluefish:6156): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed (bluefish:6156): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed (bluefish:6156): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed (bluefish:6156): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
And with the latest changes for 1.0.6 (document.c, gui.c, bluefish.c) the process hangs indefinitely. Here's part of the output debugging message with 1.0.6 version: removed 0x36768e0 from documentlist, list 0x2936624 length=2 about to remove widget from notebook (doc=0x36768e0, current_document=0x36a6970) doc_destroy, removed widget from notebook (doc=0x36768e0), delay_activation=1 doc_destroy, (doc=0x36768e0) about to bind notebook signals... doc_destroy, (doc=0x36768e0) after calling notebook_changed() unlinking /Users/michga/bluefishcvs/bluefish-doc/stylesheets/titlepage-us.xml~, doc->filename=/Users/michga/bluefishcvs/bluefish-doc/stylesheets/titlepage-us.xm l doc_unre_destroy, about to destroy undolist 0x0 doc_unre_destroy, about to destroy redofirst 0x0 doc_unre_destroy, about to destroy current 0x368d570 doc_destroy, finished for 0x36768e0 doc_destroy, calling bmark_clean_for_doc(0x369d9a0) bmark_clean_for_doc, getting children for parent_iter=0x31c12a0 bmark_clean_for_doc, getting bookmark for first child bmark_clean_for_doc, bookmark=0x36cb090, new offset=1643, now deleting GtkTextMa rk from TextBuffer (bluefish:16017): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_I S_TEXT_MARK (mark)' failed bmark_store, bookmark 0x36cb090 has strarr at 0x315b2e0 bmark_store, offset string=1643, offset int=1643 bmark_store, arracount=6 bmark_clean_for_doc, getting bookmark for first child bmark_clean_for_doc, bookmark=0x36cb1f0, new offset=9025, now deleting GtkTextMa rk from TextBuffer (bluefish:16017): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_I S_TEXT_MARK (mark)' failed bmark_store, bookmark 0x36cb1f0 has strarr at 0x315b210 bmark_store, offset string=9025, offset int=9025 bmark_store, arracount=6 bmark_clean_for_doc, getting bookmark for first child bmark_clean_for_doc, bookmark=0x36cb290, new offset=10213, now deleting GtkTextM ark from TextBuffer (bluefish:16017): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_I S_TEXT_MARK (mark)' failed bmark_store, bookmark 0x36cb290 has strarr at 0x315b140 bmark_store, offset string=10213, offset int=10213 bmark_store, arracount=6 bmark_clean_for_doc, getting bookmark for first child bmark_clean_for_doc, bookmark=0x36cb360, new offset=10290, now deleting GtkTextM ark from TextBuffer (bluefish:16017): Gtk-CRITICAL **: gtk_text_buffer_delete_mark: assertion `GTK_I S_TEXT_MARK (mark)' failed bmark_store, bookmark 0x36cb360 has strarr at 0x315b080 bmark_store, offset string=10290, offset int=10290 bmark_store, arracount=6 bmark_clean_for_doc, unsetting and freeing parent_iter 0x31c12a0 for doc 0x369d9 a0 add_to_recent_list, started for /Users/michga/bluefishcvs/bluefish-doc/src/devel oping_bluefish.xml remove_recent_entry, tmplist=0x28f6114, data=0x2935798 remove_recent_entry, tmplist->data=/Users/michga/bluefishcvs/bluefish-doc/src/de bugging_bluefish.xml remove_recent_entry, tmplist=0x2914114, data=0x2935738 remove_recent_entry, tmplist->data=/Users/michga/bluefishcvs/bluefish-doc/src/de veloping_bluefish.xml remove_recent_entry, returning 0x2935738 create_dynamic_menuitem, menubar=0x24897e0, menu=0x2491580 basepath=/File/Open r ecent, label=/Users/michga/bluefishcvs/bluefish-doc/src/developing_bluefish.xml add_to_recent_list, inserted item in menu add_to_history_stringlist, entry /Users/michga/bluefishcvs/bluefish-doc/src/deve loping_bluefish.xml exists, moving! removed 0x369d9a0 from documentlist, list 0x29366e4 length=1 about to remove widget from notebook (doc=0x369d9a0, current_document=0x36a6970) doc_destroy, removed widget from notebook (doc=0x369d9a0), delay_activation=1 doc_destroy, (doc=0x369d9a0) about to bind notebook signals... doc_destroy, (doc=0x369d9a0) after calling notebook_changed() unlinking /Users/michga/bluefishcvs/bluefish-doc/src/developing_bluefish.xml~, d oc->filename=/Users/michga/bluefishcvs/bluefish-doc/src/developing_bluefish.xml doc_unre_destroy, about to destroy undolist 0x0 doc_unre_destroy, about to destroy redofirst 0x0 doc_unre_destroy, about to destroy current 0x369ead0 doc_destroy, finished for 0x369d9a0 doc_destroy, calling bmark_clean_for_doc(0x36a6970) add_to_recent_list, started for /Users/michga/bluefishcvs/bluefish-doc/src/debug ging_bluefish.xml remove_recent_entry, tmplist=0x28f6114, data=0x2935798 remove_recent_entry, tmplist->data=/Users/michga/bluefishcvs/bluefish-doc/src/de bugging_bluefish.xml remove_recent_entry, returning 0x2935798 create_dynamic_menuitem, menubar=0x24897e0, menu=0x2491580 basepath=/File/Open r ecent, label=/Users/michga/bluefishcvs/bluefish-doc/src/debugging_bluefish.xml add_to_recent_list, inserted item in menu Hangs here indefinitely.
OK, after some debugging with Michèle this is apparently fixed now in CVS.