execution faults

"Charles Hervé Tchoutat Tchabo" t_charles at gmx.de
Sun Oct 7 14:57:47 PDT 2007

Hallo, salut
I have a problem to sending and receiving this structure (ub)
I create the structure to send by the client like this 

  GValueArray *testLevel;
  test_level = g_value_array_new (2);
  g_value_array_prepend (testLevel, NULL);
  g_value_init (g_value_array_get_nth (testLevel, 0), G_TYPE_UINT);
  g_value_set_uint (g_value_array_get_nth (testLevel, 0), nb);

  g_value_array_prepend (testLevel, NULL);
  g_value_init (g_value_array_get_nth (testLevel, 0), G_TYPE_BOOLEAN);
  g_value_set_boolean (g_value_array_get_nth (testLevel, 0), disTyp);

and I receive and display the type of structure elements by the server as follow:
    GValueArray *testLevel;
        guint i;
	GValue *val;	
    for (i = 0; i < testLevel->n_values; i++){
	val = g_value_array_get_nth(testLevel, i);
        g_print ("\n %s ---\n", g_type_name (G_VALUE_TYPE (val)));
  I receive the correct type of the structure elements but I have such warnings at the execution
(process:24343): GLib-GObject-WARNING **: gtype.c:3337: type id `24' is invalid

(process:24343): GLib-GObject-WARNING **: can't peek value table for type `<unknown>' which is not currently referenced

(process:24343): GLib-GObject-CRITICAL **: gtype.c:2627: initialization assertion failed, use IA__g_type_init() prior to this function

(process:24343): GLib-GObject-WARNING **: gvalue.c:96: cannot initialize GValue with type `(null)', this type has no GTypeValueTable implementation

(process:24399): GLib-GObject-WARNING **: gtype.c:3337: type id `0' is invalid
 can anyone tell me what is wrong

Charles Tchoutat
Maison: 00(49)5117271268
Cellulaire: 00(49)1724183464

GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t_charles.vcf
Type: text/x-vcard
Size: 0 bytes
Desc: vcard
Url : http://lists.freedesktop.org/archives/dbus/attachments/20071007/95045578/attachment.vcf 

More information about the dbus mailing list