[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Beaver-devel] Segfaults

From: Tobias Heinzen
Subject: Re: [Beaver-devel] Segfaults
Date: Sun, 30 Nov 2008 17:20:33 +0100
User-agent: Thunderbird (X11/20081124)

Hi there

I commited some could which should fix the first bug.

I have to look at the other bug as well. I encountered a bug myself. opening a file (no file has been opened before) also gives a segfault. I also began to rewrite the preferences dialog.


Double 12 wrote:
The segfault when saving indeed also happens when the file is saved in a non-hidden, non-empty directory.

There's another segfault (maybe I mentioned it before but it it still happening) when you're closing an empty unsaved file, while there are also other files open. It doesn't happen when the empty file is the only file opened. It happens in the line /gtk_notebook_remove_page (GTK_NOTEBOOK(MainNotebook), current_page);
/Firstly some GTK warnings and then a segmentation fault:
(beaver:13670): Gtk-CRITICAL **: gtk_notebook_get_tab_label: assertion `GTK_IS_WIDGET (child)' failed

(beaver:13670): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed

It can't remove the notebook page because it can't grab the tabs. Probably the reason for this is that the tab label is not created through gtk_notebook_set_tab_label or gtk_notebook_set_tab_label_text, but through a normal GtkLabel packed into a box. I tried doing it with gtk_notebook_set_tab_label and gtk_set_tab_label_text. It solved the segmentation fault, but there were more GTK errors and the little 'x'-button on the tabs was not visible anymore.

Double 12

Beaver-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]