GNOME Bugzilla – Bug 735437
Getting multiarray over DBus
Last modified: 2018-05-14 06:19:12 UTC
Created attachment 284482 [details] Testcase for Multiarray over DBus I get the following errors while trying to get a double[,] array over DBus: (process:6003): GLib-CRITICAL **: g_variant_builder_add_value: assertion '!GVSB(builder)->expected_type || g_variant_is_of_type (value, GVSB(builder)->expected_type)' failed It results in wrong values in the received array. Imo its an error in the vala compiler generating invalid C Code. I've attached an TestCase. Thank you.
Created attachment 311265 [details] [review] gvariant module: fix serializing multidimensional arrays I also had this bug and managed to fix it.
Created attachment 335772 [details] [review] gvariant module: Fix serializing multidimensional arrays The same type signature was being used for every dimension of the array. https://bugzilla.gnome.org/show_bug.cgi?id=735437 https://bugzilla.gnome.org/show_bug.cgi?id=723258
Created attachment 335773 [details] [review] gvariant module: Fix serializing multidimensional arrays The same type signature was being used for every dimension of the array.
Created attachment 371954 [details] [review] codegen: Fix serializing multidimensional arrays The same type signature was being used for every dimension of the array. Based on patch by Abderrahim Kitouni
Attachment 371954 [details] pushed as 6b514c6 - codegen: Fix serializing multidimensional arrays