Re: Multipipe Problem

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (aschaffe)
Wed, 20 Oct 1993 13:43:15 -0700


On Oct 20, 12:52pm, Barry W. Webb wrote:
> I have a multipipe application which runs on a SkyWriter under
> Irix 4.0.5 and Performer 1.0. When recompiled on an Onyx under
> 5.1.1 and Performer 1.1 it core dumps when multiple pipes are
> used.
> [...]
> and I sometimes see the following on the command line:
>
> Performer Fatal (4):pfFree() pointer 0x9c9350 not from pfMalloc

John Rohlf writes:
> This is the infamous 1.1 multipipe bug. aschaffe knows the workaround.

Indeed I do. There is a bug in the 1.1 multipipe code. The
symptom is a core dump and the error you saw above.

The workaround is to do the following after you've created
a channel with pfNewChan:

        ((long**)chan)[3] = NULL;

Allan

-- 
Allan Schaffer
Silicon Graphics
aschaffe++at++sgi.com

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:50:04 PDT

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