Re: NewpfuWidget: failed

New Message Reply Date view Thread view Subject view Author view

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.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.