Skip to content

src: fix permission inspector crash - #53389

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
theanarkh:fix_permission_inspector_crash
Jun 10, 2024
Merged

src: fix permission inspector crash#53389
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
theanarkh:fix_permission_inspector_crash

Conversation

@theanarkh

Copy link
Copy Markdown
Contributor

Fixes: #53385

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol needs-ci PRs that need a full CI run. labels Jun 8, 2024
@theanarkh
theanarkhforce-pushed the fix_permission_inspector_crash branch from 9e5e24a to 7573b6bCompareJune 8, 2024 18:36
@cola119

Copy link
Copy Markdown
Member

cc @eugeneo

@cola119cola119 added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 9, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 9, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Comment threadtest/parallel/test-permission-inspector-brk.js Outdated
Comment threadtest/parallel/test-permission-inspector-brk.js Outdated
@eugeneo

eugeneo commented Jun 9, 2024 via email

Copy link
Copy Markdown
Contributor

@theanarkh

Copy link
Copy Markdown
ContributorAuthor

I will add permission check in node_contextify.cc to fix this(Node.js will run into EvaluateMachine of node_contextify.cc when setting --eval flag).

Comment threadtest/fixtures/permission/inspector-brk.js Outdated
@theanarkh
theanarkhforce-pushed the fix_permission_inspector_crash branch 4 times, most recently from 4a8cf55 to ac0f283CompareJune 9, 2024 17:59
@theanarkh
theanarkhforce-pushed the fix_permission_inspector_crash branch from ac0f283 to 5fee021CompareJune 9, 2024 18:00
@cola119cola119 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Jun 10, 2024
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 10, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@H4adH4ad added the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 10, 2024
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 10, 2024
@nodejs-github-bot
nodejs-github-bot merged commit 430c026 into nodejs:mainJun 10, 2024
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 430c026

targos pushed a commit that referenced this pull request Jun 20, 2024
PR-URL: #53389Fixes: #53385
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#53389Fixes: nodejs#53385
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
@targostargos mentioned this pull request Jun 25, 2024
@RafaelGSSRafaelGSS added the permission Issues and PRs related to the Permission Model label Jun 26, 2024
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53389Fixes: #53385
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
@marco-ippolitomarco-ippolito mentioned this pull request Jul 19, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.inspectorIssues and PRs related to the V8 inspector protocolneeds-ciPRs that need a full CI run.permissionIssues and PRs related to the Permission Model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation fault when using inspector on experimental permission enabled process

8 participants

@theanarkh@cola119@nodejs-github-bot@eugeneo@anonrig@MoLow@RafaelGSS@H4ad