Skip to content

Commit

Permalink
Refine GC-related segfaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Jan 8, 2024
1 parent 43c9618 commit 91fcbd8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/evaluate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,12 @@ function evaluate_test(config::Configuration, pkg::Package; use_cache::Bool=true
reason = :segfault
end
end
## some crashes can be refined by looking at the log
if status === :crash
if reason == :segfault && occursin(r"\b(jl_|ijl_|_jl_|)gc_", log)
reason = :gc_corruption
end
end
## in other cases we look at the log to determine a failure reason
if status === :fail
log *= "PkgEval failed"
Expand Down

0 comments on commit 91fcbd8

Please sign in to comment.