Public bug reported: Binary package hint: dbus
Description: Ubuntu 8.04.1 Release: 8.04 Package version: 1.1.20-1ubuntu2 Steps: run /usr/bin/dbus-send --dest=org.freedesktop.ExampleName /org/freedesktop/sample/object/name org.freedesktop.ExampleInterface.ExampleMethod dict:string:int32:"one",1 (this is a simplified version of what dbus-send(1) shows as an example) Actual results: process 30340: arguments to dbus_message_iter_open_container() were incorrect, assertion "(type == DBUS_TYPE_STRUCT && contained_signature == NULL) || (type == DBUS_TYPE_DICT_ENTRY && contained_signature == NULL) || (type == DBUS_TYPE_VARIANT && contained_signature != NULL) || (type == DBUS_TYPE_ARRAY && contained_signature != NULL)" failed in file dbus-message.c line 2356. This is normally a bug in some application using the D-Bus library. Segmentation fault Expected results: no output (successful message send) The problem is fixed in intrepid: in dbus-send.c, append_dict, DBUS_TYPE_DICT_ENTRY should be sent with a NULL signature. If I port this change into 1.1.20's source (in hardy), dbus-send works as expected. See: http://gitweb.freedesktop.org/?p=dbus/dbus.git;a=commitdiff;h=d7446ac003f63aca29624b42b55f13b64e19a77f This must have been a fleeting bug in debian's (or upstream's) sources, because none of the current debian versions (stable, testing, or unstable) have the bad call in append_dict. ** Affects: dbus (Ubuntu) Importance: Undecided Status: New -- dbus-send unable to send dict arguments https://bugs.launchpad.net/bugs/267333 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
