Debug a call to method ssa(sv)a(sa(sv)) from libdbus
Thiago Macieira
thiago at kde.org
Thu Mar 10 19:42:45 UTC 2022
On Thursday, 10 March 2022 10:50:10 PST Felip Moll wrote:
> dbus_message_iter_init_append(msg, &args_itr);
> dbus_message_iter_append_basic(&args_itr, DBUS_TYPE_STRING, &name);
> dbus_message_iter_append_basic(&args_itr, DBUS_TYPE_STRING, &mode);
> _dbus_asv_add_fixed_array(&args_itr, pid_str, DBUS_TYPE_UINT32, &pids,
> npids);
> dbus_message_iter_open_container(&args_itr, DBUS_TYPE_ARRAY,
> DBUS_TYPE_UINT32_AS_STRING, &cont_itr);
> dbus_message_iter_append_basic(&cont_itr, DBUS_TYPE_UINT32, &zero);
> dbus_message_iter_close_container(&args_itr, &cont_itr);
> dbus_connection_send_with_reply(conn, msg, &pending, -1);
> dbus_connection_flush(conn);
This section of code does not seem to match signature 'ssa(sv)a(sa(sv))'
I'm seeing 'ssauas' and in the array of strings at the end you added an
uint32_t instead of a string.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel DPG Cloud Engineering
More information about the dbus
mailing list