Sitelet https://github.com/nodejs/node/issues/2581
Skip to content

Assertion Failure #2581

Description

@isaacs

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.

Activity

  1. evanlucas commented on Aug 27, 2015

    @evanlucas
    Contributor

    I just started seeing that this morning also :/

  2. added
    c++Issues and PRs that require attention from people who are familiar with C++.
    on Aug 27, 2015
  3. Fishrock123 commented on Aug 27, 2015

    @Fishrock123
    Contributor

    What version? master?

  4. evanlucas commented on Aug 27, 2015

    @evanlucas
    Contributor

    3.2.0 for me

  5. isaacs commented on Aug 27, 2015

    @isaacs
    ContributorAuthor

    @Fishrock123 3.2.0

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

  6. evanlucas commented on Aug 27, 2015

    @evanlucas
    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\'"}\')'

  7. isaacs commented on Aug 27, 2015

    @isaacs
    ContributorAuthor

    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.

  8. skomski commented on Aug 27, 2015

    @skomski
    Contributor

    Opened a PR for this 11 days ago: #2404

  9. evanlucas commented on Sep 8, 2015

    @evanlucas
    Contributor

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

  10. skomski commented on Oct 7, 2015

    @skomski
    Contributor

    Can be closed fixed by #2404.

  11. evanlucas commented on Oct 7, 2015

    @evanlucas
    Contributor

    Thanks @skomski!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions