RTABMAP Database Viewer crashes during 3D map export or view

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RTABMAP Database Viewer crashes during 3D map export or view

SamJ
Hi,

I noticed that rtabmap-databaseViewer crashes when I try to view or export 3D map.

Does anyone know what is causing it and how to resolve it? Thanks.

This is the output in terminal I get:

[ WARN] (2018-07-13 18:30:28.906) Parameters.cpp:840::readINI() Section "Core" in /home/doxub/.rtabmap/rtabmap.ini doesn't exist... Ignore this warning if the ini file does not exist yet. The ini file will be automatically created when rtabmap will close.
[ INFO] (2018-07-13 18:30:28.921) DBDriverSqlite3.cpp:350::connectDatabaseQuery() Using database "rtabmap.db" from the hard drive.
[ INFO] (2018-07-13 18:30:28.924) DBDriverSqlite3.cpp:389::connectDatabaseQuery() Database version = 0.17.1
[ WARN] (2018-07-13 18:30:28.933) DatabaseViewer.cpp:768::openDatabase() Parameter "Grid/FromDepth": database="false" Preferences="true"
[ WARN] (2018-07-13 18:30:28.934) DatabaseViewer.cpp:768::openDatabase() Parameter "Grid/MaxObstacleHeight": database="1.0" Preferences="0.0"
[ WARN] (2018-07-13 18:30:28.935) DatabaseViewer.cpp:768::openDatabase() Parameter "Grid/RangeMax": database="0" Preferences="5.0"
[ WARN] (2018-07-13 18:30:28.936) DatabaseViewer.cpp:768::openDatabase() Parameter "GridGlobal/Eroded": database="0" Preferences="false"
[ WARN] (2018-07-13 18:30:28.936) DatabaseViewer.cpp:768::openDatabase() Parameter "Icp/CorrespondenceRatio": database="0.5" Preferences="0.1"
[ WARN] (2018-07-13 18:30:28.939) DatabaseViewer.cpp:768::openDatabase() Parameter "Reg/Force3DoF": database="true" Preferences="false"
[ WARN] (2018-07-13 18:30:28.939) DatabaseViewer.cpp:768::openDatabase() Parameter "Reg/Strategy": database="1" Preferences="0"
[ WARN] (2018-07-13 18:30:28.940) DatabaseViewer.cpp:768::openDatabase() Parameter "Vis/InlierDistance": database="0.05" Preferences="0.1"
[ WARN] (2018-07-13 18:30:28.940) DatabaseViewer.cpp:768::openDatabase() Parameter "Vis/MaxDepth": database="4.0" Preferences="0"
[ WARN] (2018-07-13 18:30:28.940) DatabaseViewer.cpp:768::openDatabase() Parameter "Vis/MinInliers": database="5" Preferences="20"
[ INFO] (2018-07-13 18:30:31.068) DatabaseViewer.cpp:1459::updateIds() Loading all IDs...
[ INFO] (2018-07-13 18:30:31.862) DatabaseViewer.cpp:1665::updateIds() Loaded 561 ids, 561 poses and 402 links
[ INFO] (2018-07-13 18:30:31.862) DatabaseViewer.cpp:1673::updateIds() Update database info...
[ INFO] (2018-07-13 18:31:04.599) DatabaseViewer.cpp:5569::updateGraphView() Get connected graph from 1 (561 poses, 402 links)
[ INFO] (2018-07-13 18:31:04.601) DatabaseViewer.cpp:5593::updateGraphView() Connected graph of 263 poses and 402 links
[ INFO] (2018-07-13 18:31:04.605) OptimizerG2O.cpp:535::optimize() g2o optimizing begin (max iterations=20, robust=0)
[ INFO] (2018-07-13 18:31:04.700) OptimizerG2O.cpp:636::optimize() g2o optimizing end (20 iterations done, error=13,820717, time = 0,095016 s)
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP Database Viewer crashes during 3D map export or view

matlabbe
Administrator
Can you set the logger in Debug mode? View->GUI parameters->Logger level.

Is it a rtabmap-databaseViewer built from source or binaries?