Summary: | power devil crash with no reason in 4.10.80 | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | TOM Harrison <l12436.tw> |
Component: | powermanagement-daemon | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | claudiu.cismaru, null, rmurray |
Priority: | NOR | ||
Version: | 4.10.80 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/cd78fa99e30f7586e75069b5ca569d499a16f0d1 | Version Fixed In: | 4.11.0 |
Sentry Crash Report: |
Description
TOM Harrison
2013-06-28 03:00:46 UTC
*** Bug 321713 has been marked as a duplicate of this bug. *** This seems to be caused (for me) by my asus motherboard having the eeepc-wmi driver and exporting a backlight brightness and max_brightness of 0: rmurray@ninsei:/sys/class/backlight/eeepc-wmi$ cat brightness 0 rmurray@ninsei:/sys/class/backlight/eeepc-wmi$ cat max_brightness 0 The code in powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp: PowerDevilUPowerBackend::onDeviceChanged attempts to divide by max_brightness without checking if the values are 0 first. Git commit cd78fa99e30f7586e75069b5ca569d499a16f0d1 by Christoph Feck. Committed on 04/07/2013 at 21:36. Pushed by cfeck into branch 'master'. Fix crash on backlight interfaces with max_brightness == 0 REVIEW: 111389 M +3 -0 powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp http://commits.kde.org/kde-workspace/cd78fa99e30f7586e75069b5ca569d499a16f0d1 *** Bug 321371 has been marked as a duplicate of this bug. *** |