Coder Social home page Coder Social logo

Comments (9)

panva avatar panva commented on July 18, 2024

Tested again with https://github.com/denoland/deno/releases/tag/v1.44.1, issue still persists.

from deno.

bartlomieju avatar bartlomieju commented on July 18, 2024

Looks like this will be fixed by #24128.

from deno.

panva avatar panva commented on July 18, 2024

#24128 (https://github.com/denoland/deno/releases/tag/v1.44.2) did not fix this issue

from deno.

bartlomieju avatar bartlomieju commented on July 18, 2024

@panva we've been investigating this issue with @nathanwhit and so far we established that the problem appeared when we upgraded from V8 12.4 to V8 12.6. The investigation leads us to believe that it might be a V8 bug, we're trying to strip down the reproduction and validate the idea.

from deno.

nathanwhit avatar nathanwhit commented on July 18, 2024

I was able to minimize the reproduction and I'm now fairly sure this is a V8 bug. You can see the reproducer here: https://github.com/nathanwhit/v8-async-module-hang (that relies on part of V8). There's an equivalent reproducer for deno here: https://github.com/nathanwhit/deno-async-module-hang (there are a couple tiny differences with the above due to some differences in event loops).

I've reported this upstream (here), and I'll try to update here once I hear back

from deno.

lucacasonato avatar lucacasonato commented on July 18, 2024

The reproduction reproduces in all versions of Deno down to at least 1.15.0 - seems to be a long standing bug in V8.

from deno.

panva avatar panva commented on July 18, 2024

How come in the reproduction case you only encounter it the first time the code runs in a given directory? And only since a couple releases ago?

from deno.

lucacasonato avatar lucacasonato commented on July 18, 2024

@panva It's timing dependant - I can reproduce it every time on an M1 MacBook Air.

Anyway, it is a confirmed upstream bug - I'm working with Shu from V8 to figure out a fix.

from deno.

bartlomieju avatar bartlomieju commented on July 18, 2024

The fix has landed in https://chromium-review.googlesource.com/c/v8/v8/+/5631143. We'll most likely will need to wait until the next minor release as it will require to update V8.

from deno.

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.