write_point_cloud segfaults unconditionally (SIGSEGV) on aarch64 Linux under Docker Desktop for Mac (Apple Silicon virtualization)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- build-system, computer-vision, operating-systems
Direzione di ricerca
Inizia con il riproduttore Python minimo incentrato su o3d.io.write_point_cloud e confronta la wheel nativa linux/arm64 con il caso linux/amd64 funzionante. Ispeziona le dipendenze native della wheel aarch64 e il comportamento del dispatch della CPU, inclusa l’ipotesi sul TBB incluso; il lavoro è completato quando le scritture su ARM64 non causano più un segfault e hanno successo oppure sollevano un’eccezione Python.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
o3d.io.write_point_cloud() segfaults (SIGSEGV) on every call, unconditionally, when running the official manylinux_2_31_aarch64 wheel inside a Docker container on Docker Desktop for Mac (Apple Silicon). This reproduces with pure synthetic data — no real files, no concurrency, no other load.
Writing crashes; reading/constructing geometry does not. Everything up to the write call runs fine.
Environment
- Open3D version: 0.18.0 (pip)
- OS: Debian GNU/Linux 13 (trixie), inside a
python:3.11-slimbase image - Python: 3.11.15
- Container platform:
linux/arm64(native — no explicit emulation requested) - Host: macOS 26.5.2, Apple Silicon (arm64)
- Docker: Docker Desktop, server version 29.6.1
- Install method:
pip install open3dinside the container (resolves to the aarch64 wheel)
To Reproduce
Minimal script, no external files or data needed:
import open3d as o3d
import numpy as np
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(np.random.rand(10, 3).astype(np.float32))
o3d.io.write_point_cloud("/tmp/tiny.ply", pcd) # segfaults here
print("this line is never reached")
Run inside a container on Docker Desktop for Mac with default (native ARM64) platform:
docker run --rm python:3.11-slim bash -c "
pip install -q open3d numpy
python3 -c \"
import open3d as o3d, numpy as np
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(np.random.rand(10,3).astype(np.float32))
o3d.io.write_point_cloud('/tmp/tiny.ply', pcd)
print('OK')
\"
"
Result: process exits with code 139 (SIGSEGV), no Python traceback, no stderr output beyond an unrelated onnxruntime-style cpuinfo warning we see elsewhere in the same environment (not from open3d itself, but suggests CPU-feature-detection may be unreliable in this virtualized ARM64 environment generally).
Expected behavior
write_point_cloud should either succeed or raise a Python exception — not crash the interpreter with an unhandled signal.
What I've isolated so far
- Reproduces with both
write_ascii=Trueand the binary default — format is not the differentiator. - Reproduces with as few as 10 points and with real ~27k-point clouds from an actual pipeline.
- Reproduces with a single process, zero concurrency, writing to both a plain container filesystem path (
/tmp) and a bind-mounted host volume — so it isn't specific to any particular filesystem/mount type. - Does not reproduce under
--platform linux/amd64(x86_64, run via Rosetta 2 emulation on the same Mac) — same script, same container base image, only the platform flag changed, andpip installthen resolves a different (x86_64) wheel that works correctly. This strongly suggests the bug is specific to the aarch64 wheel's native code (possibly in the bundled TBB, given a CPU-vendor-detection warning we see elsewhere in the same environment from an unrelated library using thecpuinfoproject — worth checking if Open3D's aarch64 build links a similar CPU-dispatch mechanism).
Workaround
Forcing platform: linux/amd64 (x86_64 emulation via Rosetta 2) in the container config avoids the bug entirely, at the cost of running the whole container under CPU emulation instead of natively.
- Lingua principale
- C++
- Stelle
- 14.3k
- Fork
- 2.7k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di isl-org/Open3D
-
Add explicit list of supported format in io documentationForse già presa @SKSavale l’ha presa 60 giorni fa. Apertafeature request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
feature request
Difficoltà 1/5 1-3 ore Idoneità per principianti 76/100
-
Getting Started page gives incorrect link to development wheelsForse già presa @SatvikMishra08 l’ha presa 59 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Window(title, width, height, flags) ignores the flags argumentForse già presa @Wahaj18 l’ha presa 56 giorni fa. Apertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
compute_fpfh_feature stub incorrectly requires the optional indices argumentForse già presa @huxiaoyi-ovo l’ha presa 60 giorni fa. Apertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
Tutte le issue di isl-org/Open3D
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jaff-chemistry/jaff#231 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
ColumnDecimal::Append(Int128) stores a value outside the Decimal(P, S) range with no error: cut to 32/64 bits, or with too many digitsForse già presa @RUSHIT305 l’ha presa oggi. Apertabug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ClickHouse/clickhouse-cpp#645 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation enhancement help wanted P0
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#359 ·
I maintainer di solito rispondono entro 1 giorno
-
DXF import: INSERT ignores the BLOCK base pointForse già presa @Kevinzhou03 l’ha presa oggi. ApertaType: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
openscad/openscad#7360 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno