On Feb 3, 13:59, Dale F. Brantly wrote:
> Subject: pcp-2.1.1/src/pmdas/linux/pmda.c bug
>
> Found the following bug on linuxppc (redhat 6.0) when running
> pminfo -fmdt. The pmcd daemon would core dump with a signal 11.
>
> diff pmda.c.orig pmda.c
>
> 1858c1858
> < if ((_pm_getfield(entry->stat_buf, idp->item)) == NULL)
> ---
> > if ((f = _pm_getfield(entry->stat_buf, idp->item)) ==
> NULL)
>
>
> Since 'f' wasn't being set via _pm_getfield it caused scanf to die.
>
thanks, that is indeed a bug and amazing it doesn't cause the i386 version
to fault. I'll roll your change into the 2.1.4 tree.
Did you have any other trouble building/running the RPM on linuxppc?
If possible, I'd like to send you the current 2.1.4 SRPM for
you to build and test on linuxppc. We also have a linuxalpha RPM too.
thanks
-- Mark
|