• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37588
77%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2023 01:18PM UTC
Jobs 1
Files 348
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#37588

push

local

web-flow
Fix memory corruption if task is launched inside finalizer (#50597)

In #48919, the tid selection logic inside `enq_task` gained a
`!GC.in_finalizer()` condition. However, this made it possible for
`workqueue_at` to be reached with `tid==0`, which would attempt and
out-of-bounds write under `@inbounds`, corrupting memory. This was not
caught in the test suite despite `--check-bounds=yes`, because our
`--check-bounds=yes` is currently best effort. That would be fixed by
#50239, which exposed this bug. This PR attempts to
fix this by marking any tasks launched inside a finalizer as not sticky.
Finalizers don't have any thread they run on
semantically, so i don't think there's a meaningful sense in which tasks
launched inside finalizers could be sticky.

8 of 8 new or added lines in 1 file covered. (100.0%)

74137 of 84530 relevant lines covered (87.7%)

22187542.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.1
-0.1% base/task.jl

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.98
-0.07% base/compiler/ssair/ir.jl
1
86.06
-0.19% base/compiler/typelimits.jl
1
79.84
-0.21% stdlib/FileWatching/src/FileWatching.jl
1
91.42
34.33% stdlib/Random/src/generation.jl
1
91.82
-0.2% stdlib/REPL/src/docview.jl
1
94.33
10.06% stdlib/Test/src/Test.jl
2
62.5
-1.56% base/Base.jl
3
88.17
-3.13% stdlib/LinearAlgebra/src/factorization.jl
3
88.26
-0.42% stdlib/Profile/src/Profile.jl
4
87.43
-0.13% base/compiler/abstractinterpretation.jl
6
91.09
-5.94% base/secretbuffer.jl
6
83.93
-1.97% stdlib/LibGit2/src/LibGit2.jl
10
48.89
0.54% base/compiler/abstractlattice.jl
12
80.6
0.15% base/compiler/inferenceresult.jl
16
78.11
-6.04% stdlib/LibGit2/src/types.jl
20
94.81
0.3% base/range.jl
41
94.44
-0.06% base/compiler/ssair/inlining.jl
44
23.08
-17.81% stdlib/LibGit2/src/callbacks.jl
60
46.23
0.18% base/util.jl
62
84.09
0.06% base/compiler/ssair/passes.jl
Jobs
ID Job ID Ran Files Coverage
1 #37588.1 20 Jul 2023 01:18PM UTC 348
87.7
Source Files on build #37588
  • Tree
  • List 348
  • Changed 283
  • Source Changed 0
  • Coverage Changed 283
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bd8350b3 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc