Bug 624203

Summary: [F14 REGRESSION] powertop segfaults
Product: [Fedora] Fedora Reporter: Stefan Becker <chemobejk>
Component: powertopAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: ajax, jwboyer, kmaraas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-25 20:08:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stefan Becker 2010-08-14 11:54:37 UTC
Description of problem:

powertop stopped working after upgrading to F14.

Version-Release number of selected component (if applicable):
glibc-2.12.90-7.i686
kernel-2.6.35-3.fc14.i686
powertop-1.11-3.fc12.i686

How reproducible: Always

Additional info:

Linux l3f1199 2.6.35-3.fc14.i686 #1 SMP Fri Aug 6 19:48:09 UTC 2010 i686 i686 i386 GNU/Linux

Program received signal SIGSEGV, Segmentation fault.
0x001de9a8 in strcpy () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12.90-7.i686 ncurses-libs-5.7-8.20100703.fc14.i686
(gdb) bt
(gdb) bt
#0  0x001de9a8 in strcpy () from /lib/libc.so.6
#1  0x0804d3ea in read_kernel_config (string=0x8053036 "CONFIG_USB_SUSPEND", 
    onoff=1, 
    comment=0x8053508 "Suggestion: Enable the CONFIG_USB_SUSPEND kernel configuration option.\nThis option will automatically disable UHCI USB when not in use, and may\nsave approximately 1 Watt of power.", weight=20)
    at /usr/include/bits/string3.h:106
#2  suggest_kernel_config (string=0x8053036 "CONFIG_USB_SUSPEND", onoff=1, 
    comment=0x8053508 "Suggestion: Enable the CONFIG_USB_SUSPEND kernel configuration option.\nThis option will automatically disable UHCI USB when not in use, and may\nsave approximately 1 Watt of power.", weight=20) at config.c:96
#3  0x0804c657 in main (argc=1, argv=0xbffff744) at powertop.c:1063

Maybe this is fixed by upgrading to the latest version? (bug #620499)

Comment 1 Stefan Becker 2010-08-14 12:02:56 UTC
I compiled powertop-1.13 and the crash is gone.

Comment 2 Kjartan Maraas 2010-08-24 17:14:56 UTC
Where did you find that? Neither lesswatts.org nor powertop.org has a 1.13 version?

Comment 3 Kjartan Maraas 2010-08-24 17:19:42 UTC
Found it now, it just wasn't easy to find in the download section.

Comment 4 Adam Jackson 2010-08-25 20:08:18 UTC

*** This bug has been marked as a duplicate of bug 620499 ***