hald-addon-acpi dying

Danny Kukawka danny.kukawka at web.de
Wed Jul 18 05:24:01 PDT 2007


On Mittwoch, 18. Juli 2007, Hannu Lyytinen wrote:
> Hi,
>
> hald-addon-acpi died everytime I pressed any Thinkpad extra buttons on
> this T60p. Seems like there's a problem in
> hald/linux/addons/addon-acpi.c. In main_loop() dbus_error_free() might
> be executed without having called dbus_error_init() first. A quick
> (perhaps not elegant) patch is attached to solve this problem.

1) I can only point to my patch from 19.03. this year, to cleanup the 
dbus_error handling within this addon. See attached patch again.

2) Are you sure it crash with dbus_error_free() and not by call 
dbus_error_is_set() ?

3) how did you compile DBus?

Danny

 addon-acpi.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-cleanup_acpi-addon_DBusError_handling.diff
Type: text/x-diff
Size: 1305 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070718/8b80bf9c/attachment.diff 


More information about the hal mailing list