Comments (9)
Tested again with https://github.com/denoland/deno/releases/tag/v1.44.1, issue still persists.
from deno.
Looks like this will be fixed by #24128.
from deno.
#24128 (https://github.com/denoland/deno/releases/tag/v1.44.2) did not fix this issue
from deno.
@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.
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.
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.
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.
@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.
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)
- deno run with npm specifier should resolve scopes in deno.json HOT 4
- `import.meta.dirname` doesn't include a trailing forward slash
- TransformStream with preact-render-to-string renderToPipeableStream HOT 1
- Changing proxy server at runtime HOT 2
- deno(fmt): adds optional semicolon thinking it's not optional HOT 1
- `deno fmt` formatting is inconsistent HOT 1
- `GPUDevice.createRenderPipeline[Async]` ignores `constants`
- `GPURenderBundleEncoder.setIndexBuffer` `size` parameter defaults to `0`
- Implement WASI 0.2 support for Deno HOT 2
- Improve error message for uninstalled bin commands
- Problem using AWS CDK with Deno
- WebSocket attack DoSes server, socket.close() does not work HOT 1
- Multi deno.json resolver scopes fails for JSX HOT 6
- suggestion: simplify internal module specifiers HOT 4
- Does not function on Deno Deploy but functions when running locally HOT 1
- gRPC connection fails HOT 2
- map "deno run X" to "deno task X" if X is not a script HOT 4
- Using mongodb dot notation in the filter stage shouldn't show type errors
- WebGPU BYOW: to submit to queue twice would cause the program to freeze in surface.present.
- `fs.fchown` is not a function HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.