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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

terminate called after throwing an instance of 'std::bad_alloc' #33

Open
dbdxnuliba opened this issue Jul 7, 2020 · 3 comments
Open

Comments

@dbdxnuliba
Copy link

when I running
roslaunch surfel_fusion vins_realsense.launch

and mapping 3d map
after a time while,
the terminal shows 馃憤

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[surfel_fusion-1] process has died [pid 24384, exit code -6, cmd /home/dell/denseSurfel_vino_supptorted_src/devel/lib/surfel_fusion/surfel_fusion ~image:=/camera/color/image_raw ~depth:=/cam

@dbdxnuliba
Copy link
Author

image
this is the caputer

@WANG-KX
Copy link
Member

WANG-KX commented Jul 17, 2020

Sorry, cannot help you debug this error without more information.

@zeroAska
Copy link

zeroAska commented Sep 22, 2022

I have run into the same error. Have you figured it out?

Thread 1 "surfel_fusion" received signal SIGSEGV, Segmentation fault.
SurfelMap::pose_ros2eigen (pose=..., T=..., this=0x7ffd7bf5b6a0) at ~/catkin_ws/src/DenseSurfelMapping/surfel_fusion/src/surfel_map.cpp:373
373         rotation_q.y() = pose.orientation.y;
(gdb) l
368     {
369         T = Eigen::Matrix4d::Identity();
370         Eigen::Quaterniond rotation_q;
371         rotation_q.w() = pose.orientation.w;
372         rotation_q.x() = pose.orientation.x;
373         rotation_q.y() = pose.orientation.y;
374         rotation_q.z() = pose.orientation.z;
375         T.block<3,3>(0,0) = rotation_q.toRotationMatrix();
376         T(0,3) = pose.position.x;
377         T(1,3) = pose.position.y;

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

3 participants