Re: Broken Pipe Errors

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid.csd.sgi.com)
Thu, 29 Jan 1998 16:35:36 -0800


On Jan 29, 2:12pm, Rémi Arnaud wrote:
> Subject: Re: Broken Pipe Errors
> Fagan, Tim wrote:
> >
> > Hello Performers
> >
> > I'm writing a simple draw call back in a simple performer app and keep
> > getting broken pipe errors. The display opens ok and runs for
> > a while then dies. Now, the program runs, draws the plane, pass through
> > data gets into the draw callback, no crash. However, as soon as I try a
> > gl command in the draw callback, i.e. zfunction((ZF_ALWAYS) is
> > sufficient, it dies after about 381 itterations. This suggest to me it
> > may be a stack related but the error returned is "broken pipe". I've
> > done this before and can't see anything wrong - this has me stumped.
> > What can cause a broken pipe error and is there a list somewhere?
> > All Help accepted with thanks
>
> Just a sanity check.
> You are issuing a IrisGL command, which is not compatible with an
> openGL performer. Are you sure you are using a IrisGL performer ?

elfdump -Dl <your executable | grep -i gl

would tell you for sure:

IrisGL == libpf_igl.so, libgl.so
OpenGL == libpf_ogl.so, libGL.so

if there's any overlap then that would be bad.

If it's truly all IrisGL then you could run gldebug on the app and turn on GL
error checking to see if anything flags. Can you print the actual error you get
and also anything corresponding in SYSLOG ? It sounds like a general thing from
the Xserver when something get's killed unexpectedly ( ie crashes ). The
zfunction call is just setting the current zbuffer compare so it's a single
value thing, not stacked at all. What machine are you on ? Can you narrow the
problem down to a smallish test case we can have ?

Cheers
Rob

-- 
________________________________________________________________
Rob Jenkins mailto:robj++at++sgi.com
Silicon Graphics, Mtn View, California, USA

===================================List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++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:56:39 PDT

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