-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Investigate leaks of data allocated in _Unwind_Find_FDE
in ClangReplInterpreterExceptionTests
.
#67586
Comments
@llvm/issue-subscribers-orcjit
Raised in discussion on https://reviews.llvm.org/D159167.
Example failed build: https://lab.llvm.org/buildbot/#/builders/5/builds/36614
The change in behavior was caused by ca8d253, which added Config for build:
Log output from failed test:
|
I wonder whether this is a leak in libgcc_s, or whether the JIT is just not deallocating the registered frames when it shuts down? @vitalybuka If the leak is showing up in |
Lsan is link time feature, it just replaces malloc, and the scan stack, heap, globals, registers for references to blocks which are not free. So it will detected _Unwind_Find_FDE leaks as well. |
Disabling LSan for this test until we can track down the leak described in #67586.
This is a bug in GCC 13.0 that was fixed in GCC 13.2 |
@zero9178 That saves us a lot of debugging -- thank you very much! I'll update the FIXME to say that we should re-enable Lsan once we can assume GCC 13.2 or higher. |
Disabling LSan for this test until we can track down the leak described in llvm#67586.
This re-applies e1a5bb5, which was reverted in e5f169f due to LSan failures on some bots (see llvm#67586). The LSan failures were not caused by this patch (just exposed by it), so LSan was disabled for the failing test in 47625fe. This should be safe to re-land now.
Raised in discussion on https://reviews.llvm.org/D159167.
Example failed build: https://lab.llvm.org/buildbot/#/builders/5/builds/36614
The change in behavior was caused by ca8d253, which added
export_executable_symbols
toClangReplInterpreterExceptionTests
, but this just caused the test to start running instead of being skipped -- it is not the root cause.Config for build:
Log output from failed test:
The text was updated successfully, but these errors were encountered: