Skip to content

Commit

Permalink
Refine GC-related segfaults. (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Jan 8, 2024
1 parent 350999e commit 8f0ec13
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 @@ -414,6 +414,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 8f0ec13

Please sign in to comment.