Skip to content

[Bug]: SIGILL / Illegal instruction on import zvec in Ubuntu 24 (Proxmox/KVM VM), also reproduces on Fedora (x86_64) #162

@cpu-16

Description

@cpu-16

Description

Reproducible SIGILL / Illegal instruction on import (import zvec) in Linux x86_64 VM (Proxmox/KVM)

I can reproduce an Illegal instruction (core dumped) crash during import, before any query/print.

What happened

zvec installs successfully with pip, but importing it immediately crashes with:

Illegal instruction (core dumped)

### Steps to Reproduce

```python
1. Create a fresh Python environment (tested with both `venv` and `conda`)
2. Install Zvec:
   
   python -m pip install "zvec==0.1.1"
   python -m pip install "zvec==0.2.0"
python -c "import zvec; print('OK import zvec')"
Illegal instruction (core dumped)

Logs / Stack Trace

Operating System

Ubuntu 24.04 (Proxmox/KVM VM) x86_64; also reproduced on Fedora x86_64

Build & Runtime Environment

Python 3.11 (conda) and Python 3.12 (venv); zvec 0.1.1 and 0.2.0 (pip wheels, manylinux x86_64); Proxmox/KVM VM on x86_64 host; CPU has AVX2 but no AVX512BW

Additional Context

  • I've checked git status — no uncommitted submodule changes
  • I built with CMAKE_BUILD_TYPE=Debug
  • This occurs with or without COVERAGE=ON
  • The issue involves Python ↔ C++ integration (pybind11)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions