GNU bug report logs - #43146
27.1; D-Bus property handling incomplete

Previous Next

Package: emacs;

Reported by: Hugh Daschbach <hugh <at> ccss.com>

Date: Tue, 1 Sep 2020 04:29:02 UTC

Severity: normal

Found in version 27.1

Fixed in version 27.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Hugh Daschbach <hugh <at> ccss.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 43146 <at> debbugs.gnu.org
Subject: bug#43146: 27.1; D-Bus property handling incomplete
Date: Wed, 02 Sep 2020 15:01:43 -0700
[Message part 1 (text/plain, inline)]
Hugh Daschbach writes:

> Michael Albinus writes:
>
>> I could reproduce the bug locally. The following patch solves 
>> it 
>> for me,
>> could you pls check?
>
> Michael, thank you for such a  quick fix.  I've tested this and 
> it 
> does
> indeed fix my issue.
>
> Looking at how you fix it, I wonder if the change to 
> dbus-property-handler
> should also apply to the "Set" and "GetAll" cond clauses.
>
> Many thanks.
> Hugh

I've tweaked the test script to examine the "Set" and "GetAll" 
methods. The updated version is attached below.

Here's the sequence of operations:

/node0                             /node1
------                             ------
register prop, value "-node0-"
get prop, value is  "-node0-"
                                  register prop, value "-node1-"
get prop, value is  "-node0-"
                                  get prop, value is "-node1-"
                                  set prop, value "-replaced-"
get prop, no value returned
                                  get prop, value is "-replaced-"
getall, empty array returned

So I think the "Set" performed on /node1 corrupted the value of 
the property no /node0.  The last two operations on /node0 suggest 
the value of /node0's property is no longer available.

Thanks again,
Hugh


[dbus-properties-test.el (text/plain, attachment)]

This bug report was last modified 4 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.