Bug#509355: cpufreqd: segfault while reading acpi battery info

2008-12-24 Thread Mattia Dongili
On Tue, Dec 23, 2008 at 07:57:00PM +0100, Stefan Bühler wrote: > The problem is that check_timeout is reset after the first battery got > updated, so the values for the second battery are never read. > > This results in status->value == NULL, and strncmp segfaults. > > The solution is to update c

Bug#509355: cpufreqd: segfault while reading acpi battery info

2008-12-23 Thread Stefan Bühler
The problem is that check_timeout is reset after the first battery got updated, so the values for the second battery are never read. This results in status->value == NULL, and strncmp segfaults. The solution is to update check_timeout after all battery values are updated. kind regards Stefan --

Bug#509355: cpufreqd: segfault while reading acpi battery info

2008-12-22 Thread Wolfram Sang
Hello, maybe I can add a bit of information: On Mon, Dec 22, 2008 at 06:54:56AM +0900, Mattia Dongili wrote: > On Sun, Dec 21, 2008 at 04:40:28PM +0100, Jonas Zeiger wrote: > > Package: cpufreqd > > Version: 2.3.3-3 > > Severity: grave > > Justification: renders package unusable > > > > > > I'v

Bug#509355: cpufreqd: segfault while reading acpi battery info

2008-12-21 Thread Mattia Dongili
On Sun, Dec 21, 2008 at 04:40:28PM +0100, Jonas Zeiger wrote: > Package: cpufreqd > Version: 2.3.3-3 > Severity: grave > Justification: renders package unusable > > > I've been trying to run cpufreqd on a Dell Latitude D530 > Laptop with a Intel Core2Duo 2.00Ghz CPU, 3GB of DDR2 RAM > and two att

Bug#509355: cpufreqd: segfault while reading acpi battery info

2008-12-21 Thread Jonas Zeiger
Package: cpufreqd Version: 2.3.3-3 Severity: grave Justification: renders package unusable I've been trying to run cpufreqd on a Dell Latitude D530 Laptop with a Intel Core2Duo 2.00Ghz CPU, 3GB of DDR2 RAM and two attached battery units using the stock Debian kernel version 2.6.26, but the proble