2.6.30: hald crashes on resume from STR apparently on LED device
arvidjaar at mail.ru
Sat Jun 27 13:34:48 PDT 2009
On Monday 22 of June 2009 17:57:24 Richard Purdie wrote:
> On Sun, 2009-06-21 at 18:17 +0400, Andrey Borzenkov wrote:
> > So what happens is simple. During suspend led device is removed;
> > during resume it is recreated. Apparently removing led device cause
> > hald-addon- leds to exit (thus disconnecting D-Bus connection); and
> > sometimes next "add" event comes too early, before hald had chance
> > to notice missing addon.
> Note that its the underlying device that is being removed here and
> since the LED is connected to that its removed as well. The LED
> subsystem hasn't changed in how it works. I don't think that has any
> bearing on your patch though.
Yes, looking more closely there is inherent race condition between
tearing down existing helper and processing ADD event for it. Most
likely some timing was changed in current kernel that made it more
easily exposed. If Mandriva had not compiled D-Bus with assertions
enabled, this would simply fail silently without anyone noticing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/hal/attachments/20090628/d42f74dd/attachment.pgp
More information about the hal