Your message dated Fri, 18 Oct 2024 16:03:41 +0100
with message-id <[email protected]>
and subject line Re: Bug#1085334: dbusada: calls dbus_get_local_machine_id() 
which has bad error-handling
has caused the Debian Bug report #1085334,
regarding dbusada: calls dbus_get_local_machine_id() which has bad 
error-handling
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1085334: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085334
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dbusada
Version: 0.6.2-6
Severity: normal
Tags: upstream

Based on my limited understanding of the Ada language, it looks as though
dbusada calls dbus_get_local_machine_id(), which has no good mechanism
for reporting an error, and therefore will spam warnings to standard error
(and possibly crash) if the D-Bus machine ID has not been set up correctly.
This function should be considered deprecated.

Please prefer to use dbus_try_get_local_machine_id(), which takes
a DBusError parameter and therefore can be used to report errors in
whatever way is considered to be most appropriate by the caller. This
has been available in upstream stable releases since dbus 1.12.0 (2017).

Thanks,
    smcv

--- End Message ---
--- Begin Message ---
On Fri, 18 Oct 2024 at 16:04:56 +0200, Reto Buerki wrote:
> dbusada does not call dbus_get_local_machine_id() on its own initiative, see
> the source code of the library. This function is part of the auto-generated
> thin binding though.
[...]
> The dbus_try_get_local_machine_id() is also part of the thin layer and can
> be used by an application if it desires.

OK, great, then there is no problem here. Sorry for the noise!

    smcv

--- End Message ---

Reply via email to