Hi Koen,

> No. I can't imagine an obvious reason... It would almost seem that
> something gets corrupted in the response, in the C++ code ?
The funny thing is, that after firebug reports the js error, sometimes
parts of the webapp stay operational, while other times, any further
interaction causes at least 4 error dialogs to appear. But I didn't
observe the server app crashing.

> Can the problem be predictably reproduced? 
It happens always when I install my deb package onto ubuntu server
machines. If I install the exact same binary package to a desktop
workstation, it runs fine. The binary package includes the wtfcgi
version.

> Does it depend somehow on threading configuration? 
You mean in wt_config.xml? I played with the following settings : 
<session-management><shared-process><num-processes>
<connector-fcgi><num-threads>
But the behavior didn't change.

> Is the boost version different on both
> systems and if so, could you try with the same (I'ld suggest the
> version you have on the workstation)?
The boost version is the same on all machines. It's the 1.42 which is in
the natty repos and that pau's wt packages depend on. Only some of the
machines that I tested with had maybe earlier versions of boost before.

Attached is the offending line formatted to be more readable. 
I didn't spot the syntay error so far.
Some things, I'm not sure about:
ctx.getAttribLocation(,'aVertexPosition');  
-> is it ok to omit the first parameter
ctx.bufferData(ctx.ARRAY_BUFFER,new Float32Array([]),ctx.STATIC_DRAW);
-> are zero size arrays ok?


Rgds
Richard
ctx.WtMatrix0=new 
Float32Array([1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,
                                
1.000000,0.000000,0.000000,0.000000,0.000000,1.000000]);
Wt3_1_9.glMatrix.mat4.set(new 
Float32Array([1.000000,0.000000,0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,
                                            
1.000000,0.000000,0.000000,0.000000,-10.000000,1.000000]), ctx.WtMatrix0);
obj.setLookAtParams(ctx.WtMatrix0,[0,0,0],[0,1,0],0.005,0.005);
ctx.useProgram();
ctx.WtAttrib0=ctx.getAttribLocation(,'aVertexPosition');
ctx.WtAttrib1=ctx.getAttribLocation(,'aVertexColor');
ctx.enableVertexAttribArray(ctx.WtAttrib1);
ctx.enableVertexAttribArray(ctx.WtAttrib0);
ctx.WtBuffer0=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer0);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([2.000000,-0.500000,0.000000,3.000000,-0.500000,0.000000]),ctx.STATIC_DRAW);
ctx.WtBuffer1=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer1);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000]),ctx.STATIC_DRAW);
ctx.useProgram();
ctx.WtAttrib2=ctx.getAttribLocation(,'aVertexPosition');
ctx.WtAttrib3=ctx.getAttribLocation(,'aVertexNormal');
ctx.WtAttrib4=ctx.getAttribLocation(,'aVertexColor');
ctx.WtAttrib5=ctx.getAttribLocation(,'aTextureCoord');
ctx.WtUniform0=ctx.getUniformLocation(,'uSampler');
ctx.enableVertexAttribArray(ctx.WtAttrib2);
ctx.enableVertexAttribArray(ctx.WtAttrib3);
ctx.enableVertexAttribArray(ctx.WtAttrib4);
ctx.enableVertexAttribArray(ctx.WtAttrib5);
ctx.WtBuffer2=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer2);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([1.000000,0.000000,0.000000,2.000000,0.000000,0.000000,1.000000,0.500000,0.000000,2.000000,
                                                  
0.000000,0.000000,2.000000,0.500000,0.000000,1.000000,0.500000,0.000000,1.000000,0.000000,
                                                  
1.000000,2.000000,0.000000,1.000000,1.000000,0.500000,1.000000,2.000000,0.000000,1.000000,
                                                  
2.000000,0.500000,1.000000,1.000000,0.500000,1.000000,1.000000,0.000000,0.000000,2.000000,
                                                  
0.000000,0.000000,1.000000,0.000000,1.000000,2.000000,0.000000,0.000000,2.000000,0.000000,
                                                  
1.000000,1.000000,0.000000,1.000000,2.000000,0.000000,0.000000,2.000000,0.500000,0.000000,
                                                  
2.000000,0.000000,1.000000,2.000000,0.500000,0.000000,2.000000,0.500000,1.000000,2.000000,
                                                  
0.000000,1.000000,2.000000,0.500000,0.000000,1.000000,0.500000,0.000000,2.000000,0.500000,
                                                  
1.000000,1.000000,0.500000,0.000000,1.000000,0.500000,1.000000,2.000000,0.500000,1.000000,
                                                  
1.000000,0.500000,0.000000,1.000000,0.000000,0.000000,1.000000,0.500000,1.000000,1.000000,
                                                  
0.000000,0.000000,1.000000,0.000000,1.000000,1.000000,0.500000,1.000000]),ctx.STATIC_DRAW);
ctx.WtBuffer3=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer3);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,
                                                  
0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,
                                                  
1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,
                                                  
0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,-1.000000,0.000000,0.000000,
                                                  
-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,
                                                  
0.000000,0.000000,-1.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,
                                                  
1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,
                                                  
0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,
                                                  
0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,
                                                  
-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,
                                                  
0.000000,0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,0.000000]),ctx.STATIC_DRAW);
ctx.WtBuffer4=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer4);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000]),ctx.STATIC_DRAW);
ctx.WtBuffer5=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer5);
ctx.bufferData(ctx.ARRAY_BUFFER,new Float32Array([]),ctx.STATIC_DRAW);
ctx.useProgram();
ctx.WtAttrib6=ctx.getAttribLocation(,'aVertexPosition');
ctx.WtAttrib7=ctx.getAttribLocation(,'aVertexNormal');
ctx.WtAttrib8=ctx.getAttribLocation(,'aVertexColor');
ctx.WtAttrib9=ctx.getAttribLocation(,'aTextureCoord');
ctx.WtUniform1=ctx.getUniformLocation(,'uSampler');
ctx.enableVertexAttribArray(ctx.WtAttrib6);
ctx.enableVertexAttribArray(ctx.WtAttrib7);
ctx.enableVertexAttribArray(ctx.WtAttrib8);
ctx.enableVertexAttribArray(ctx.WtAttrib9);
ctx.WtBuffer6=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer6);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([-4.000000,-4.000000,0.000000,-2.000000,-4.000000,0.000000,-4.000000,-2.000000,0.000000,-2.000000,
                                                  
-4.000000,0.000000,-2.000000,-2.000000,0.000000,-4.000000,-2.000000,0.000000,-4.000000,-4.000000,
                                                  
0.000000,-2.000000,-4.000000,0.000000,-3.000000,-3.000000,3.000000,-2.000000,-4.000000,0.000000,
                                                  
-2.000000,-2.000000,0.000000,-3.000000,-3.000000,3.000000,-2.000000,-2.000000,0.000000,-4.000000,
                                                  
-2.000000,0.000000,-3.000000,-3.000000,3.000000,-4.000000,-2.000000,0.000000,-4.000000,-4.000000,
                                                  
0.000000,-3.000000,-3.000000,3.000000]),ctx.STATIC_DRAW);
ctx.WtBuffer7=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer7);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([0.000000,0.000000,4.000000,0.000000,0.000000,4.000000,0.000000,0.000000,4.000000,0.000000,
                                                  
0.000000,4.000000,0.000000,0.000000,4.000000,0.000000,0.000000,4.000000,0.000000,-6.000000,
                                                  
2.000000,0.000000,-6.000000,2.000000,0.000000,-6.000000,2.000000,6.000000,0.000000,2.000000,
                                                  
6.000000,0.000000,2.000000,6.000000,0.000000,2.000000,0.000000,6.000000,2.000000,0.000000,
                                                  
6.000000,2.000000,0.000000,6.000000,2.000000,-6.000000,0.000000,2.000000,-6.000000,0.000000,
                                                  
2.000000,-6.000000,0.000000,2.000000]),ctx.STATIC_DRAW);
ctx.WtBuffer8=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer8);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000]),ctx.STATIC_DRAW);
ctx.WtBuffer9=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer9);
ctx.bufferData(ctx.ARRAY_BUFFER,new Float32Array([]),ctx.STATIC_DRAW);
ctx.useProgram();
ctx.WtAttrib10=ctx.getAttribLocation(,'aVertexPosition');
ctx.WtAttrib11=ctx.getAttribLocation(,'aVertexNormal');
ctx.WtAttrib12=ctx.getAttribLocation(,'aVertexColor');
ctx.WtAttrib13=ctx.getAttribLocation(,'aTextureCoord');
ctx.WtUniform2=ctx.getUniformLocation(,'uSampler');
ctx.enableVertexAttribArray(ctx.WtAttrib10);
ctx.enableVertexAttribArray(ctx.WtAttrib11);
ctx.enableVertexAttribArray(ctx.WtAttrib12);
ctx.enableVertexAttribArray(ctx.WtAttrib13);
ctx.WtBuffer10=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer10);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([-2.000000,-1.000000,-0.500000,-1.292893,-0.292893,-0.500000,-1.591752,-1.408248,0.316497,-1.292893,
                                                  
-0.292893,-0.500000,-0.884645,-0.701142,0.316497,-1.591752,-1.408248,0.316497]),ctx.STATIC_DRAW);
ctx.WtBuffer11=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer11);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([0.577350,-0.577350,-0.577350,0.577350,-0.577350,-0.577350,0.577350,-0.577350,-0.577350,0.577350,
                                                 
-0.577350,-0.577350,0.577350,-0.577350,-0.577350,0.577350,-0.577350,-0.577350]),ctx.STATIC_DRAW);
ctx.WtBuffer12=ctx.createBuffer();ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer12);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,
                                                  
0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,1.000000,0.200000,0.200000,0.800000,
                                                  
1.000000,0.200000,0.200000,0.800000]),ctx.STATIC_DRAW);
ctx.WtBuffer13=ctx.createBuffer();
ctx.bindBuffer(ctx.ARRAY_BUFFER,ctx.WtBuffer13);
ctx.bufferData(ctx.ARRAY_BUFFER,new 
Float32Array([0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
                                                  
0.000000,0.000000]),ctx.STATIC_DRAW);
ctx.clearColor(0.000000,0.000000,0.000000,0.000000);
ctx.clearDepth(1.000000);
ctx.enable(ctx.DEPTH_TEST);
ctx.depthFunc(ctx.LEQUAL);
obj.initialized = true;
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to