Skip to content

Debug check failed when Node.js compiled in Debug mode #1025

@mhdawson

Description

@mhdawson

When Node.js is compiled as debug and used to run the Node-api tests the functionrefernce test fails with a Fatal error:

Running test 'external'
Running test 'function'
Running test 'functionreference'


#
# Fatal error in ../deps/v8/src/objects/tagged-impl.h, line 92
# Debug check failed: kCanBeWeak || (!IsSmi() == (((static_cast<i::Tagged_t>(ptr_) & ::i::kHeapObjectTagMask) == ::i::kHeapObjectTag))).
#
#
#
#FailureMessage Object: 0x7fff116bde10
 1: 0x1061791 node::DumpBacktrace(_IO_FILE*) [/home/midawson/newpull/land/node/out/Debug/node]
 2: 0x1204d6b  [/home/midawson/newpull/land/node/out/Debug/node]
 3: 0x1204d8b  [/home/midawson/newpull/land/node/out/Debug/node]
 4: 0x2d82057 V8_Fatal(char const*, int, char const*, ...) [/home/midawson/newpull/land/node/out/Debug/node]
 5: 0x2d82083  [/home/midawson/newpull/land/node/out/Debug/node]
 6: 0x146cf34 v8::internal::Handle<v8::internal::Object> v8::internal::CustomArguments<v8::FunctionCallbackInfo<v8::Value> >::GetReturnValue<v8::internal::Object>(v8::internal::Isolate*) [/home/midawson/newpull/land/node/out/Debug/node]
 7: 0x146d19b v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/home/midawson/newpull/land/node/out/Debug/node]
 8: 0x146dfb7  [/home/midawson/newpull/land/node/out/Debug/node]
 9: 0x1472c12  [/home/midawson/newpull/land/node/out/Debug/node]
10: 0x1473997 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/home/midawson/newpull/land/node/out/Debug/node]
11: 0x2317020  [/home/midawson/newpull/land/node/out/Debug/node]
Tests aborted with SIGTRAP

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