We had a very annoying crash which was very hard to track down (the
flash player crashed once every 10 times we ran our application), we
finally ended up in BasicRenderer.as line 121 and 127.

It basically comes down to this:
_faceStore.length = 0;
_faceStore.length = _mesh._vertices.length / 3;

We found that _faceStore contained illegal values (flash player memory
garbage) and not the value 0! This caused the drawGraphicsData
function to crash the player.

I've reported the bug at Adobe: https://bugs.adobe.com/jira/browse/FP-2898

Our current workaround is to recreate the _faceStore using a fixed set
of values (ie. _faceStore = new Vector.<int>(_mesh._vertices.length /
3, true);

Cheers,
Alexander

Reply via email to