Error followed by a crash (segmentation fault) with GUI "selection" tab with LineSet object #6498
Closed
3 tasks done
Labels
bug
Not a build issue, this is likely a bug.
Checklist
master
branch).Describe the issue
I'm using c++ devel
If there exists an
open3d::geometry::LineSet
object, GUI fromopen3d::visualization::Draw()
would crash upon selection of Actions -> show settings -> Mouse control (drop down) -> Selection (tab).Upon inspections with GDB, there are two part of this issue. The first one is a log error at cpp/open3d/visualization/gui/PickPointsInteractor.cpp:85. And the second actual segmentation fault is a memory-related crash during destructor. The traceback of second crash is attached.
Steps to reproduce the bug
In C++:
Crash immediately
Error message
[Open3D Error] (void open3d::visualization::gui::SelectionIndexLookup::Add(const string&, size_t)) /root/Open3D/cpp/open3d/visualization/gui/PickPointsInteractor.cpp:85: start_index 25142 must be larger than all previously added objects 25142.
[Open3D INFO] Memory Statistics: (Device) (#Malloc) (#Free)
[Open3D INFO] ---------------------------------------------
[Open3D WARNING] CPU:0: 62 58 --> 4 with 19768 total bytes
[Open3D WARNING] 0x5653a5dbd750 @ 2288 bytes
[Open3D WARNING] 0x5653a5ffd4a0 @ 2288 bytes
[Open3D WARNING] 0x5653a6529b30 @ 8328 bytes
[Open3D WARNING] 0x5653a652bbc0 @ 6864 bytes
[Open3D INFO] ---------------------------------------------
Segmentation fault (core dumped)
Expected behavior
Not crash.
Open3D, Python and System information
Additional information
20231120_open3d_crash_traceback.txt
The text was updated successfully, but these errors were encountered: