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

A map causes a crash #11

Open
neivv opened this issue Jun 18, 2017 · 0 comments
Open

A map causes a crash #11

neivv opened this issue Jun 18, 2017 · 0 comments

Comments

@neivv
Copy link
Collaborator

neivv commented Jun 18, 2017

The following map will cause scm-extractor to throw an uncaught exception with the following message:

C:\Jotakin\src\scm-extractor\index.js:596
    if (b < this._hashTable.length && this._hashTable[b].blockIndex === 0xFFFFFFFF) {
                                                        ^

TypeError: Cannot read property 'blockIndex' of undefined
    at ScmExtractor._findBlockIndex (C:/Jotakin/src/scm-extractor/index.js:603:39)
    at ScmExtractor._readFiles (C:/Jotakin/src/scm-extractor/index.js:467:34)
    at ScmExtractor._process (C:/Jotakin/src/scm-extractor/index.js:234:16)
    at ScmExtractor._flush (C:/Jotakin/src/scm-extractor/index.js:259:12)
    at ScmExtractor.<anonymous> (_stream_transform.js:141:12)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:105:13)
    at ScmExtractor.emit (events.js:207:7)
    at prefinish (_stream_writable.js:568:14)
    at finishMaybe (_stream_writable.js:576:5)

https://drive.google.com/open?id=0B76qCUchMgsnZDhaQnZzNDZfWVk

(It also doesn't work in 1.18.8, but 1.16.1 loads it fine)

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

No branches or pull requests

1 participant