On Thu, 16 Dec 1999, Keith Whitwell wrote:
> Guy Barrand wrote:
> >
> > Hello Brian
> >
> > I have a crash in my application on OSF1
> > when using the brand new 3.1. A little debugging
> > session shows that I am passing in :
> >
> > vbxform/find_last_3f
> >
> > static void
> > find_last_3f( float data[][3], GLuint flag[], GLuint match,
> > GLuint count
> > )
> > {
> > GLuint i = count;
> >
> > for (;;)
> > if ((flag[--i] & match) != 0) {
> > COPY_3V(data[count], data[i]);
> > return;
> > }
> > }
> >
> > and that I NEVER pass the test : flag[--i] & match) != 0
> > and then falling in memory fault by pluging in flag[-1]...
> >
> > Doing for(;i>=1;) protect thing.
> >
> > Other platform (HP-UX, Linux, SunOS) are
> > not perturbed.
> >
> > It is not clear if it is my application fault if I pass
> > here without passing the test...
> >
> > Regards
> >
> > Guy Barrand
> >
>
>
> Do you have a test application, or can you make one?
>
Sorry but my application is a complex one that
rely over OpenInventor. Extracting
a simple example will not be obvious.
But I have done most of the debugging.
Now you have to see if passing in the upper
function with the above described condition
if a potential happening situation or not.
Anyway, to help, I am going to pass a couple of hours
to try to extract something...
Regards
Guy Barrand
-------------------------------------------------------------
Guy Barrand e-mail: [EMAIL PROTECTED]
LAL Tel: +33 (1) 64 46 84 17
Universite de Paris-Sud Fax: +33 (1) 69 07 94 04
B.P 34
91898 ORSAY CEDEX France
CERN Tel: 41 22 76 76990 (B02-R005)
-------------------------------------------------------------
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev