GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: backport ff7d70b from V8's upstream by misterdjules · Pull Request #2959 · nodejs/node

Conversation

@misterdjules

@misterdjules misterdjules commented Sep 18, 2015

Copy link
Copy Markdown

Original commit message:

Update BitField3 type in gen-postmortem-metadata.py

Since https://codereview.chromium.org/272163002, BitField3 is a raw
uint32 field, and not a SMI anymore.

Update tools/gen-postmortem-metadata.py so that post-mortem tools can
work with versions of V8 that shipped after that change.

This change was merged in github.com/joyent/node right before node
v0.12.0 was released.

R=[email protected]

TEST=mdb_v8, a post-mortem debugging tool running on SmartOS, has been
using this change since Node.js v0.12.0 was released

BUG=

Review URL: https://codereview.chromium.org/1296743003

Cr-Commit-Position: refs/heads/master@{#30839}

This is necessary to allow mdb_v8 to work properly with node v4.x, so this would need to be backported to the v4.x branch.

/cc @nodejs/post-mortem

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
julien.gilli
deps: backport ff7d70b from V8's upstream
259072c
Original commit message:

  Update BitField3 type in gen-postmortem-metadata.py

  Since https://codereview.chromium.org/272163002, BitField3 is a raw
  uint32 field, and not a SMI anymore.

  Update tools/gen-postmortem-metadata.py so that post-mortem tools can
  work with versions of V8 that shipped after that change.

  This change was merged in github.com/joyent/node right before node
  v0.12.0 was released.

  [email protected]

  TEST=mdb_v8, a post-mortem debugging tool running on SmartOS,  has been
  using this change since Node.js v0.12.0 was released

  BUG=

  Review URL: https://codereview.chromium.org/1296743003

  Cr-Commit-Position: refs/heads/master@{nodejs#30839}
@misterdjules misterdjules added the v8 engine Issues and PRs related to the V8 dependency. label Sep 18, 2015
This was referenced Sep 18, 2015
Release Proposal: v4.1.1 #2943
Closed
dict properties won't work with node v4.0 and v4.1 TritonDataCenter/mdb_v8#34
Closed
@rvagg

rvagg commented Sep 19, 2015

Copy link
Copy Markdown
Member

lgtm

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ofrobots

ofrobots commented Sep 19, 2015

Copy link
Copy Markdown
Contributor

LGTM.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@misterdjules

misterdjules commented Sep 19, 2015

Copy link
Copy Markdown
Author

Tests running here: https://ci.nodejs.org/job/node-test-commit/634/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rvagg

rvagg commented Sep 19, 2015

Copy link
Copy Markdown
Member

@misterdjules: summary for changelog? does this give us back mdb support when using your external code?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@misterdjules

misterdjules commented Sep 19, 2015

Copy link
Copy Markdown
Author

@rvagg A summary for the changelog could be: V8: update post-mortem metadata to allow post-mortem debugging tools to find and inspect JavaScript objects that use dictionary properties.

This change does not solve all problems that need to be solved to get proper mdb support back. However, it makes things slightly better. Basically, it allows mdb_v8 to recognize JavaScript objects that use dictionary properties, and as a result more valid JavaScript objects will be listed by ::findjsobjects.

The sooner we can get this change in the better as mdb_v8 relies on that information being present in node binaries. Binaries for v4.0 and v4.1 releases could be supported by hardcoding this information in mdb_v8, but the less node versions we have to support with similar workarounds the better. See TritonDataCenter/mdb_v8#34 for the corresponding issue in joyent/mdb_v8.

For a better picture or the current state of mdb_v8 support for node v4.x, see TritonDataCenter/mdb_v8#33.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@misterdjules

misterdjules commented Sep 19, 2015

Copy link
Copy Markdown
Author

All tests pass except on pi1-raspbian-wheezy, which seems to have been flaky in the past.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@misterdjules misterdjules added the land-on-v4.x label Sep 20, 2015
misterdjules pushed a commit that referenced this pull request Sep 20, 2015
Julien Gilli
deps: backport ff7d70b from V8's upstream
4e028bd
Original commit message:

  Update BitField3 type in gen-postmortem-metadata.py

  Since https://codereview.chromium.org/272163002, BitField3 is a raw
  uint32 field, and not a SMI anymore.

  Update tools/gen-postmortem-metadata.py so that post-mortem tools can
  work with versions of V8 that shipped after that change.

  This change was merged in github.com/joyent/node right before node
  v0.12.0 was released.

  [email protected]

  TEST=mdb_v8, a post-mortem debugging tool running on SmartOS,  has been
  using this change since Node.js v0.12.0 was released

  BUG=

  Review URL: https://codereview.chromium.org/1296743003

  Cr-Commit-Position: refs/heads/master@{#30839}

PR: #2959
PR-URL: #2959
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
@misterdjules

misterdjules commented Sep 20, 2015

Copy link
Copy Markdown
Author

Landed in 4e028bd.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@misterdjules misterdjules closed this Sep 20, 2015
This was referenced Sep 20, 2015
[Converge] Re-enable mdb #2517
Closed
Upstream fix to dictionary properties access to V8 nodejs/node-v0.x-archive#9147
Closed
misterdjules pushed a commit that referenced this pull request Sep 22, 2015
Julien Gilli @rvagg
deps: backport ff7d70b from V8's upstream
8da3da4
Original commit message:

  Update BitField3 type in gen-postmortem-metadata.py

  Since https://codereview.chromium.org/272163002, BitField3 is a raw
  uint32 field, and not a SMI anymore.

  Update tools/gen-postmortem-metadata.py so that post-mortem tools can
  work with versions of V8 that shipped after that change.

  This change was merged in github.com/joyent/node right before node
  v0.12.0 was released.

  [email protected]

  TEST=mdb_v8, a post-mortem debugging tool running on SmartOS,  has been
  using this change since Node.js v0.12.0 was released

  BUG=

  Review URL: https://codereview.chromium.org/1296743003

  Cr-Commit-Position: refs/heads/master@{#30839}

PR: #2959
PR-URL: #2959
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
@rvagg rvagg mentioned this pull request Sep 22, 2015
Release proposal: v4.1.1 #2995
Merged
rvagg added a commit that referenced this pull request Sep 22, 2015
@rvagg
2015-09-22, Version 4.1.1 (Stable) Release
ab55b45
Notable changes

* buffer: Fixed a bug introduced in v4.1.0 where allocating a new
  zero-length buffer can result in the next allocation of a TypedArray
  in JavaScript not being zero-filled. In certain circumstances this
  could result in data leakage via reuse of memory space in
  TypedArrays, breaking the normally safe assumption that TypedArrays
  should be always zero-filled. (Trevor Norris) #2931.
* http: Guard against response-splitting of HTTP trailing headers
  added via response.addTrailers() by removing new-line ([\r\n])
  characters from values. Note that standard header values are already
  stripped of new-line characters. The expected security impact is low
  because trailing headers are rarely used. (Ben Noordhuis) #2945.
* npm: Upgrade to npm 2.14.4 from 2.14.3, see release notes for full
  details (Kat Marchán) #2958
  - Upgrades graceful-fs on multiple dependencies to no longer rely on
    monkey-patching fs
  - Fix npm link for pre-release / RC builds of Node
* v8: Update post-mortem metadata to allow post-mortem debugging tools
  to find and inspect:
  - JavaScript objects that use dictionary properties
    (Julien Gilli) #2959
  - ScopeInfo and thus closures (Julien Gilli) #2974
rvagg added a commit that referenced this pull request Sep 23, 2015
@rvagg
2015-09-22, Version 4.1.1 (Stable) Release
4a6f1fe
Notable changes

* buffer: Fixed a bug introduced in v4.1.0 where allocating a new
  zero-length buffer can result in the next allocation of a TypedArray
  in JavaScript not being zero-filled. In certain circumstances this
  could result in data leakage via reuse of memory space in
  TypedArrays, breaking the normally safe assumption that TypedArrays
  should be always zero-filled. (Trevor Norris) #2931.
* http: Guard against response-splitting of HTTP trailing headers
  added via response.addTrailers() by removing new-line ([\r\n])
  characters from values. Note that standard header values are already
  stripped of new-line characters. The expected security impact is low
  because trailing headers are rarely used. (Ben Noordhuis) #2945.
* npm: Upgrade to npm 2.14.4 from 2.14.3, see release notes for full
  details (Kat Marchán) #2958
  - Upgrades graceful-fs on multiple dependencies to no longer rely on
    monkey-patching fs
  - Fix npm link for pre-release / RC builds of Node
* v8: Update post-mortem metadata to allow post-mortem debugging tools
  to find and inspect:
  - JavaScript objects that use dictionary properties
    (Julien Gilli) #2959
  - ScopeInfo and thus closures (Julien Gilli) #2974

PR-URL: #2995
@misterdjules misterdjules added the post-mortem Issues and PRs related to Node.js postmortem diagnostics. label Sep 24, 2015
@jasnell jasnell added the lts-landed-on-v4.x label Oct 7, 2015
@MylesBorins

MylesBorins commented Nov 16, 2015

Copy link
Copy Markdown
Contributor

landed in lts-v4.x-staging as 8da3da4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins removed the land-on-v4.x label Nov 16, 2015
This was referenced Jun 29, 2021
[Snyk] Security upgrade prismjs from 1.17.1 to 1.24.0 meghasfdc/node#37
Open
[Snyk] Security upgrade prismjs from 1.18.0 to 1.24.0 ron-a20/node#35
Open
[Snyk] Security upgrade prismjs from 1.18.0 to 1.24.0 aliceUnhinged613/node#27
Open
[Snyk] Security upgrade prismjs from 1.17.1 to 1.24.0 kissofire/node#37
Open
[Snyk] Security upgrade prismjs from 1.20.0 to 1.24.0 Dmarch28/node#26
Open
This was referenced Jun 29, 2021
[Snyk] Security upgrade prismjs from 1.18.0 to 1.24.0 molllyn1/node#12
Open
[Snyk] Security upgrade prismjs from 1.18.0 to 1.24.0 sitedata/node#26
Open
[Snyk] Security upgrade prismjs from 1.18.0 to 1.24.0 137717unity/node#28
Open
[Snyk] Security upgrade prismjs from 1.20.0 to 1.24.0 baby636/node#13
Open
[Snyk] Security upgrade prismjs from 1.18.0 to 1.24.0 Rednickle/node-1#23
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

post-mortem Issues and PRs related to Node.js postmortem diagnostics. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@misterdjules @rvagg @ofrobots @MylesBorins @jasnell
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.