Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript TypedArray创建崩溃Chrome 31_Javascript_Google Chrome_Webgl_Typed Arrays_Typedarray - Fatal编程技术网

Javascript TypedArray创建崩溃Chrome 31

Javascript TypedArray创建崩溃Chrome 31,javascript,google-chrome,webgl,typed-arrays,typedarray,Javascript,Google Chrome,Webgl,Typed Arrays,Typedarray,我已经懒散地追踪了一段时间的崩溃,但现在应该发现了:Chrome在WebGL页面上显示了一段时间后的“Snap!”消息,而Firefox运行没有问题 通过以下片段进行大约27000次迭代后,它在创建Float32Array时捕捉到: webglContext.bindBuffer (webglContext.ARRAY_BUFFER, buffer.webglBuffer); typedArray = new Float32Array (buffer); <- SNAP! //typedA

我已经懒散地追踪了一段时间的崩溃,但现在应该发现了:Chrome在WebGL页面上显示了一段时间后的“Snap!”消息,而Firefox运行没有问题

通过以下片段进行大约27000次迭代后,它在创建
Float32Array
时捕捉到:

webglContext.bindBuffer (webglContext.ARRAY_BUFFER, buffer.webglBuffer);
typedArray = new Float32Array (buffer); <- SNAP!
//typedArray = new Float32Array (buffer); (1)
webglContext.bufferData (webglContext.ARRAY_BUFFER, typedArray, webglContext.STATIC_DRAW);
//typedArray = null; (2)
webglContext.vertexAttribPointer (attribute, buffer.itemSize, webglContext.FLOAT, false, 0, 0);
webglContext.bindBuffer(webglContext.ARRAY\u BUFFER,BUFFER.webglBuffer);

typedArray=新的浮点数组(缓冲区);你应该在Thank上提交一个bug,开始检查我们公司的内部程序…@gman我看到过类似的快照!在我创建的Pixi原型中,但最近,我没有再看到它。不过,不记得有任何更改(或升级)。如果我不能重新构建,我会在几天后删除这个问题。