hal-device-manager crash

Sjoerd Simons sjoerd at luon.net
Thu Jul 29 15:16:29 PDT 2004


On Thu, Jul 29, 2004 at 10:08:31AM -0700, Igor Pruchanskiy wrote:
> 
> I seem to have similar problem on Debian (sid)
> 
> Traceback (most recent call last):
>  File "/usr/bin/hal-device-manager", line 15, in ?
>    DeviceManager()
>  File "/usr/share/hal/device-manager/DeviceManager.py", line 73, in 
> __init__
>    self.update_device_list()
>  File "/usr/share/hal/device-manager/DeviceManager.py", line 166, in 
> update_device_list
>    self.virtual_root = self.build_device_tree()
>  File "/usr/share/hal/device-manager/DeviceManager.py", line 238, in 
> build_device_tree
>    properties = device_dbus_obj.GetAllProperties()
>  File "/usr/lib/python2.3/site-packages/dbus.py", line 162, in __call__
>    reply_message = self._connection.send_with_reply_and_block(message, 
> 5000)
>  File "dbus_bindings.pyx", line 513, in 
> dbus_bindings.Connection.send_with_reply_and_block
> dbus_bindings.DBusException: Message did not receive a reply (timeout by 
> message bus)
> 
> That kills hald. Also if i do `lshal` hald dies.

This is probably the same problem as debian bug #261462[0]. Which is caused by
hal having invalid utf-8 on this properties (see mail earlier on the list).

You can try the test packages  i've put online [1]. These will print a warning
when hal tries to put a invalid utf-8 string in a property when you run hald in
the console.  

I'll propably send a patch to debians hal maintainer, which ensures that
every property that gets set is valid utf-8. Which is basically the wrong
solution, but we want a stable hald in debian and the patch can/should be 
removed as soon it's fixed upstream the right way (TM). 

  Sjoerd
0: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261462
1: http://luon.net/~sjoerd/hal/testpkg/
-- 
He who knows, does not speak.  He who speaks, does not know.
		-- Lao Tsu
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list