Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sophus coredump #7

Closed
IsaacTay opened this issue Nov 6, 2023 · 5 comments
Closed

Sophus coredump #7

IsaacTay opened this issue Nov 6, 2023 · 5 comments

Comments

@IsaacTay
Copy link

IsaacTay commented Nov 6, 2023

I can't replicate it reliably, seems to happen at random after a period of time.

Error message:

Sophus ensure failed in function 'static Sophus::SO3<Scalar_> Sophus::SO3<Scalar_, Options>::expAndTheta(const Tangent&, Sophus::SO3<Scalar_, Options>::Scalar*) [with Scalar_ = float; int Options = 0; Sophus::SO3<Scalar_, Options>::Ta    ngent = Eigen::Matrix<float, 3, 1>; Sophus::SO3<Scalar_, Options>::Scalar = float]', file '/home/user/plvs/Thirdparty/Sophus/sophus/so3.hpp', line 614.
SO3::exp failed! omega: -nan -nan -nan, real: -nan, img: -nan
bash: line 1: 169876 Aborted                 (core dumped)
@luigifreda
Copy link
Owner

luigifreda commented Nov 7, 2023

Hi,
what are you running exactly? Binary, dataset, configuration file? Local changes?
Can you share your configuration and how you installed PLVS?

@IsaacTay
Copy link
Author

IsaacTay commented Nov 7, 2023

I'm currently running PLVS using RosDocker on noetic. Almost all configuration is the default, with a local opencv version of 4.8.0. I also have libpcl-conversions-dev installed to get Volumetric Mapping running.
I'm running a modified version of ./ros_xterm_d435, with Camera.type=pinhole added to get it to work.
CUDA version is 11.4 with CuDNN 8

@luigifreda
Copy link
Owner

luigifreda commented Nov 9, 2023

Hi,
can you please share the YAML configuration file you are using?
Did you test PLVS with or without lines, with our without dense mapping?

Run on the shell: ulimit -c unlimited
Then once a core is generated from the crashed app
you can run

gdb <application path> <core path>

(Ref: https://www.brendangregg.com/blog/2016-08-09/gdb-example-ncurses.html)

Could you please share the backtrace that gdb is reporting?

@luigifreda
Copy link
Owner

I found this issue may be related to the following ones depending on ORBSLAM3
https://github.com/UZ-SLAMLab/ORB_SLAM
UZ-SLAMLab/ORB_SLAM3#608
DavidPetkovsek/MORB_SLAM#17

luigifreda added a commit that referenced this issue Nov 12, 2023
@luigifreda
Copy link
Owner

Pushed a new commit related to this issue.
@IsaacTay let me know.

luigifreda added a commit that referenced this issue Nov 12, 2023
luigifreda added a commit that referenced this issue Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants