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

Hang on Mu2eEventDisplay constructor #184

Open
brownd1978 opened this issue Nov 26, 2024 · 0 comments
Open

Hang on Mu2eEventDisplay constructor #184

brownd1978 opened this issue Nov 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@brownd1978
Copy link
Contributor

Mu2eEventDisplay can hang on construction, apparently due to a race condition between several threads. I've noticed this under various situations, rarely reproducible. A typical traceback in debug is:
#0 0x00007ffff768679a in __futex_abstimed_wait_common () from /lib64/libc.so.6
#1 0x00007ffff7688fa0 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libc.so.6
#2 0x00007ffff2b465d6 in mu2e::Mu2eEventDisplay::beginJob (this=0x2ba6f50) at
Mu2eEventDisplay/src/Mu2eEventDisplay_module.cc:284
0x00007ffff768679a in __futex_abstimed_wait_common () from /lib64/libc.so.6

The line is:
284 cv_.wait(lock);

@sophiemiddleton sophiemiddleton self-assigned this Nov 27, 2024
@brownd1978 brownd1978 added the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants