-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
AddressSanitizer: heap-use-after-free ./src/julia.h:1235:13 in jl_is_array_type(void*) #42498
Comments
This failure seems to be non-deterministic. The |
We should probably bump |
It looks like |
It currently is supposed to only generate concrete types (since we're going make a stack-allocation of it, and we add a tag to the output to mark it as such), but looks like it might currently easily generate some invalid Tuple tags (e.g. with Type{T} instead of DataType, or with Any)? |
@maleadt or @tkf Can you make a PR to make those changes to the Buildkite ASAN job? |
Do we have some memory requirement-based scheduling or a max memory cap on the buildkite runner? In the worst case scenario, would it be OOM'ed and the CI server can recover? I was bit worried if it can accidentally break the CI pipeline. If it's a bit dangerous to try it out on the CI pipeline, I can check the memory conception and the build time on an identical machine. |
Currently, I don't believe that the Buildkite agents have any memory caps. @staticfloat I guess in that case, maybe we should keep the current restrictions on |
So I tried removing fast_unwind_on_malloc and malloc_context_size tkf@9e541a2 and checked the memory usage with It looks like the peak usage is about 5G, which is no problem in the CI machines. |
Fixed by #44724 |
Issue noted in #42498. This should be the same as Core.Compiler.tuple_tfunc. Otherwise we might accidentally constant-fold something like: code_llvm((x...) -> x isa Tuple{Type{Tuple{Any}},Int}, (Type{Tuple{Any}}, Int)) to return true. This is rarely a compile-sig in practice, so it does not usually affect code, but is observable there in the IR.
Issue noted in #42498. This should be the same as Core.Compiler.tuple_tfunc. Otherwise we might accidentally constant-fold something like: code_llvm((x...) -> x isa Tuple{Type{Tuple{Any}},Int}, (Type{Tuple{Any}}, Int)) to return true. This is rarely a compile-sig in practice, so it does not usually affect code, but is observable there in the IR.
Issue noted in #42498. This should be the same as Core.Compiler.tuple_tfunc. Otherwise we might accidentally constant-fold something like: code_llvm((x...) -> x isa Tuple{Type{Tuple{Any}},Int}, (Type{Tuple{Any}}, Int)) to return true. This is rarely a compile-sig in practice, so it does not usually affect code, but is observable there in the IR.
Seen in the
asan
job in CI. The full CI log is here.The text was updated successfully, but these errors were encountered: