Skip to content

Conversation

@jasnell
Copy link
Member

The asan checks don't play well currently with persistent secure
heap allocations.

Signed-off-by: James M Snell [email protected]

Refs: #36881

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Jan 12, 2021
@jasnelljasnell added fast-track PRs that do not need to wait for 48 hours to land. request-ci Add this label to start a Jenkins CI on a PR. and removed test Issues and PRs related to the tests. labels Jan 12, 2021
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 12, 2021
@nodejs-github-bot
Copy link
Collaborator

@danielleadamsdanielleadams mentioned this pull request Jan 12, 2021
@aduh95
Copy link
Contributor

fast-track?

@nodejs-github-bot
Copy link
Collaborator

@jasnell
Copy link
MemberAuthor

Just waiting on the last CI run to finish then will land this...

@jasnell
Copy link
MemberAuthor

Landed in eef75a957c38

@aduh95
Copy link
Contributor

There is no commit eef75a957c38 on master..

@aduh95aduh95 reopened this Jan 12, 2021
The asan checks don't play well currently with persistent secure heap allocations. Signed-off-by: James M Snell <[email protected]> PR-URL: nodejs#36900 Refs: nodejs#36881 Reviewed-By: Danielle Adams <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
@aduh95aduh95force-pushed the disable-secure-heap-test-for-asan branch from 3460b40 to 6e3a832CompareJanuary 12, 2021 22:52
@aduh95
Copy link
Contributor

Landed in 6e3a832

@aduh95aduh95 merged commit 6e3a832 into nodejs:masterJan 12, 2021
danielleadams pushed a commit that referenced this pull request Jan 13, 2021
The asan checks don't play well currently with persistent secure heap allocations. Signed-off-by: James M Snell <[email protected]> PR-URL: #36900 Refs: #36881 Reviewed-By: Danielle Adams <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
@addaleax
Copy link
Member

Okay, but shouldn't there be at least a TODO comment for actually fixing this memory leak? It doesn't look like there's a call to CRYPTO_secure_malloc_done anywhere in the code.

@jasnell
Copy link
MemberAuthor

Forgot the todo but adding the CRYPTO_secure_malloc_done alone does not appear to resolve the issue. See https://github.com/nodejs/node/pull/36976/checks?check_run_id=1717392479. I'm still tracking down exactly what the issue is but there appears to be something internally with openssl not freeing the dbrg properly when secure heap is used. Still investigating.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@jasnell@nodejs-github-bot@aduh95@addaleax@panva@lpinca@richardlau@danielleadams@targos