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

Assertion Failure #2581

Closed
isaacs opened this issue Aug 27, 2015 · 10 comments
Closed

Assertion Failure #2581

isaacs opened this issue Aug 27, 2015 · 10 comments
Labels
c++ Issues and PRs that require attention from people who are familiar with C++.

Comments

@isaacs
Copy link
Contributor

isaacs commented Aug 27, 2015

Seeing this new thing in the node-tap tests:

  Assertion failed: ((static_cast<size_t>(off - 1)) <= (sizeof(arrow) - 1)),
  function AppendExceptionLine, file ../src/node.cc, line 1404.
@evanlucas
Copy link
Contributor

I just started seeing that this morning also :/

@mscdex mscdex added the c++ Issues and PRs that require attention from people who are familiar with C++. label Aug 27, 2015
@Fishrock123
Copy link
Contributor

What version? master?

@evanlucas
Copy link
Contributor

3.2.0 for me

@isaacs
Copy link
Contributor Author

isaacs commented Aug 27, 2015

@Fishrock123 3.2.0

Looks like this happens when it tries to pretty-print a thrown error in some cases.

@evanlucas
Copy link
Contributor

I can reproduce with ./node -pe 'JSON.parse(\'{"name":"asdfasdfasdfsadfasdf,fasfsafd,asdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffasdfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffasdfasdfkjasdl;fkjal;skdjfl;aksdjflkasjdfl;kajsdlf;kjasldkfjal;sdkjf;lasdjfl;kasjfdl;kajsdf;lsajld;fkjasl;dfjal;sdfkjl;sfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffad\'"}\')'

@isaacs
Copy link
Contributor Author

isaacs commented Aug 27, 2015

Reduced case: https://gist.github.com/isaacs/832dbcf3e9e22574989d

First release with the error is 3.0.0, so it's been around a little while.

@skomski
Copy link
Contributor

skomski commented Aug 27, 2015

Opened a PR for this 11 days ago: #2404

isaacs added a commit to tapjs/tapjs that referenced this issue Aug 28, 2015
isaacs added a commit to tapjs/tapjs that referenced this issue Aug 28, 2015
@evanlucas
Copy link
Contributor

@isaacs are you still able to reproduce this on v4.0.0?

@skomski
Copy link
Contributor

skomski commented Oct 7, 2015

Can be closed fixed by #2404.

@evanlucas
Copy link
Contributor

Thanks @skomski!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

No branches or pull requests

6 participants