Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

NS_ERROR_INVALID_POINTER in resource://shumway/shumway.js #141

Open
MJJoker opened this issue Mar 11, 2013 · 4 comments
Open

NS_ERROR_INVALID_POINTER in resource://shumway/shumway.js #141

MJJoker opened this issue Mar 11, 2013 · 4 comments
Labels

Comments

@MJJoker
Copy link

MJJoker commented Mar 11, 2013

caused by http://kingdomrush.com/chrome - caution large swf file, my laptop stuck while loading with shumway.
The swf file - a little game - is not working, but this error message is generatetd.

Zeitstempel: 11.03.2013 20:20:46
Fehler: NS_ERROR_INVALID_POINTER: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]
Quelldatei: resource://shumway/shumway.js
Zeile: 17062
with Firefox 17.0.3 ESR on Gentoo Linux

@mbebenita
Copy link
Contributor

This fails at:

https://github.com/mozilla/shumway/blob/master/src/flash/display/Sprite.js#L97

instance._control undefined

@automatedbugreportingfacility

Actually, this is an out-of-memory condition - memory usage skyrockets to over 2.5 GB at which point the program can't allocate more and will throw at random execution points.

@mbebenita
Copy link
Contributor

I'm trying this out in Chrome and it always breaks at the same point. It's because we expect a display object with a ._control property and we see a BitmapData object instead. We may be experiencing different crashes though.

@tschneidereit
Copy link
Contributor

This seems like a perfect test case for our memory usage. I stopped it after my browser used more than 5GB.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants