Thanks. I try gdb. find the problem is ......... #6 0x0805d289 in perf_event::set_event_name (this=0xc94ff4, event_name=0x8089a6b "power:power_frequency") at perf/perf.cpp:152 .............. I find void perf_event::set_event_name(const char *event_name) 150 { 151 if (name) 152 free(name); 153 154 name = strdup(event_name); 155 char *c; I think if(name) is the problem, so I change it with if(!name). It can work now. Is it a bug??
wkq At 2010-12-31 01:35:36,"Arjan van de Ven" <ar...@linux.intel.com> wrote: >On 12/29/2010 7:12 PM, wkq5325 wrote: >> I try to make Powertop, but occur error, seems like memory leak or >> others.... >> gcc 4.1.2 >can you run powertop inside "gdb", and type "bt" after the crash? >that should give more useful information.... >
_______________________________________________ Discuss mailing list Discuss@lesswatts.org http://lists.lesswatts.org/listinfo/discuss