Skip to content

V8/C++ error with [email protected] #13

@TehShrike

Description

@TehShrike

Sorry for the incomplete reproduction - here's what I know so far:

When I build https://github.com/tehshrike/revelation-timeline with [email protected], on node 7 or 8 (I haven't tested on 6 or older), node crashes with this stack trace:

/usr/local/bin/node[4247]: ../src/node_file.cc:527:void node::InternalModuleReadFile(const FunctionCallbackInfo<v8::Value> &): Assertion `(numchars) >= (0)' failed.
 1: node::Abort() [/usr/local/bin/node]
 2: node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, char const*, int, v8::Local<v8::Value>*, double, double) [/usr/local/bin/node]
 3: node::InternalModuleReadFile(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
 4: 0x2ae4aa8e9a65
sh: line 1:  4242 Abort trap: 6

I suspect it is related to this node.js issue, and after this pull request is merged, there would be a much more useful stack trace.

Rolling back to the latest version of [email protected] eliminates the crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions