[haiku-bugs] Re: [Haiku] #7810: Deskbar crashs when Battery::GetBatteryInfoCached

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Thu, 28 Nov 2013 07:34:48 -0000

#7810: Deskbar crashs when Battery::GetBatteryInfoCached
----------------------------------------+----------------------------
   Reporter:  Arnaud M.                 |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/PowerStatus  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  x86
----------------------------------------+----------------------------

Comment (by korli):

 [http://cgit.haiku-
 os.org/haiku/tree/src/apps/powerstatus/ACPIDriverInterface.cpp#n103
 fRateBuffer.GetMeanRate()] can be zero and provokes a divide error.

--
Ticket URL: <http://dev.haiku-os.org/ticket/7810#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: