llnl / llnl/zfp

Segmentation fault on Mac M1

Open
#187 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
885
Forks
181
PR merge metrics
No merged PRs in 30d

Description

I tried multiple times to install via pip, or conda. Pip gives some missing dll library error, so then I discovered this thread on wheels so I gave a go with conda: https://github.com/LLNL/zfp/issues/175.
The installation goes flawless, but then importing the package crashes with segmentation fault:

```py
$ ipython
Python 3.10.6 | packaged by conda-forge | (main, Aug 22 2022, 20:38:29) [Clang 13.0.1 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.5.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import zfpy
[1] 3650 segmentation fault ipython
```

Details of my system:

```
$ arch
arm64
$ system_profiler SPSoftwareDataType
Software:

System Software Overview:

System Version: macOS 12.6 (21G115)
Kernel Version: Darwin 21.6.0
Boot Volume: Macintosh HD
Boot Mode: Normal
```

I used a clean conda environment for that, just jupyter notebook and numpy installed really.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the `import zfpy` crash in the clean conda environment described, using the reported arm64 macOS setup. Compare the pip and conda installation paths and inspect the zfpy import entry point. Done means importing zfpy no longer causes a segmentation fault on Mac M1.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.