Hi Stephane and Will,

Thanks for tracking this one down. Just out of curiousity,how did you
find it?

Phil

On Thu, 2006-07-20 at 20:11 -0700, Stephane Eranian wrote:
> Phil, Will,
> 
> I took another look at your problem. There was indeed a serious
> bug in libpfm.
> 
> In fact two bugs:
>       - the way we sized pfmlib_regmask_t was bogus (ended up being 4 bytes 
> instead of 40)
>       - the kernel pmcs bitmask is bigger than that of libpfm causing buffer 
> overruns in
>         detect_unavail_pmcs()
> 
> I think the second bug explained the corruption you were seing.
> 
> I have updated CVS, just pull from it and the problem should go away.
> As I anticipated, there were no compiler issues.
> 
> --
> -Stephane

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to