-
Notifications
You must be signed in to change notification settings - Fork 242
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
Thread received signal SIGSEGV, Segmentation fault #19
Comments
Hi, I've never seen this error before, have you checked if you're receiving the same error when setting the 'mutithread_slam' flag to false? You can try using the last commit of pl-slam with the same version of Eigen as we're using (3.2.92)? Best |
Hi Lasse,
I've been working on other projects, and I'm sorry for not being helpful...
Thank you for your kindly update!
Lasse <notifications@github.com> 于2018年5月15日周二 下午4:47写道:
… Hi @LItwOK <https://github.com/LItwOK> ,
i fixed the problem with Cause 2 from the Eigen page
<https://eigen.tuxfamily.org/dox/group__TopicUnalignedArrayAssert.html>.
In one of the links there is a solution of a different way to create
vectors. The std::vector in it default form seems to align the memory
different.
Let me know if it helped you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AlK7wejxKdbNU59YwGKfNtuTRmxEDwtQks5typYLgaJpZM4T8s_c>
.
|
Hey, |
@LItwOK I had the same problem "pts_list.push_back( pts_ );" in mapFeature.cpp, resulting in Segmentation fault (core dumped). Only when I comment (//) this sentence can it run normally. Did you solve this problem? If yes, can you tell me how to solve it? |
Hi, I get it working by changing row 94 in mapFeature.h to the code below.
|
hi,have you run this code on KITTI datasets? I have encountered this problem on KITTI 02, and after modifying what you wrote it didn't work, do you have any suggestions? |
(Similar problems : #12 and #16 )
I've set everything OK(environment variable, dataset.yaml and config.yaml), and when I run the program, it got the segmentation fault at Frame6 (of EuRoC dataset V1_01_easy), in the addMapLineObservation function in mapFeatures.cpp(line:116) and process exited.
Debug and reproduce:
Value of Variable at the breakpoint:
The backtrace result:
Source codes:
This problem is driving me crazy because I don't understand how it make the process crash at push_back()... It doesn't make sense because there isn't any other thread reading from that vector, and the argument is right. And there aren't same problem with other vector members in the same class. If you have any idea how this occurs or how to solve it, please tell me. Thank you very much!
The text was updated successfully, but these errors were encountered: