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

broadinstitute / catch / 422
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v1.5.1
DEFAULT BRANCH: master
Ran 28 Oct 2022 10:54PM UTC
Jobs 2
Files 67
Run time 31s
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
422

push

travis-ci-com

haydenm
Fix crash on macOS with Python 3.8 and above

Starting with Python 3.8, CATCH crashes on macOS. It is caused by a
behavioral change between Python 3.7 and 3.8, in which multiprocessing
in Python 3.8 on macOS switched to spawn processes rather than fork
them. Apparently forking processes in macOS can cause crashes, but CATCH
with older versions of Python has not experienced those issues.

Parts of CATCH --- especially, the pools in the `probe` module --- are
written to follow the fork behavior, where child processes inherit
memory from their parent. When spawning processes, those child processes
do not inherit memory, and CATCH crashes because the global variables
are not accessible by the child processes.

This commit introduces a quick fix: telling the multiprocessing module
to fork processes by default, rather than spawn them.

1648 of 1898 branches covered (86.83%)

5723 of 6070 relevant lines covered (94.28%)

1.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 422.1 28 Oct 2022 10:55PM UTC 0
94.28
Travis Job 422.1
2 422.2 28 Oct 2022 10:54PM UTC 0
94.28
Travis Job 422.2
Source Files on build 422
  • Tree
  • List 67
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Build #422
  • 2a548e82 on github
  • Prev Build on fix-macos (#420)
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

© 2025 Coveralls, Inc