[hafqa] [hafqa] [Bug 2168] API needs destroy functions for user data

From: bugzilla-daemon at lists.maemo.org bugzilla-daemon at lists.maemo.org
Date: Mon Nov 5 11:37:27 EET 2007
https://bugs.maemo.org/show_bug.cgi?id=2168





------- Comment #3 from danielk at openismus.com  2007-11-05 11:37 GMT+3 -------
Created an attachment (id=600)
 --> (https://bugs.maemo.org/attachment.cgi?id=600&action=view)
Patch to add destroy callbacks

OK, here is my first attempt at a patch. I would appreciate comments on the
implementation, especially regarding the exact time and place the user data
destroy callbacks are called. The patch should apply cleanly to the current
Subversion tree of libosso in haf. It builds fine, including the unit tests.
However, I have trouble running the tests:

>osso_initialize:106: application 'test_osso_rpc', version '0.0.1'
>osso_initialize:126: connecting to both D-BUS busses, 'activation' argument does not have any effect
>osso-init.c:128 osso_initialize(): connecting to the session bus
>osso-init.c:455 _dbus_connect_and_setup(): getting the DBUS
>process 11926: D-Bus library appears to be incorrectly set up; failed to read >machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
>See the manual page for dbus-uuidgen to correct this issue.
>  D-Bus not built with -rdynamic so unable to print a backtrace
>Aborted (core dumped)

Is there anything special I have to do in order to get the tests running?


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list