xtk / X

The X Toolkit
http://www.goXTK.com
Other
793 stars 265 forks source link

Uncaught RangeError with some files #158

Open CaptainKraft opened 10 years ago

CaptainKraft commented 10 years ago

I have seen this error:

Uncaught RangeError: Invalid array buffer length. Sometimes it loads the files in the wrong place and crashes.

with some files while trying to load and render an STL and a NRRD file. This only happens when I use xtk release 10 -- 2013-02-14 (from the link on this Github page) and xtk release 10 -- 2013-07-16 (from experimental slicedrop). There are also occasional crashes with both of these releases and I'm not sure why.

NicolasRannou commented 10 years ago

Can you share a file which doesn't work or is it totally random? (sometimes it works and sometimes it doesn't work)

CaptainKraft commented 10 years ago

This NRRD file will cause occasional crashes: https://drive.google.com/file/d/0B1tGI0RaYKjuelZzVmxVaWdOc2c/view?usp=sharing

I am displaying this STL file inside a 3d renderer alongside 3 2d renderers for the above NRRD file. When I do that, I get the error message from above: https://drive.google.com/file/d/0B1tGI0RaYKjuOU05UF90UWZjbFU/view?usp=sharing

NicolasRannou commented 10 years ago

Does it crash in SliceDrop or only in your application? I can not get it to crash on SliceDrop.

Which operating system/web browser are you using?

CaptainKraft commented 10 years ago

I am using Chrome in OSX 10.9.5

That NRRD file causes problems in the "experimental" slicedrop (slicedrop.com/x), but works on the normal slicedrop page. Sometimes I get a crash and sometimes I get the RangeError