Re: Performer Notice: Caught SIGCHLD. Exiting due to death of child with pid 1680.

New Message Reply Date view Thread view Subject view Author view

Nicolas Gauvin (nicolas++at++cae.ca)
Fri, 27 Sep 1996 15:46:19 -0400


On Mar 17, 3:16pm, Tawfek Mukhtar wrote:
> Subject: Performer Notice: Caught SIGCHLD. Exiting due to death of child w
>

> pipe = pfGetPipe(0);
> channel = pfNewChan(pipe);
> pfChanDrawFunc(channel, drawFrame);
> pfuInitInput(pipe, PFUINPUT_X);
>
> pfInitPipe(pipe, openPipeline);
>
>
> static void openPipeline(pfPipe * pipe)
>
> {
> pfuGLXWindow * win;
> Display * XDpy;
> void * arena;
>
> XDpy = (Display *)pfuOpenXDisplay(0);
> win = pfuGLXWinopen((pfuXDisplay*)XDpy, pipe, "Rotatable view", 100, 500,
100, 500);
> pfInitGLXGfx(pipe, (void*)XDpy, win->xWin, win->glWin, win->overWin,
PFGLX_AUTO_RESIZE);
>
> }

Here is a suggestion:

Instead of using pfu functions to open your own GLX window, create a
pfPipeWindow of type PFPWIN_TYPE_X. Then call pfuInitInput(pwin, PFUINPUT_X) on
this pipe window. Then you should be able to call pfuGetEvents without
problems. This works very well for me and has never crashed using Performer 2.0
and 2.0.2.

-- 
Nicolas Gauvin			CAE Electronics Ltd., 8585 Cote De Liesse
Software Developer 		Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications	tel: +1 514 341 2000 extension 2275
nicolas++at++cae.ca			fax: +1 514 340 5496
=======================================================================
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:53:39 PDT

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