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

JuliaLang / julia / #37588 / 1
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2023 01:18PM UTC
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

19 Jul 2023 07:36PM UTC coverage: 87.705% (+0.6%) from 87.064%
#37588.1

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.

74137 of 84530 relevant lines covered (87.7%)

22187542.31 hits per line

Source Files on job #37588.1
  • Tree
  • List 0
  • Changed 283
  • Source Changed 0
  • Coverage Changed 283
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 37588
  • bd8350b3 on github
  • Prev Job for on master (##37587.1)
  • Next Job for on master (##37589.1)
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