Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LZMAEncoder throws on creation #14

Open
GoogleCodeExporter opened this issue Apr 21, 2015 · 0 comments
Open

LZMAEncoder throws on creation #14

GoogleCodeExporter opened this issue Apr 21, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

I'm trying to leverage the LZMAEncoder.swc in a stand-alone environment (i.e. 
small CS5-based project). I'm thinking there may be other dependencies the .swc 
is trying to reference? Any help would be appreciated!

What steps will reproduce the problem?
1. var enc:LZMAEncoder = new LZMAEncoder();
2. Runtime crash with VerifyError: Error #1026: Slot 34 exceeds slotCount=0 of 
String.


What is the expected output? What do you see instead?
Should continue without issue. Here is a snip of the exception thrown:

verify global$init()
                        stack:
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  0:getlocal0
                        stack: global
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  1:pushundefined
                        stack: global void?
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  2:setslot 35
                        stack:
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  4:getlocal0
                        stack: global
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  5:pushundefined
                        stack: global void?
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  6:setslot 37
                        stack:
                        scope: ~ ~ ~ ~ ~ ~ ~ 
                         locals: global * 
...
...
  3615:getscopeobject 0
                        stack: global
                        scope: global ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  3617:findpropstrict cmodule.lzma::exportSym
                        stack: global global
                        scope: global ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  3620:pushstring "_setjmp"
                        stack: global global String
                        scope: global ~ ~ ~ ~ ~ ~ 
                         locals: global * 
  3623:getglobalslot 34
VerifyError: Error #1026: Slot 34 exceeds slotCount=0 of String.

    at ru.inspirit.lzma::LZMAEncoder$cinit()
    at global$init()[E:\_exp\SevenZip\src\ru\inspirit\lzma\LZMAEncoder.as:15]
    at LZMA::test()[C:\depot\samples\LZMA\test.as:45]


Original issue reported on code.google.com by [email protected] on 19 Dec 2010 at 11:50

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

No branches or pull requests

1 participant