Re: problems with ghash.c (?)



that looks like GTK's way of making you know you didn't call gtk_init ()
before starting to use gtk stuff..

You should make sure no gtk code can be called before the gtk_init step.



Henri


Gergely Pongracz wrote:

Hi!

I have modified a once working GTK based code, and as a result,
now got the following error message:

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup):
assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup):
assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert):
assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup):
assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert):
assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup):
assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert):
assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup):
assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtktypeutils.c: line 337 (gtk_type_class):
assertion `node != NULL' failed.
Segmentation fault (core dumped)

This is quite strange, because in that rows of the code, I did
not modified anything. (The row, on which the code collapses is a
simple window creation:

window1 = gtk_window_new (GTK_WINDOW_DIALOG);

Does anybody have any idea, what is going on?
I don't have more. :(

Thanks in advance, and please reply me in direct mail, because
I'm not the member of this list!

Gergely Pongracz
Hungary

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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