From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 02/13/2001 15:39:30
Hello Isabelle !
This is a known problem. It is a race condition inside libpf. It only happens
when you change pfPhase on the fly.
We have not addressed it in the past because we couldn't find a customer
who needed to change pfPhase on the fly. Most programs require a certain
pfPhase for their entire execution time.
Do you need this ability ?
-yair
> Does someone has already had that kind of problem.
> Any explanation will be appreciate.
>
> When I changed pfPhase mode from PFPHASE_LOCK to PFPHASE_FREE_RUN, my
> application freeze. In fact the APP process seems stalled and the DRAW
> process looping. I'm running in APPCULL_DRAW multiprocess mode. And the
> pfPhase call is done just before pfAppFrame in the main loop.
>
> Here are the stack of each process.
>
> APP:
> Source (of
> /xlv51/6.5.10f/work/irix/lib/libc/libc_n32_M4/sys/usync_cntl.s) not
> available for Process 69713
> (dbx) t
> > 0 __usync_cntl(0x2, 0x7fff2b18, 0x3a790000, 0x6c014d60, 0x3ea, 0x2, 0x0, 0x115eae50) ["/xlv51/6.5.10f/work/irix/lib/libc/libc_n32_M4/sys/usync_cntl.s":15, 0xfb06cd8]
> 1 _usync_cntl(0x2, 0x7fff2b18, 0x3a790000, 0x6c014d60, 0x3ea, 0x2,
> 0x0, 0x115eae50)
> ["/xlv51/6.5.10f/work/irix/lib/libc/libc_n32_M4/sys/usync_cntlSCI.c":28,
> 0xfb0f85c]
> 2 _uspsema(0x0, 0x7fff2b18, 0x3a790000, 0x0, 0x3ea, 0x2, 0x0,
> 0x115eae50)
> ["/xlv51/6.5.10f/work/irix/lib/libc/libc_n32_M4/mp/usemas.c":321,
> 0xfa988fc]
> 3 ::pfPhase(0x2, 0x7fff2b18, 0x3a790000, 0x6c014d60, 0x3ea, 0x2, 0x0,
> 0x115eae50)
> ["/build/perfbuild/perftot0/perf/lib/libpf/pfProcess.C":8517,
> 0x3a34f620]
>
>
> DRAW:
> > 0 __ioctl(0x12, 0x3ff, 0x7fff2850, 0x0, 0x2, 0x0, 0x1181de70, 0x1) ["/xlv51/6.5.10f/work/irix/lib/libc/libc_n32_M4/sys/ioctl.s":20, 0xfb04ed8]
> 1 _ioctl(0x12, 0x3ff, 0x7fff2850, 0x0, 0x2, 0x0, 0x1181de70, 0x1)
> ["/xlv51/6.5.10f/work/irix/lib/libc/libc_n32_M4/sys/ioctlSCI.c":28,
> 0xfb0dcb8]
> 2 glXWaitVideoSyncSGI(0x12, 0x4d0005, 0x0, 0x0, 0x2, 0x0, 0x1181de70,
> 0x1) ["/xlv4/patches/4104/work/gfx/lib/opengl/glx/glx_extensions.c":78,
> 0xd8afcb0]
> 3 ::pfVClockSync(0x2, 0x0, 0x7fff2850, 0x0, 0x2, 0x0, 0x1181de70,
> 0x1) ["/build/perfbuild/perftot0/perf/lib/libpr/vclock.C":234,
> 0x3a486fe4]
> 4 ::mpDraw(void)(0x0, 0x0, 0x7fff2850, 0x0, 0x0, 0x0, 0x0, 0x1)
> ["/build/perfbuild/perftot0/perf/lib/libpf/pfProcess.C":7459,
> 0x3a34dc8c]
> 5 ::pfConfig(0xffffffff, 0x3ff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1)
> ["/build/perfbuild/perftot0/perf/lib/libpf/pfProcess.C":3377,
> 0x3a345918]
>
>
>
> --
> Isabelle Lafon Discreet Logic
> Tel: (514) 954-7157 10 Duke
> Fax: (514) 393-0110 Montreal (Quebec)
> isabelle++at++discreet.com Canada, H3C 2L7
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>
--
\_________ \_____ \__ \__ \_____ Yair Kurzion
\_________ \_____ \__ \__ \_____ yair++at++sgi.com
\__ \__ \____\__ \__ http://reality.sgi.com/yair
\__ \__ \__ Work: (650) 933-6502
\__ \__ \__ Home: (408) 226-9771
\__ \__ \__
This archive was generated by hypermail 2b29 : Tue Feb 13 2001 - 15:39:36 PST