Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: disable abseil deadlock detection #57582

Merged
merged 2 commits into from
Apr 2, 2025

Conversation

legendecas
Copy link
Member

@legendecas legendecas commented Mar 21, 2025

Abseil deadlock detection is reporting false positives in tests in V8.
Abseil mutexes are not used in node core, so disable it for now.

Refs: nodejs/node-v8#301

Abseil deadlock detection is reporting false positives in tests.
Disable it for now.
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/startup

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Mar 21, 2025
@imronsman

This comment was marked as off-topic.

Copy link

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.22%. Comparing base (8b2098f) to head (8193761).
Report is 33 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #57582      +/-   ##
==========================================
- Coverage   90.22%   90.22%   -0.01%     
==========================================
  Files         630      630              
  Lines      185045   185055      +10     
  Branches    36243    36247       +4     
==========================================
+ Hits       166961   166963       +2     
- Misses      11034    11037       +3     
- Partials     7050     7055       +5     
Files with missing lines Coverage Δ
src/node.cc 73.55% <100.00%> (+0.03%) ⬆️

... and 36 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@targos
Copy link
Member

targos commented Mar 21, 2025

Windows build error:

 abseil.lib(per_thread_sem.obj) : error LNK2019: unresolved external symbol "public: __cdecl absl::synchronization_internal::Win32Waiter::Win32Waiter(void)" (??0Win32Waiter@synchronization_internal@absl@@QEAA@XZ) referenced in function AbslInternalPerThreadSemInit [D:\a\node\node\node_mksnapshot.vcxproj]
abseil.lib(per_thread_sem.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl absl::synchronization_internal::Win32Waiter::Wait(class absl::synchronization_internal::KernelTimeout)" (?Wait@Win32Waiter@synchronization_internal@absl@@QEAA_NVKernelTimeout@23@@Z) referenced in function AbslInternalPerThreadSemWait [D:\a\node\node\node_mksnapshot.vcxproj]
abseil.lib(per_thread_sem.obj) : error LNK2019: unresolved external symbol "public: void __cdecl absl::synchronization_internal::Win32Waiter::Post(void)" (?Post@Win32Waiter@synchronization_internal@absl@@QEAAXXZ) referenced in function AbslInternalPerThreadSemPost [D:\a\node\node\node_mksnapshot.vcxproj]
abseil.lib(per_thread_sem.obj) : error LNK2019: unresolved external symbol "public: void __cdecl absl::synchronization_internal::Win32Waiter::Poke(void)" (?Poke@Win32Waiter@synchronization_internal@absl@@QEAAXXZ) referenced in function "public: static void __cdecl absl::synchronization_internal::PerThreadSem::Tick(struct absl::base_internal::ThreadIdentity *)" (?Tick@PerThreadSem@synchronization_internal@absl@@SAXPEAUThreadIdentity@base_internal@3@@Z) [D:\a\node\node\node_mksnapshot.vcxproj]
out\Release\node_mksnapshot.exe : fatal error LNK1120: 4 unresolved externals [D:\a\node\node\node_mksnapshot.vcxproj]

Looks like we need this change from 3d1fe71#diff-7ec0a6942f03ad6ff24215a31b1b45a378ee21b2cba5f79937281c5f5528d2bf

image

@targos targos added request-ci Add this label to start a Jenkins CI on a PR. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Apr 1, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 1, 2025
@nodejs-github-bot
Copy link
Collaborator

@targos targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 2, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 2, 2025
@nodejs-github-bot nodejs-github-bot merged commit 78af51c into nodejs:main Apr 2, 2025
63 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 78af51c

@legendecas legendecas deleted the abseil-deadlock branch April 2, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. c++ Issues and PRs that require attention from people who are familiar with C++. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants