René's URL Explorer Experiment


Title: libuv update in 18.18.0 breaks webpack's `thread-loader` · Issue #49911 · nodejs/node · GitHub

Open Graph Title: libuv update in 18.18.0 breaks webpack's `thread-loader` · Issue #49911 · nodejs/node

X Title: libuv update in 18.18.0 breaks webpack's `thread-loader` · Issue #49911 · nodejs/node

Description: Version v18.18.0 Platform Linux abulia 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Starting in an empty directory, Create the following files:...

Open Graph Description: Version v18.18.0 Platform Linux abulia 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Starting in an empt...

X Description: Version v18.18.0 Platform Linux abulia 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Starting in an empt...

Opengraph URL: https://github.com/nodejs/node/issues/49911

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"libuv update in 18.18.0 breaks webpack's `thread-loader`","articleBody":"### Version\r\n\r\nv18.18.0\r\n\r\n### Platform\r\n\r\nLinux abulia 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux\r\n\r\n### Subsystem\r\n\r\n_No response_\r\n\r\n### What steps will reproduce the bug?\r\n\r\nStarting in an empty directory,\r\n\r\n1. Create the following files:\r\n   * package.json:\r\n     ```json\r\n     {\r\n     \t\"dependencies\": {\r\n     \t\t\"thread-loader\": \"^4.0.2\",\r\n     \t\t\"webpack\": \"^5.88.2\",\r\n     \t\t\"webpack-cli\": \"^4.10.0\"\r\n     \t}\r\n     }\r\n     ```\r\n   * webpack.config.js:\r\n     ```\r\n     const path = require( 'path' );\r\n     \r\n     module.exports = {\r\n         mode: 'production',\r\n         entry: './index.js',\r\n         output: {\r\n             path: path.resolve( __dirname, 'dist' ),\r\n             filename: 'foo.bundle.js',\r\n         },\r\n         module: {\r\n             rules: [\r\n                 {\r\n                     test: /\\.(js)$/,\r\n                     exclude: /node_modules/,\r\n                     use: [\r\n                         {\r\n                             loader: require.resolve( 'thread-loader' ),\r\n                         },\r\n                     ],\r\n                 }\r\n             ]\r\n         },\r\n     };\r\n     ```\r\n2. Run `node -e 'console.log( \"console.log( typeof {} );\" ); for(let i=0; i\u003c5000; i++){ console.log( \"// we need a large file in order to trigger the bug\" ); }' > index.js`. Increase the \"5000\" if necessary, I don't know whether it depends on the system in some manner.\r\n3. `npm install`\r\n4. `npm exec webpack`\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nAlways. No requirements I know of beyond what's described above and being on Linux.\r\n\r\n### What is the expected behavior? Why is that the expected behavior?\r\n\r\n```\r\nasset foo.bundle.js 22 bytes [emitted] [minimized] (name: main)\r\n./index.js 254 KiB [built] [code generated]\r\nwebpack 5.88.2 compiled successfully in 376 ms\r\n```\r\nBecause that's what happens when webpack runs successfully.\r\n\r\n### What do you see instead?\r\n\r\nProcess hangs before producing any output. CPU is not being used, processes seem to be waiting in `epoll_pwait`.\r\n\r\n### Additional information\r\n\r\nIt worked in 18.17.1. fb2b80fca08fca9940e4fd1c2fa0fa7f7c33b056 appears to be the first failing commit.\r\n\r\nSetting `UV_USE_IO_URING=0` works around the problem. Of course, that's undocumented and temporary so a real fix would be good.\r\n\r\nI found this problem exists in 20.3.0 through 20.6.1 as well, but is not present in 20.7.0. A `git bisect` turned up 88ba79b083517c5d0790ca1ba7d4e78cfd84c390 as the commit that fixed it. Cherry-picking that commit onto 18.18.0 fixes it for me there too.\r\n\r\nSo my guess is that the new io_uring stuff started returning short writes when passed a lot of data, which WriteStream didn't handle correctly until 88ba79b083517c5d0790ca1ba7d4e78cfd84c390 fixed it.\r\n\r\nSee also https://github.com/webpack-contrib/thread-loader/issues/191","author":{"url":"https://github.com/anomiex","@type":"Person","name":"anomiex"},"datePublished":"2023-09-27T20:54:14Z","url":"https://github.com/nodejs/node/issues/49911"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e187506a-3062-38a3-aa6b-4a67dcf661e4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id84F8:EC78C:7CDE20:A6B312:6B063194
html-safe-noncedd6169345d3ef666467c9432fe909f021f4083f3bb68ea7e16c15f4775e0d5cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEY4OkVDNzhDOjdDREUyMDpBNkIzMTI6NkIwNjMxOTQiLCJ2aXNpdG9yX2lkIjoiODMxNDI4MTM2Nzk0NTIyODY5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac69f9fb03df9fb8a3e245c95144aec8d72d1bcaef83f35f78358c806c92467292
hovercard-subject-tagissue:1916304201
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/49911/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3632dd8a83932dba67fdcfb9d3c957f72c28436c2b9c80b3783aafaad6289056/nodejs/node/issues/49911
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3632dd8a83932dba67fdcfb9d3c957f72c28436c2b9c80b3783aafaad6289056/nodejs/node/issues/49911
og:image:altVersion v18.18.0 Platform Linux abulia 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Starting in an empt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameanomiex
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/49911#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F49911
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F49911
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/49911
Reloadhttps://github.com/nodejs/node/issues/49911
Reloadhttps://github.com/nodejs/node/issues/49911
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues630 (630)https://github.com/nodejs/node/issues
Pull requests659 (659)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/49911
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/49911
libuv update in 18.18.0 breaks webpack's thread-loaderhttps://github.com/nodejs/node/issues/49911#top
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
https://github.com/anomiex
anomiexhttps://github.com/anomiex
on Sep 27, 2023https://github.com/nodejs/node/issues/49911#issue-1916304201
#1https://github.com/nodejs/node/pull/1
fb2b80fhttps://github.com/nodejs/node/commit/fb2b80fca08fca9940e4fd1c2fa0fa7f7c33b056
88ba79bhttps://github.com/nodejs/node/commit/88ba79b083517c5d0790ca1ba7d4e78cfd84c390
88ba79bhttps://github.com/nodejs/node/commit/88ba79b083517c5d0790ca1ba7d4e78cfd84c390
webpack/thread-loader#191https://github.com/webpack/thread-loader/issues/191
bnoordhuishttps://github.com/bnoordhuis
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
v18.xhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v18.x%22
on Sep 28, 2023https://github.com/nodejs/node/issues/49911#event-10495915060
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Sep 28, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1738673243
https://github.com/matthewp
matthewphttps://github.com/matthewp
on Sep 28, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1739449389
https://github.com/richardlau
richardlauhttps://github.com/richardlau
on Sep 28, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1739699838
88ba79bhttps://github.com/nodejs/node/commit/88ba79b083517c5d0790ca1ba7d4e78cfd84c390
88ba79bhttps://github.com/nodejs/node/commit/88ba79b083517c5d0790ca1ba7d4e78cfd84c390
a4928b0https://github.com/nodejs/node/commit/a4928b069becbf37daf9985a073c169dcf302652
nodejs/Release#737https://github.com/nodejs/Release/issues/737
https://github.com/dnalborczyk
dnalborczykhttps://github.com/dnalborczyk
on Sep 28, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1740085111
NullVoxPopulihttps://github.com/NullVoxPopuli
on Oct 4, 2023https://github.com/nodejs/node/issues/49911#event-10553641835
Node 18.18 is broken, see: nodejs/node#49911https://github.com/auditboard/ember-scoped-css/commit/b6d08c92e85e60c67c7b4dc09854feac93c5211c
nodejs/node#49911https://github.com/nodejs/node/issues/49911
b6d08c9https://github.com/auditboard/ember-scoped-css/commit/b6d08c92e85e60c67c7b4dc09854feac93c5211c
Node 18.18 is broken, see: nodejs/node#49911https://github.com/auditboard/ember-scoped-css/commit/6e08e32a94c9bc18cbc0e44cb39b8cb937fc196e
nodejs/node#49911https://github.com/nodejs/node/issues/49911
6e08e32https://github.com/auditboard/ember-scoped-css/commit/6e08e32a94c9bc18cbc0e44cb39b8cb937fc196e
richardlauhttps://github.com/richardlau
on Oct 6, 2023https://github.com/nodejs/node/issues/49911#event-10577721878
2023-10-10, Version 18.18.1 'Hydrogen' (LTS)https://github.com/nodejs/node/commit/e1e34da766424ee257365763530a5c4816133e3a
e1e34dahttps://github.com/nodejs/node/commit/e1e34da766424ee257365763530a5c4816133e3a
2023-10-10, Version 18.18.1 'Hydrogen' (LTS)https://github.com/nodejs/node/commit/7615798b633f0d39af329fe2bdc45dbb10c7cfe4
7615798https://github.com/nodejs/node/commit/7615798b633f0d39af329fe2bdc45dbb10c7cfe4
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 9, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1752865192
richardlauhttps://github.com/richardlau
v20.xhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22v20.x%22
on Oct 9, 2023https://github.com/nodejs/node/issues/49911#event-10590281418
richardlauhttps://github.com/richardlau
on Oct 10, 2023https://github.com/nodejs/node/issues/49911#event-10606570376
2023-10-10, Version 18.18.1 'Hydrogen' (LTS)https://github.com/nodejs/node/commit/11f95dd12fa0311348e26ef6c1f160c417785d9b
11f95ddhttps://github.com/nodejs/node/commit/11f95dd12fa0311348e26ef6c1f160c417785d9b
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 10, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1756119733
northern-mindsethttps://github.com/northern-mindset
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#event-10620461264
Use newer version of Nodehttps://github.com/PureBhaktiArchive/audioseva/commit/44d84d14977db9d70b9e139625f16b6838682239
44d84d1https://github.com/PureBhaktiArchive/audioseva/commit/44d84d14977db9d70b9e139625f16b6838682239
https://github.com/anomiex
anomiexhttps://github.com/anomiex
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758192288
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758195834
https://github.com/anomiex
anomiexhttps://github.com/anomiex
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758203368
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758245728
#50061https://github.com/nodejs/node/issues/50061
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758439538
bnoordhuishttps://github.com/bnoordhuis
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#event-10623500687
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758442663
@simatechttps://github.com/simatec
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758458318
https://github.com/simatec
simatechttps://github.com/simatec
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758461277
@simatechttps://github.com/simatec
#50061https://github.com/nodejs/node/issues/50061
https://github.com/bnoordhuis
bnoordhuishttps://github.com/bnoordhuis
on Oct 11, 2023https://github.com/nodejs/node/issues/49911#issuecomment-1758483847
#50061 (comment)https://github.com/nodejs/node/issues/50061#issuecomment-1758482494
northern-mindsethttps://github.com/northern-mindset
on Oct 12, 2023https://github.com/nodejs/node/issues/49911#event-10632847018
Update frontend to Node 18 (#861)https://github.com/PureBhaktiArchive/audioseva/commit/370a148b04bb70c338935c2dcd7271b434c739d5
#861https://github.com/PureBhaktiArchive/audioseva/pull/861
370a148https://github.com/PureBhaktiArchive/audioseva/commit/370a148b04bb70c338935c2dcd7271b434c739d5
debadree25https://github.com/debadree25
on Apr 15, 2024https://github.com/nodejs/node/issues/49911#event-12464964472
2023-10-10, Version 18.18.1 'Hydrogen' (LTS)https://github.com/debadree25/node/commit/4eda24d458ddc333127c3118c265d6cffb6dbdb4
4eda24dhttps://github.com/debadree25/node/commit/4eda24d458ddc333127c3118c265d6cffb6dbdb4
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/49911
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/49911
fshttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22fs%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.