Bug 195 - [sdk] powertop segfault when running with dump option
Summary: [sdk] powertop segfault when running with dump option
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: kernel analysis (show other bugs)
Version: unspecified
Hardware: Netbook Multiple
: Medium normal
Target Milestone: ---
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-08-04 22:26 UTC by Jiajun Xu
Modified: 2010-12-20 23:57 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2010-08-04 22:26:48 UTC
Testing Env:    
Hardware: netbook/emenlow
poky-image-sdk image from milestone build (20100731) on autobuilder,
http://yoctobuild01.jf.intel.com/milestone/20100731-1/.
poky commit info: 81315907f9ab575a7e2294577d285082494d74ea from poky master
tree

With M2 image from autobuilder(20100731), runing powertop with dump option will cause it segfault.

####
root@netbook:~# powertop --dump
PowerTOP 1.11   (C) 2007, 2008 Intel Corporation

Collecting data for 15 seconds


Cn                Avg residency
C0 (cpu running)        ( 0.3%)
polling           0.0ms ( 0.0%)
C1 halt           0.0ms ( 0.0%)
C2               36.1ms (99.7%)
P-states (frequencies)
  1.67 Ghz     0.2%
  1333 Mhz     0.5%
  1000 Mhz    99.4%
Segmentation fault
####

[ 4590.630362] powertop[701]: segfault at 19 ip b7778bf0 sp bfd0a550 error 6 in libncurses.so.5.0.4[b775f000+3a000]
Comment 1 Jiajun Xu 2010-09-07 01:06:52 UTC
Verify with M3 build, http://autobuilder.pokylinux.org/milestone/20100905-1/. The bug is fixed.