Skip to content

Scoped values segfault in StyledStrings.jl CI #52672

@tecosaur

Description

@tecosaur

The StyledStrings.jl CI has started failing (ref: https://github.com/JuliaLang/StyledStrings.jl/actions/runs/7347912158/job/20039095028), with a segfault that seems to come from scoped values (julia nightly).

[1866] signal 11 (1): Segmentation fault
in expression starting at /home/runner/work/StyledStrings.jl/StyledStrings.jl/src/precompile.jl:39
get at ./scopedvalues.jl:112 [inlined]
getindex at ./scopedvalues.jl:128 [inlined]
mergedface at /home/runner/work/StyledStrings.jl/StyledStrings.jl/src/faces.jl:495
MappingRF at ./reduce.jl:100 [inlined]

I am unable to reproduce this error locally, but re-running CI this error persists.

Taking a peek at the lines involved, Core.current_scope() seems like the likely source of the segfault, but I don't know this part of the code base well enough to say more. I'm guessing this could have arisen in some of the scoped values optimisations that have been happening recently?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions