Skip to content

[Bug]: Illegal instruction when importing zvec on x86_64 Linux (WSL2) - crashes before any query/print #148

@Mohammed-Tabiza

Description

@Mohammed-Tabiza

Description

Summary

import zvec crashes the Python process with Fatal Python error: Illegal instruction.
Because of this, demo code never reaches print(results).

Minimal reproduction

uv run python -X faulthandler - <<'PY'
import zvec
print("ok")
PY


### Steps to Reproduce

```python
uv run python -X faulthandler - <<'PY'
import zvec
print("ok")
PY

Logs / Stack Trace

## Minimal reproduction


uv run python -X faulthandler - <<'PY'
import zvec
print("ok")
PY

Operating System

x86_64 Linux (WSL2)

Build & Runtime Environment

Python 3.10, Python 3.12, Python 3.14

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