Maybe redhat old kernel problem, ubuntu is ok.
 

At 2010-12-30 11:12:27,wkq5325 <wkq5...@163.com> wrote:
I try to make Powertop, but occur error, seems like memory leak or others....
gcc 4.1.2


*** glibc detected *** ./powertop: double free or corruption (out): 0x08098e78 
***
======= Backtrace: =========
/lib/libc.so.6[0xbbe0f1]
/lib/libc.so.6(cfree+0x90)[0xbc1bc0]
./powertop[0x805dd29]
./powertop[0x805e1d2]
./powertop[0x805590d]
./powertop[0x804e84d]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb6ae8c]
./powertop(__gxx_personality_v0+0x141)[0x804b2e1]
======= Memory map: ========
006a6000-006b5000 r-xp 00000000 fd:00 9995515    /lib/libresolv-2.5.so
006b5000-006b6000 r--p 0000e000 fd:00 9995515    /lib/libresolv-2.5.so
006b6000-006b7000 rw-p 0000f000 fd:00 9995515    /lib/libresolv-2.5.so
006b7000-006b9000 rw-p 00000000 00:00 0
0098b000-00996000 r-xp 00000000 fd:00 9995523    
/lib/libgcc_s-4.1.2-20080825.so.1
00996000-00997000 rw-p 0000a000 fd:00 9995523    
/lib/libgcc_s-4.1.2-20080825.so.1
00b37000-00b51000 r-xp 00000000 fd:00 9995499    /lib/ld-2.5.so
00b51000-00b52000 r--p 00019000 fd:00 9995499    /lib/ld-2.5.so
00b52000-00b53000 rw-p 0001a000 fd:00 9995499    /lib/ld-2.5.so
00b55000-00c93000 r-xp 00000000 fd:00 9995500    /lib/libc-2.5.so
00c93000-00c95000 r--p 0013e000 fd:00 9995500    /lib/libc-2.5.so
00c95000-00c96000 rw-p 00140000 fd:00 9995500    /lib/libc-2.5.so
00c96000-00c99000 rw-p 00000000 00:00 0
00c9b000-00cc0000 r-xp 00000000 fd:00 9995507    /lib/libm-2.5.so
00cc0000-00cc1000 r--p 00024000 fd:00 9995507    /lib/libm-2.5.so
00cc1000-00cc2000 rw-p 00025000 fd:00 9995507    /lib/libm-2.5.so
00cc4000-00cc6000 r-xp 00000000 fd:00 9995501    /lib/libdl-2.5.so
00cc6000-00cc7000 r--p 00001000 fd:00 9995501    /lib/libdl-2.5.so
00cc7000-00cc8000 rw-p 00002000 fd:00 9995501    /lib/libdl-2.5.so
00cca000-00cdd000 r-xp 00000000 fd:00 9995502    /lib/libpthread-2.5.so
00cdd000-00cde000 r--p 00012000 fd:00 9995502    /lib/libpthread-2.5.so
00cde000-00cdf000 rw-p 00013000 fd:00 9995502    /lib/libpthread-2.5.so
00cdf000-00ce1000 rw-p 00000000 00:00 0
00ce3000-00cf5000 r-xp 00000000 fd:00 57894690   /usr/lib/libz.so.1.2.3
00cf5000-00cf6000 rw-p 00011000 fd:00 57894690   /usr/lib/libz.so.1.2.3
00d65000-00dad000 r-xp 00000000 fd:00 57880761   /usr/lib/libncursesw.so.5.5
00dad000-00db5000 rw-p 00048000 fd:00 57880761   /usr/lib/libncursesw.so.5.5
00db5000-00db6000 rw-p 00000000 00:00 0
065eb000-066cb000 r-xp 00000000 fd:00 57876150   /usr/lib/libstdc++.so.6.0.8
066cb000-066cf000 r--p 000df000 fd:00 57876150   /usr/lib/libstdc++.so.6.0.8
066cf000-066d0000 rw-p 000e3000 fd:00 57876150   /usr/lib/libstdc++.so.6.0.8
066d0000-066d6000 rw-p 00000000 00:00 0
08048000-08097000 r-xp 00000000 fd:00 69436545   /home/mytest/powertop/powertop
08097000-08098000 rw-p 0004f000 fd:00 69436545   /home/mytest/powertop/powertop
08098000-080b9000 rw-p 00000000 00:00 0          [heap]
b7500000-b7521000 rw-p 00000000 00:00 0
b7521000-b7600000 ---p 00000000 00:00 0
b761b000-b781b000 r--p 00000000 fd:00 57872502   /usr/lib/locale/locale-archive
b781b000-b781e000 rw-p 00000000 00:00 0
b781e000-b785d000 r-xp 00000000 fd:00 57878166   /usr/lib/libnl.so.1.1
b785d000-b7860000 rw-p 0003f000 fd:00 57878166   /usr/lib/libnl.so.1.1
b7860000-b7861000 rw-p 00000000 00:00 0
b786e000-b786f000 rw-p 00000000 00:00 0
b786f000-b7870000 r-xp 00000000 00:00 0          [vdso]
bfdb9000-bfdda000 rw-p 00000000 00:00 0          [stack]
Aborted
 




At 2010-12-24 11:07:39,"Arjan van de Ven" <ar...@linux.intel.com> wrote:

>Hi,
>
>earlier today I cut the first alpha release of what will become PowerTOP 
>2.0.
>
>if you haven't seen what PowerTOP 2.0 will be, see the screenshots etc 
>on my blog at http://blog.fenrus.org
>
>
>You can grab the alpha release at 
>http://www.kernel.org/pub/linux/status/powertop/powertop-1.95.tar.gz
>
>or from git via
>
>git clone git://git.kernel.org/pub/scm/status/powertop/powertop.git
>
>
>I'd like to ask everyone who's interested to give it a spin and give 
>feedback on how you like the new design,
>and if there's features that are missing that you'd really like....
>
>Also, the translation facilities are still somewhat primitive, I'll need 
>to take a deeper look at that before this can become the 2.0 final...
>
>_______________________________________________
>Discuss mailing list
>Discuss@lesswatts.org
>http://lists.lesswatts.org/listinfo/discuss



_______________________________________________
Discuss mailing list
Discuss@lesswatts.org
http://lists.lesswatts.org/listinfo/discuss

Reply via email to