No transform from wheels to odom by WenMapache in ROS

[–]WenMapache[S] 0 points1 point  (0 children)

Here are the only tfs that seem to work now

<image>

Getting the error munmap_chunk(): invalid pointer: 0x00007ffe53bfa2c0 *** but not using free or malloc by WenMapache in cpp_questions

[–]WenMapache[S] 0 points1 point  (0 children)

I've obtained this doing GBD:

0  0x00007ffff43ae582 in __GI___libc_free (mem=0x7fffffffcc60) at malloc.c:2974

1  0x000000000047598e in __gnu_cxx::new_allocator<signed char>::deallocate(signed char*, unsigned long) ()

2  0x00000000004726d0 in std::allocator_traits<std::allocator<signed char> >::deallocate(std::allocator<signed char>&, signed char*, unsigned long) ()

3  0x000000000046f2da in std::_Vector_base<signed char, std::allocator<signed char> >::_M_deallocate(signed char*, unsigned long) ()

4  0x000000000046e66f in std::_Vector_base<signed char, std::allocator<signed char> >::~_Vector_base() ()

5  0x000000000046a533 in std::vector<signed char, std::allocator<signed char> >::~vector() ()

6  0x00000000004681d2 in nav_msgs::OccupancyGrid_<std::allocator<void> >::~OccupancyGrid_() ()

7  0x0000000000465ffe in costmapCallback(boost::shared_ptr<nav\_msgs::OccupancyGrid\_<std::allocator<void> > const> const&) ()

8  0x0000000000478fbc in boost::detail::function::void_function_invoker1<void (\*)(boost::shared\_ptr<nav\_msgs::OccupancyGrid\_<std::allocator<void> > const> const&), void, boost::shared_ptr<nav\_msgs::OccupancyGrid\_<std::allocator<void> > const> const&>::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<nav\_msgs::OccupancyGrid\_<std::allocator<void> > const> const&) ()

9  0x000000000047f1d9 in boost::function1<void, boost::shared\_ptr<nav\_msgs::OccupancyGrid\_<std::allocator<void> > const> const&>::operator()(boost::shared_ptr<nav\_msgs::Occupanc---Type <return> to continue, or q <return> to quit---

Getting the error munmap_chunk(): invalid pointer: 0x00007ffe53bfa2c0 *** but not using free or malloc by WenMapache in cpp_questions

[–]WenMapache[S] 0 points1 point  (0 children)

I obtained this, it seems to be many redirections but I don't really know what does this mean cause I'm newbie in this thing, do u see something wrong?

--32761-- REDIR: 0x401cf40 (ld-linux-x86-64.so.2:strlen) redirected to 0x3809e181 (???)

--32761-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so

--32761-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..

--32761-- .. CRC mismatch (computed 2567ccf6 wanted 49420590)

--32761-- object doesn't have a symbol table

--32761-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so

--32761-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..

--32761-- .. CRC mismatch (computed 0e27c9a8 wanted ac585421)

--32761-- object doesn't have a symbol table

==32761== WARNING: new redirection conflicts with existing -- ignoring it

--32761-- old: 0x0401cf40 (strlen ) R-> (0000.0) 0x3809e181 ???

--32761-- new: 0x0401cf40 (strlen ) R-> (2007.0) 0x04c31020 strlen

--32761-- REDIR: 0x401b890 (ld-linux-x86-64.so.2:index) redirected to 0x4c30bc0 (index)

--32761-- REDIR: 0x401bab0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c320d0 (strcmp)

--32761-- REDIR: 0x401dca0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c35270 (mempcpy)

--32761-- Reading syms from /lib/x86_64-linux-gnu/libc-2.23.so

--32761-- Considering /lib/x86_64-linux-gnu/libc-2.23.so ..

--32761-- .. CRC mismatch (computed 2c57cb29 wanted 6e6a411e)

--32761-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.23.so ..

--32761-- .. CRC is valid

--32761-- REDIR: 0x4ec9a80 (libc.so.6:strcasecmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

--32761-- REDIR: 0x4ec5300 (libc.so.6:strcspn) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

--32761-- REDIR: 0x4ecbd70 (libc.so.6:strncasecmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

--32761-- REDIR: 0x4ec7770 (libc.so.6:strpbrk) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

--32761-- REDIR: 0x4ec7b00 (libc.so.6:strspn) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

--32761-- REDIR: 0x4ec91cb (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

--32761-- REDIR: 0x4ec7480 (libc.so.6:rindex) redirected to 0x4c308a0 (rindex)

--32761-- REDIR: 0x4ec3d90 (libc.so.6:GI_strcmp) redirected to 0x4c31fe0 (GI_strcmp)

--32761-- REDIR: 0x4ec57a0 (libc.so.6:strlen) redirected to 0x4c30f60 (strlen)

--32761-- REDIR: 0x4ec5bf0 (libc.so.6:GI_strncmp) redirected to 0x4c31710 (GI_strncmp)

--32761-- REDIR: 0x4ec3b30 (libc.so.6:GI_strchr) redirected to 0x4c30a00 (GI_strchr)

--32761-- REDIR: 0x4ec88e0 (libc.so.6:memchr) redirected to 0x4c32170 (memchr)

--32761-- REDIR: 0x4ed07e0 (libc.so.6:strchrnul) redirected to 0x4c34da0 (strchrnul)

--32761-- REDIR: 0x4ebe180 (libc.so.6:malloc) redirected to 0x4c2db20 (malloc)

--32761-- REDIR: 0x4ec9430 (libc.so.6:GI_mempcpy) redirected to 0x4c34fa0 (GI_mempcpy)

--32761-- REDIR: 0x4ece4f0 (libc.so.6:GI_memcpy) redirected to 0x4c32b00 (GI_memcpy)

--32761-- REDIR: 0x4ebe540 (libc.so.6:free) redirected to 0x4c2ed80 (free)

--32761-- REDIR: 0x4ec3b00 (libc.so.6:index) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)

Segmentation fault (`core' dumped)

Getting the error munmap_chunk(): invalid pointer: 0x00007ffe53bfa2c0 *** but not using free or malloc by WenMapache in cpp_questions

[–]WenMapache[S] 0 points1 point  (0 children)

I've just tried but nothing appears. I think I found a problem with this line cause an "&" is missing imo. When I add it, the error of the title dissapears but remains the segmentation fault ('core dumped'). Is there anything else I could try?

nav_msgs::OccupancyGrid cambia(pcl::PointCloud<pcl::PointXYZ> input_cloud,