Hansong Zhang (zhangh++at++cs.unc.edu)
Wed, 19 Jun 1996 15:54:50 -0400 (EDT)
> However, that doesn't explain an infinite loop.
> What kind of graphics hardware are you using?
> Can you run the program single process under dbx and ctrl-c it when
> it hangs and then do a 'where' to get the stack trace and send it to us?
I also had an infinite loop when dealing with textures. The program works
fine when there's no multiprocessing (i.e. ProcSplit = 0), but loops
infinitely inside of pfTexture::format() (actually deeper into
"_pfDirtCheck()") when I have multiple processes. Below is the exec stack
when I interrupted the loop. This is for RE2, Irix 6.1. When on an
RE2, Irix 5.3, I had more functions on the stack, with realloc()
at the top. My call to Texture::format() is immediately before the simulation
loop. Anybody figure out what's wrong? thanks! (Jenny: is that your code? :-)
Hansong
> 0 _pfDirtCheck(int,int)(id = 2058, dirt = 5) ["/perf7/zhz/perftot0/perf/lib/libpr/DBG.O32.IRISGL/../../../lib/libpr/pfState.C":1161, 0x5e23429c]
1 pfTexture::pr_format(int,int)(this = 0x181f8ec0, _isDirty = -1, __P271905952 = 32765) ["/perf7/zhz/perftot0/perf/lib/libpr/DBG.O32.IRISGL/../../../lib/libpr/pfTexture.C":2251, 0x5e2552b4]
2 pfTexture::format(void)(this = 0x181f8ec0) ["/perf7/zhz/perftot0/perf/lib/libpr/DBG.O32.IRISGL/../../../lib/libpr/pfTexture.C":1897, 0x5e253484]
Texture attributes:
textures = new(arena) pfTexture;
textures->setFilter(PFTEX_MINFILTER, PFTEX_BILINEAR);
textures->setFilter(PFTEX_MAGFILTER, PFTEX_POINT);
textures->setImage(NULL, 1, texWidths, texHeights, 1);
textures->setFormat(PFTEX_FAST_DEFINE, PF_ON);
and then, textures->format();
=============================================================
Hansong Zhang \ zhangh++at++cs.unc.edu
Walkthrough Group \ http://www.cs.unc.edu/~zhangh
Department of Computer Science \ (919)962-1835 (O)
UNC-Chapel Hill \ (919)929-4851 (H)
=============================================================
"I create abstract systems from pure information, Albert. I'm
a *programmer*... Quantum nonlocality is a bug." -- God
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer.html
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:02 PDT