Coder Social home page Coder Social logo

Comments (3)

bnoordhuis avatar bnoordhuis commented on April 27, 2024

It's at least partially a bug in async-wrap-inl.h because the code first casts to v8::Function before checking whether the object is really a function.

That's not the root cause, though. The error message suggests that timer[0] (that's where JS land stores the timeout callback) is not a function. Can I get access to that machine? I probably have to do some printf-style debugging to figure out where things go wrong.

from node.

rvagg avatar rvagg commented on April 27, 2024

will privmsg on irc

from node.

bnoordhuis avatar bnoordhuis commented on April 27, 2024

Short status update: the callback field is undefined, hence the assert.

(gdb) call (*('v8::internal::Object'**) 0x11ed4a8)->Print()
0x5b079385: [JSObject]
 - map = 0x5f20fb01 [FAST_HOLEY_ELEMENTS]
 - prototype = 0x5b0639d9
 {
   #domain: 0x47e08091 <undefined> (field at offset 0)
   0: 0x47e08091 <undefined>
   1: 0x47e080a1 <the hole>
   2: 0x47e080a1 <the hole>
   3: 0x47e080a1 <the hole>
   4: 0x47e080a1 <the hole>
   5: 0x47e080a1 <the hole>
   6: 0x47e080a1 <the hole>
   7: 0x47e080a1 <the hole>
   8: 0x47e080a1 <the hole>
   9: 0x47e080a1 <the hole>
   10: 0x47e080a1 <the hole>
   11: 0x47e080a1 <the hole>
   12: 0x47e080a1 <the hole>
   13: 0x47e080a1 <the hole>
   14: 0x47e080a1 <the hole>
   15: 0x47e080a1 <the hole>
   16: 0x47e080a1 <the hole>
 }

Now to figure out why.

from node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.