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

"LeakSanitizer has encountered a fatal error." #1043

Closed
veprbl opened this issue Oct 3, 2023 · 2 comments · Fixed by #1048
Closed

"LeakSanitizer has encountered a fatal error." #1043

veprbl opened this issue Oct 3, 2023 · 2 comments · Fixed by #1048

Comments

@veprbl
Copy link
Member

veprbl commented Oct 3, 2023

Environment: (where does this bug occur, have you tried other environments)

  • On CI

Steps to reproduce: (give a step by step account of how to trigger the bug)

sometimes fails by itself, and always in eicrecon-gun

Expected Result: (what do you expect when you execute the steps above)

tests pass

Actual Result: (what do you get when you execute the steps above)

https://github.com/eic/EICrecon/actions/runs/6396687029/job/17363523322?pr=1042#step:6:2220

[INFO] Closing Event Source for sim_e_1GeV_20GeV_craterlake.edm4hep.root
Tracer caught signal 11: addr=0x2c48 pc=0x55ea3eb1903a sp=0x7f945ce44d40
==548==LeakSanitizer has encountered a fatal error.
==548==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==548==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
@wdconinc
Copy link
Contributor

wdconinc commented Oct 3, 2023

I've been annoyed by these too, but haven't been able to narrow down or reproduce. Seems to happen most often with clang builds of EICrecon and electron gun on craterlake, as in this case. We could disable fail-fast to verify that observation.

@wdconinc
Copy link
Contributor

wdconinc commented Oct 3, 2023

Also, the Internet claims the suggestion of verbosity and log_threads doesn't give any info.

@wdconinc wdconinc linked a pull request Oct 4, 2023 that will close this issue
7 tasks
github-merge-queue bot pushed a commit that referenced this issue Oct 5, 2023
### Briefly, what does this PR introduce?
Potentially resolves this, per
google/sanitizers#1322...

### What kind of change does this PR introduce?
- [x] Bug fix (issue #1043)
- [ ] New feature (issue #__)
- [ ] Documentation update
- [ ] Other: __

### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [ ] Changes have been communicated to collaborators

### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.

### Does this PR change default behavior?
No.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants