René's URL Explorer Experiment


Title: Regression in Node.js 26.8.0: aligned Buffer pool breaks multi-byte typed-array views · Issue #65601 · nodejs/node · GitHub

Open Graph Title: Regression in Node.js 26.8.0: aligned Buffer pool breaks multi-byte typed-array views · Issue #65601 · nodejs/node

X Title: Regression in Node.js 26.8.0: aligned Buffer pool breaks multi-byte typed-array views · Issue #65601 · nodejs/node

Description: Version 26.8.0, 26.8.1 Platform Linux, macOS, and Windows Subsystem Buffer What steps will reproduce the bug? const buffer = Buffer.allocUnsafe(8); console.log({ node: process.version, bufferLength: buffer.length, backingLength: buffer.b...

Open Graph Description: Version 26.8.0, 26.8.1 Platform Linux, macOS, and Windows Subsystem Buffer What steps will reproduce the bug? const buffer = Buffer.allocUnsafe(8); console.log({ node: process.version, bufferLength...

X Description: Version 26.8.0, 26.8.1 Platform Linux, macOS, and Windows Subsystem Buffer What steps will reproduce the bug? const buffer = Buffer.allocUnsafe(8); console.log({ node: process.version, bufferLength...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression in Node.js 26.8.0: aligned Buffer pool breaks multi-byte typed-array views","articleBody":"### Version\n\n26.8.0, 26.8.1\n\n### Platform\n\n```text\nLinux, macOS, and Windows\n```\n\n### Subsystem\n\nBuffer\n\n### What steps will reproduce the bug?\n\n```\nconst buffer = Buffer.allocUnsafe(8);\n\nconsole.log({\n  node: process.version,\n  bufferLength: buffer.length,\n  backingLength: buffer.buffer.byteLength,\n  byteOffset: buffer.byteOffset,\n});\n\nnew Uint32Array(buffer.buffer, buffer.byteOffset); // throws RangeError\n```\n\n### How often does it reproduce? Is there a required condition?\n\nConsistently when:\n- \n- The Buffer is allocated from the default pool.\n- The typed-array element size does not divide the pool’s 65,599-byte backing allocation.\n- The typed-array constructor omits its explicit length.\n\nSmall files returned by readFileSync() meet these conditions.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nCreating a typed-array view at the Buffer’s aligned byteOffset should not fail because of invisible padding after the Buffer view. This worked through Node.js 26.7.0.\n\n### What do you see instead?\n\n```\nRangeError: byte length of Uint32Array should be a multiple of 4\n```\n\nThe Buffer is eight bytes, but its pooled backing `ArrayBuffer` is 65,599 bytes.\n\n### Additional information\n\nThis appears related to [nodejs/node#65003](https://github.com/nodejs/node/pull/65003), which changed the pool to an aligned allocation of poolSize + alignment - 1 bytes.\n- This is a regression introduced in Node.js 26.8.0. The reproduction succeeds on 26.7.0 and consistently throws on 26.8.0 and 26.8.1.\n  - Node.js 26.7.0: backing length 65,536; succeeds\n  - Node.js 26.8.0+: backing length 65,599; throws\n- V8 is unchanged: 14.6.202.34-node.28\n- Supplying an explicit typed-array length works around the issue.\n- This surfaced in [rocksdb-js CI](https://github.com/HarperFast/rocksdb-js/actions/runs/33042839856/job/98464401877?pr=800).","author":{"url":"https://github.com/cb1kenobi","@type":"Person","name":"cb1kenobi"},"datePublished":"2026-08-27T19:30:02Z","url":"https://github.com/nodejs/node/issues/65601"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d6d87a33-bb80-d6f1-4150-777152712ce1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD21C:169E62:5F3533:7AFF92:6AED2975
html-safe-noncee243b5d365b97044943d44e003fd58e24718518167271d909e21b4d6036771a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjFDOjE2OUU2Mjo1RjM1MzM6N0FGRjkyOjZBRUQyOTc1IiwidmlzaXRvcl9pZCI6IjU0Mzg1MDEwNzc2MzM1NDI1MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaced4901c8945328c1917fec96c09e19eff650e9b7aafb6efbd4eb2302601f97f2
hovercard-subject-tagissue:5271377151
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/65601/issue_layout
twitter:imagehttps://opengraph.githubassets.com/74d1edd1c78f389f5ed3d7edacfe7e5d68e2c84682397a663bb8a024ba11a368/nodejs/node/issues/65601
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/74d1edd1c78f389f5ed3d7edacfe7e5d68e2c84682397a663bb8a024ba11a368/nodejs/node/issues/65601
og:image:altVersion 26.8.0, 26.8.1 Platform Linux, macOS, and Windows Subsystem Buffer What steps will reproduce the bug? const buffer = Buffer.allocUnsafe(8); console.log({ node: process.version, bufferLength...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecb1kenobi
hostnamegithub.com
expected-hostnamegithub.com
None9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2
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
release98b41fa4b5635ceb45a4c54320fced73817ff290
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/nodejs/node/issues/65601#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F65601
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%2F65601
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/65601
Reloadhttps://github.com/nodejs/node/issues/65601
Reloadhttps://github.com/nodejs/node/issues/65601
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues656 (656)https://github.com/nodejs/node/issues
Pull requests666 (666)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/pulse
https://github.com/nodejs/node
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/65601
New issuehttps://github.com/login?return_to=https://github.com/nodejs/node/issues/65601
#65605https://github.com/nodejs/node/pull/65605
Regression in Node.js 26.8.0: aligned Buffer pool breaks multi-byte typed-array viewshttps://github.com/nodejs/node/issues/65601#top
#65605https://github.com/nodejs/node/pull/65605
bufferIssues and PRs related to the buffer subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22buffer%22
https://github.com/cb1kenobi
cb1kenobihttps://github.com/cb1kenobi
on Aug 27, 2026https://github.com/nodejs/node/issues/65601#issue-5271377151
nodejs/node#65003https://github.com/nodejs/node/pull/65003
rocksdb-js CIhttps://github.com/HarperFast/rocksdb-js/actions/runs/33042839856/job/98464401877?pr=800
https://github.com/ronag
ronaghttps://github.com/ronag
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#issuecomment-5449883993
@jasnellhttps://github.com/jasnell
@mcollinahttps://github.com/mcollina
Ethan-Arrowoodhttps://github.com/Ethan-Arrowood
bufferIssues and PRs related to the buffer subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22buffer%22
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#event-30169629018
https://github.com/cb1kenobi
cb1kenobihttps://github.com/cb1kenobi
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#issuecomment-5453637943
https://github.com/kriszyp
kriszyphttps://github.com/kriszyp
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#issuecomment-5453726298
https://github.com/ronag
ronaghttps://github.com/ronag
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#issuecomment-5454294746
https://github.com/kriszyp
kriszyphttps://github.com/kriszyp
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#issuecomment-5454635991
https://github.com/ronag
ronaghttps://github.com/ronag
on Aug 28, 2026https://github.com/nodejs/node/issues/65601#issuecomment-5454815003
nodejs-github-bothttps://github.com/nodejs-github-bot
completedhttps://github.com/nodejs/node/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#65605https://github.com/nodejs/node/pull/65605
on Sep 3, 2026https://github.com/nodejs/node/issues/65601#event-30465603732
nodejs-github-bothttps://github.com/nodejs-github-bot
on Sep 3, 2026https://github.com/nodejs/node/issues/65601#event-30465603801
buffer: pad aligned allocations by a multiple of 8https://github.com/nodejs/node/commit/0a1a37ecbbd91e71165feef8dcedd021de556af1
0a1a37ehttps://github.com/nodejs/node/commit/0a1a37ecbbd91e71165feef8dcedd021de556af1
aduh95https://github.com/aduh95
on Sep 3, 2026https://github.com/nodejs/node/issues/65601#event-30485775073
buffer: pad aligned allocations by a multiple of 8https://github.com/nodejs/node/commit/3f9236ab57cd44272eee0c5cf2584c5c5a817119
3f9236ahttps://github.com/nodejs/node/commit/3f9236ab57cd44272eee0c5cf2584c5c5a817119
aduh95https://github.com/aduh95
on Sep 15, 2026https://github.com/nodejs/node/issues/65601#event-31161522602
buffer: pad aligned allocations by a multiple of 8https://github.com/nodejs/node/commit/6bff2238f5fb38de8ebbe9b37f877586ad128fb3
6bff223https://github.com/nodejs/node/commit/6bff2238f5fb38de8ebbe9b37f877586ad128fb3
Sign up for freehttps://github.com/signup?return_to=https://github.com/nodejs/node/issues/65601
Sign in to commenthttps://github.com/login?return_to=https://github.com/nodejs/node/issues/65601
bufferIssues and PRs related to the buffer subsystem.https://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22buffer%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

Viewport: width=device-width


URLs of crawlers that visited me.