I am trying to send some arrays across DBUS with glib bindings and get an error and segfault when I send empty string array.  I believe it should gracefully handle this case.  It does seem to handle empty GArrays, but not string arrays.
<br><br>I send the following:<br>'as'&nbsp; array of string glib bindings show this as a char** so I am assuming I need to null terminate this array<br>char** arraystrings = malloc(sizeof(char*) * (sizeofarray +1) )<br>arraystrings[sizeofarray] = NULL;
<br><br><br>If I do this with empty arrays (sizeofarray = 0).&nbsp; My server process answering the dbus request segfaults with the following error<br><br>27088: arguments to dbus_message_iter_get_fixed_array() were incorrect, assertion &quot;dbus_type_is_fixed (_dbus_type_reader_get_current_type (&amp;real-&gt;
u.reader))&quot; failed in file dbus-message.c line 1741.<br><br>If I change the code to give it one element it works great.&nbsp; But it always fails with zero. <br><br><br>Keith<br><br>