isl-org / isl-org/Open3D

non-blocking VisualizerWithEditing segmentation fault

Open
#4,378 0 comments 0 reactions 0 assignees View on GitHub
callback legacy (Open3D 0.x API) visualization
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

Possibly, related to this:
https://github.com/isl-org/Open3D/issues/1605

**Describe the bug**
Getting random segemntation faults when using VisualizerWithEditing in a non-blocking way.

**To Reproduce**
```
auto v = std::make_shared();
v->CreateVisualizerWindow();
v->AddGeometry(somePointCloud);

for (int i = 0; i < 10000; i++) {
v->UpdateGeometry();
if (!v->PollEvents())
{
break;
}
v->UpdateRender();
}

v->Close();
```

**Expected behavior**
No crashes

**Environment (please complete the following information):**

- Operating system: arch linux
- Python version: 3.9.9
- Open3D version: 0.14.1
- Is this remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc 11.1.0

**Additional context**
I'm trying to get picked points in non-blocking way

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.