Re: NewpfuWidget: failed
John Rohlf (jrohlf++at++tubes)
Thu, 18 May 95 11:03:13 PDT
>
> +>---- On May 4, 6:13pm, Ben Simons wrote:
> > Subject: NewpfuWidget: failed
> ->
> ->Has anyone got this one before??
> ->
> ->Performer Warning: No VClock. Assuming 60Hz video rate
> ->Performer Fatal: NewpfuWidget: failed to allocate widget 36 of type 0x11 in gui data pool.
>
> Hmmm. For some reason pfDPoolAlloc of the GUI data pool failed.
>
> ->
> ->Seems to have happened since I added another button,
> ->but I can't debug it as I think it's inside a library.
>
> FYI: the source code to the GUI in libpfutil is at
> /usr/src/Performer/src/lib/libpfutil/gui.c
>
There is a bug in initUtilDPool() in libpfutil/gui.c
which does not allocate enough datapool memory for the gui.
The line
PFUGUI_MAXWIDGETS * sizeof(pfuWidget)
is bogus since pfuSlider is larger than pfuWidget. To see if this is
your problem, simply double PFUGUI_MAXWIDGETS as a quick check.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:51:30 PDT