Skip to content

non-blocking VisualizerWithEditing segmentation fault #4378

@luntik2012

Description

@luntik2012

Possibly, related to this:
#1605

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

To Reproduce

auto v = std::make_shared<open3d::visualization::VisualizerWithEditing>();
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions