Bug 195

Summary: [sdk] powertop segfault when running with dump option
Product: [Yocto Project Subprojects] ADT Reporter: Jiajun Xu <jiajun.xu>
Component: kernel analysisAssignee: Tom Zanussi <tom.zanussi>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, lianhao.lu, liping.ke, sgw, susie.li, yp.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: Netbook   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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.