[Jderobot] Error de linkado con libJderobotInterfaces.so
Eduardo Perdices
eperdices en gsyc.es
Vie Ene 24 12:13:13 CET 2014
Hola,
hace tiempo que no me pegaba con los interfaces de Jderobot. Para poder
compilar con los interfaces necesito hacer el linkado contra la librer�a
libJderobotInterfaces.so, sin embargo en cuanto pongo esa librer�a en el
cmake, aunque hace bien el linkado al ejecutar la aplicaci�n hay un
fallo de segmentaci�n.
No se si os sonar� este error, os pongo la traza del gdb aunque no creo
que valga para mucho:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff666fccb in _M_lower_bound (__y=0x7a3130, __k=...,
__x=0x81c840, this=<optimized out>) at
/usr/include/c++/4.6/bits/stl_tree.h:1089
warning: Source file is more recent than executable.
1089 while (__x != 0)
(gdb) bt
#0 0x00007ffff666fccb in _M_lower_bound (__y=0x7a3130, __k=...,
__x=0x81c840, this=<optimized out>) at
/usr/include/c++/4.6/bits/stl_tree.h:1089
#1 find (__k=..., this=0x7a3128) at
/usr/include/c++/4.6/bits/stl_tree.h:1536
#2 find (__x=..., this=0x7a3128) at /usr/include/c++/4.6/bits/stl_map.h:742
#3 IceInternal::FactoryTable::addObjectFactory (this=0x7a30d0, t=...,
f=...) at FactoryTable.cpp:96
#4 0x00007fffe78a6bd7 in
__F__jderobot__Pose3DData__Init::__F__jderobot__Pose3DData__Init() ()
from /usr/local/lib/jderobot/libJderobotInterfaces.so
#5 0x00007fffe78a5cbd in __static_initialization_and_destruction_0 ()
from /usr/local/lib/jderobot/libJderobotInterfaces.so
#6 0x00007fffe78a6082 in _GLOBAL__sub_I_pose3d.cpp () from
/usr/local/lib/jderobot/libJderobotInterfaces.so
#7 0x00007ffff7de99c6 in call_init (env=0x7fffffffe220,
argv=0x7fffffffe208, argc=2, l=<optimized out>) at dl-init.c:84
#8 call_init (l=<optimized out>, argc=2, argv=0x7fffffffe208,
env=0x7fffffffe220) at dl-init.c:34
#9 0x00007ffff7de9aaa in _dl_init (main_map=0x7ffff7ffe1e8, argc=2,
argv=0x7fffffffe208, env=0x7fffffffe220) at dl-init.c:133
#10 0x00007ffff7ddc53a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
Saludos.
More information about the Jde-developers
mailing list