[haiku-bugs] Re: [Haiku] #10694: Somewhat reproducible KDL: power_daemon in wait_for_objects()

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Tue, 25 Mar 2014 10:34:33 -0000

#10694: Somewhat reproducible KDL: power_daemon in wait_for_objects()
------------------------------------+----------------------------
   Reporter:  ttcoder               |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  normal                |  Milestone:  R1
  Component:  Servers/power_daemon  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by korli):

 Replying to [comment:3 ttcoder]:
 > Possibly, at least that's how I trigger the panic 'easily'.

 Well it seems the acpi_button driver doesn't notify anyone on close(). It
 should probably also refuse select() requests when the fd is already
 closed, or is it already enforced by the driver API? A bit of locking
 would be needed too.
 Same for acpi_lid.

 >
 > Well, other than at shutdown, I also get other symptoms though, hinting
 at something bad occuring even before shutdown. For instance if I start
 using this install normally (instead of doing the above 30 seconds "KDL
 recipe"), I get strange userland crashes in Terminal, WebPositive ...
 Sometimes ending up with a KDL (EDIT: at time of reboot reboot, never
 before IIRC), sometimes I can reboot after the W+ crash or Terminal crash
 without getting a KDL. Didn't collect real data on that aspect yet though.

 Here I'm unsure it's really related.

 >
 > Looking at the original/uncropped screenshots I see the offset is
 '''0xb6''' in all cases.

 Thanks for the info.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10694#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: