question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CI issues: OSX agents occasionally crashing with `1 leaked semaphore`

See original GitHub issue

I’ve seen a pretty substantial increase in flakiness of osx agents recently, which fail during what usually seems to be the artefact analysis step (after the main build has run through).

The most memorable (if perhaps irrelevant things) I remembered from those failures that they often mentioned 1 leaked semaphore.

Below is another example that now showed up in arrow CI:

/usr/local/miniconda/etc/profile.d/conda.sh: line 9: 18881 Segmentation fault: 11  "$CONDA_EXE" $_CE_M $_CE_CONDA "$@"
/usr/local/miniconda/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown

Is someone aware of this already and/or know what this could be caused by?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
wolfvcommented, Nov 1, 2022

There is a new version of lief that came out today (0.12.3) that might fix a couple of segfaults. I’ve tried to reproduce segfaults (unsuccesfully): https://github.com/lief-project/LIEF/issues/814

1reaction
Tobias-Fischercommented, Sep 7, 2022

Yeah - we are manually pinning liblief in some feedstocks by adding this to the conda-forge.yml and rerendering:

remote_ci_setup:
   - liblief=0.11.5
   - conda-forge-ci-setup=3

See https://github.com/conda-forge/qt-main-feedstock/pull/43/commits/1c9f19a56d19b4e414dc89811da5e8519d064eff

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - how can I fix "1 leaked semaphore objects to clean up ...
It's a resource leak and it's unlikely that you can cause it by your Python code. Extract a minimal reproducible example and file...
Read more >
Applications crashing after opening - Apple Community
I just randomly started having issues yesterday and today with my macbook. Mid 2012 model that was bought new in 2014.
Read more >
Random crashes while launching or working in Fusion 360
Issue : Fusion 360 randomly and repeatedly crashes while launching or working in various workspaces, for example:.
Read more >
What to do when if your Mac is crashing - YouTube
In this video, I will explain why your Mac keeps crashing and how to fix it.Download CleanMyMac X to fix common Mac ......
Read more >
Why is your Late 2013-2015 A1398 MacBook Pro randomly ...
We offer MacBook Mail In Repair to the entire United States! ... Why is your Late 2013-2015 A1398 MacBook Pro randomly crashing ?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found