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

Segmentation fault #14

Open
where2go947 opened this issue Oct 23, 2022 · 0 comments
Open

Segmentation fault #14

where2go947 opened this issue Oct 23, 2022 · 0 comments

Comments

@where2go947
Copy link

Hello, thanks for your work on docker to ORB_SLAM3.
I have followed your instruction and build container CPU version
But when I run a test example as

docker exec -it orbslam3 bash

and run Mono (from ORB_SLAM3)

./Examples/Monocular/mono_euroc ./Vocabulary/ORBvoc.txt ./Examples/Monocular/EuRoC.yaml ~/Datasets/EuRoc/MH01 ./Examples/Monocular/EuRoC_TimeStamps/MH01.txt dataset-MH01_mono

Error occured as:

num_seq = 1
file name: dataset-MH01_mono
Loading images for sequence 0...LOADED!

-------

ORB-SLAM3 Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
ORB-SLAM2 Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.

Input sensor was set to: Monocular

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Creation of new map with id: 0
Creation of new map with last KF id: 0
Seq. Name: 

Camera Parameters: 
- Camera: Pinhole
- fx: 458.65399169921875
- fy: 457.29598999023438
- cx: 367.21499633789062
- cy: 248.375
- k1: -0.28340810537338257
- k2: 0.073959067463874817
- p1: 0.00019359000725671649
- p2: 1.7618711353861727e-05
- fps: 20
- color order: RGB (ignored if grayscale)

ORB Extractor Parameters: 
- Number of Features: 1000
- Scale Levels: 8
- Scale Factor: 1.2000000476837158
- Initial Fast Threshold: 20
- Minimum Fast Threshold: 7

Failed to load image at: /root/Datasets/EuRoc/MH01/mav0/cam0/data/1403636579763555584.png
./Examples/Monocular/mono_euroc: symbol lookup error: /usr/lib/x86_64-linux-gnu/libGLX_indirect.so.0: undefined symbol: xcb_glx_query_version_reply

I have checked the Datasets path, and found that EuRoC in download_dataset_sample.sh but EuRoc in ORB_SLAM3.
Maybe you could fix it.

After changing the dir to EuRoc, another error occured:

Failed to load image at: /root/Datasets/EuRoc/MH01/mav0/cam0/data/1403636579763555584.png
Segmentation fault (core dumped)

It seems that the permission to read file has been denied? Why this happened?
I have created the docker group and added user to the group. And container can be run without root.

Could you please give me some help? Thanks!

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

1 participant