ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Segfault on roslaunch rgbdslam - PCL 1.7 related

asked 2014-06-29 07:09:03 -0500

TSC gravatar image

updated 2014-06-29 07:40:19 -0500

I'm trying to run rgbdslam (v2 with proper adaptations) in Ubuntu 13.10, with ROS Indigo and PCL 1.7. Getting gdb running to bt the reason why the launch crashes, I get the following log:

Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/nuno/AIMAVProject_hydro_ws/devel/lib/rgbdslam/rgbdslam...(no debugging symbols found)...done.
Starting program: /home/nuno/AIMAVProject_hydro_ws/devel/lib/rgbdslam/rgbdslam __name:=rgbdslam __log:=/home/nuno/.ros/log/243e0bb4-ff85-11e3-ac9d-0090f5eb9422/rgbdslam-2.log
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffd3b3c700 (LWP 4859)]
[New Thread 0x7fffd333b700 (LWP 4860)]
[New Thread 0x7fffd2b3a700 (LWP 4861)]
[New Thread 0x7fffd2339700 (LWP 4862)]
[New Thread 0x7fffd1b38700 (LWP 4863)]
[New Thread 0x7fffd1337700 (LWP 4864)]
[New Thread 0x7fffd0b36700 (LWP 4865)]
[New Thread 0x7fffd0335700 (LWP 4866)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff75defa0 in boost::math::lanczos::lanczos_initializer<boost::math::lanczos::lanczos17m64, long double>::init::init() ()
   from /usr/local/lib/libpcl_io.so.1.7
(gdb) bt
#0  0x00007ffff75defa0 in boost::math::lanczos::lanczos_initializer<boost::math::lanczos::lanczos17m64, long double>::init::init() ()
   from /usr/local/lib/libpcl_io.so.1.7
#1  0x00007ffff75595f9 in _GLOBAL__sub_I_hdl_grabber.cpp ()
   from /usr/local/lib/libpcl_io.so.1.7
#2  0x00007ffff7de9856 in call_init (l=l@entry=0x7ffff7fbd4e8, 
    argc=argc@entry=3, argv=argv@entry=0x7fffffffd968, 
    env=env@entry=0x7fffffffd988) at dl-init.c:84
#3  0x00007ffff7de9910 in call_init (env=<optimized out>, 
    argv=<optimized out>, argc=<optimized out>, l=0x7ffff7fbd4e8)
    at dl-init.c:55
#4  _dl_init (main_map=0x7ffff7ffe268, argc=3, argv=0x7fffffffd968, 
    env=0x7fffffffd988) at dl-init.c:133
#5  0x00007ffff7ddb66a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#6  0x0000000000000003 in ?? ()
#7  0x00007fffffffdd42 in ?? ()
#8  0x00007fffffffdd7f in ?? ()
#9  0x00007fffffffdd90 in ?? ()
#10 0x0000000000000000 in ?? ()
(gdb) continue
Continuing.
[Thread 0x7fffd1337700 (LWP 4864) exited]
[Thread 0x7fffd0335700 (LWP 4866) exited]
[Thread 0x7fffd333b700 (LWP 4860) exited]
[Thread 0x7ffff7f5fac0 (LWP 4854) exited]
[Thread 0x7fffd0b36700 (LWP 4865) exited]
[Thread 0x7fffd1b38700 (LWP 4863) exited]
[Thread 0x7fffd2b3a700 (LWP 4861) exited]
[Thread 0x7fffd3b3c700 (LWP 4859) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Any tips on how to resolve this? Thanks in advance

edit retag flag offensive close merge delete

Comments

I have the same thing, with libpcl.

olzhas gravatar image olzhas  ( 2015-03-07 07:32:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-15 03:25:21 -0500

Frank Engelhardt gravatar image

Using libpcl-1.7.1 works for me.

I have downloaded and installed it from source: https://github.com/PointCloudLibrary/...

In rgbdslam's CMakeLists.txt change

find_package(PCL 1.7 REQUIRED COMPONENTS common io)

to

find_package(PCL 1.7.1 EXACT REQUIRED COMPONENTS common io)
edit flag offensive delete link more

Comments

are you running it on ubuntu 14.04 and indigo ? could you post a little step-by-step list how you done it ?

thanks

inflo gravatar image inflo  ( 2015-04-21 10:56:39 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-06-29 07:09:03 -0500

Seen: 776 times

Last updated: Jun 29 '14