Skip to content

Broken on node master (soon to be Node 10) #87

@mcollina

Description

@mcollina

This module is currently failing on node citgm, very likely because of some V8 updates. This module will stop working in the next Node.js major if it is not updated.

Full log:

       > weak@1.0.1 install /home/iojs/build/workspace/citgm-smoker/nodes/ppcbe-ubuntu1404/citgm_tmp/fb64afdd-19f8-4b35-9a26-3cbb28572c55/weak
 > node-gyp rebuild
 make: Entering directory `/home/iojs/build/workspace/citgm-smoker/nodes/ppcbe-ubuntu1404/citgm_tmp/fb64afdd-19f8-4b35-9a26-3cbb28572c55/weak/build'
   CXX(target) Release/obj.target/weakref/src/weakref.o
   SOLINK_MODULE(target) Release/obj.target/weakref.node
   COPY Release/weakref.node
 make: Leaving directory `/home/iojs/build/workspace/citgm-smoker/nodes/ppcbe-ubuntu1404/citgm_tmp/fb64afdd-19f8-4b35-9a26-3cbb28572c55/weak/build'
 added 20 packages in 8.163s
 > weak@1.0.1 test /home/iojs/build/workspace/citgm-smoker/nodes/ppcbe-ubuntu1404/citgm_tmp/fb64afdd-19f8-4b35-9a26-3cbb28572c55/weak
 > mocha -gc --reporter spec
   weak()
     Buffer
       ✓ should invoke callback before destroying Buffer 
   weak()
     garbage collection callback
       ✓ should accept a function as second argument 
       ✓ should invoke the callback before the target is gc'd 
       ✓ should invoke *all* callbacks in the internal "callback" Array 
       ✓ should preempt code for GC callback but not nextTick callbacks 
   callbacks()
     ✓ should return the Weakref's "callback" Array 
   removeCallback()
     ✓ removed callbacks should not be called 
   removeCallbacks()
     ✓ removed callbacks should not be called 
   create()
     ✓ should throw on non-"object" values 
   exports
     ✓ should be a function 
     ✓ should have a function "get" 
     ✓ should have a function "create" 
     ✓ should have a function "isWeakRef" 
     ✓ should have a function "isNearDeath" 
     ✓ should have a function "isDead" 
     ✓ should have a function "callbacks" 
     ✓ should have a function "addCallback" 
     ✓ should have a function "removeCallback" 
     ✓ should have a function "removeCallbacks" 
     ✓ should be a circular reference to "create" 
   Weakref
     ✓ weak() should return a `Weakref` instance 
     ✓ should proxy named gets to the target 
     ✓ should proxy named sets to the target 
     ✓ should proxy named deletes to the target 
     ✓ should proxy indexed gets to the target 
     ✓ should proxy indexed sets to the target 
     ✓ should proxy indexed deletes to the target 
 #
 # Fatal error in ../deps/v8/src/keys.cc, line 481
 # Check failed: element->ToUint32(&number).
 #
 Trace/breakpoint trap (core dumped)
 npm ERR! Test failed.  See above for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions