Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nhdaly/threadingutils.jl
https://github.com/nhdaly/threadingutils.jl
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nhdaly/threadingutils.jl
- Owner: NHDaly
- Created: 2023-05-10T23:23:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-10T23:23:34.000Z (over 1 year ago)
- Last Synced: 2024-11-30T04:05:45.783Z (about 2 months ago)
- Language: Julia
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproducer for Julia GC Corruption / Segfault bug
This small reproducer workload, a package called ThreadingUtils, seems to be enough to
reliably reproduce a memory corruption in Julia, leading to a segfault or a GC Corruption.See the julia issue for more info.
The error can be reproduced like this:
```bash
~/src/julia/julia --project=. -E 'using Pkg; for _ in 1:100; Pkg.test("ThreadingUtils", julia_args=["-t4,1", "--gcthreads=1"]); end'
```
which seems to fail in around 1/30 runs for me on macOS.Or like this:
```julia
julia> using ReTestItems; for _ in 1:100; ReTestItems.runtests("packages/ThreadingUtils/test", name="@spawn_interactive_periodic_task"); end
```
which runs a bit faster, and also seems to fail in around 1/10 - 1/30 runs.