Skip to content

PCLVisualizer::close() crash, and interactor_->SetDone(true) works #5556

Open
@huanglilong

Description

interactor_->TerminateApp ();

i'm writing same feature with PCLVisualizer with delay close, just like opencv waitKey() function, and i find when call pcl::visualization::PCLVisualizer::close () will crash in interactor_->TerminateApp (); and i also tried interactor_->ExitCallback (); and crash too. butinteractor_->SetDone(true);works.

example code:
crash in viewer_ptr_->close();
image

crash info:
[1] 209646 segmentation fault (core dumped) ./build/test_lidar_extract_plane_main --pcd_dir --debug=true

debug info:
interactor_ type: 26vtkXRenderWindowInteractor

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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