[Jderobot] rbgdViewer

vnieto victornietolobo en gmail.com
Jue Ene 30 19:25:32 CET 2014


Hola,
yo también estoy probando este componente y tengo el mismo problema, al
presionar el boton de "Camera Depth" o "Images cnv" el proceso se cierra
dando un error de violación de segmento (`core ' generado). Lo unico que he
modificado del fichero de configuración del componente respecto al del
repositorio es:
 
rgbdViewer.CameraRGB.Proxy=cameraRGB:tcp -h localhost -p 9998
rgbdViewer.CameraDEPTH.Proxy=cameraDepth:tcp -h localhost -p 9998
rgbdViewer.pointCloud.Proxy=pointcloud1:tcp -h localhost -p 9998
rgbdViewer.Pose3DMotors.Proxy=Pose3DMotors1:tcp -h 193.147.14.20 -p 9998
rgbdViewer.KinectLeds.Proxy=kinectleds1:tcp -h 193.147.14.20 -p 9998
rgbdViewer.WorldFile=./config/lambecom.cfg

Al lanzarlo con valgrind y pulsar el boton de "Camera Depth", parte de la
traza que aparece es:

/==4800==  Address 0xcbaf270 is 16 bytes before a block of size 65,536
alloc'd
==4800==    at 0x402C420: memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4800==    by 0x402C4DE: posix_memalign (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==4800==    by 0x12F4A2DA: _mesa_align_malloc (in
/usr/lib/i386-linux-gnu/dri/libdricore.so)
==4800==    by 0x12FD6F71: vbo_exec_vtx_init (in
/usr/lib/i386-linux-gnu/dri/libdricore.so)
==4800==    by 0x12FC9BEB: vbo_exec_init (in
/usr/lib/i386-linux-gnu/dri/libdricore.so)
==4800==    by 0x12FC98DE: _vbo_CreateContext (in
/usr/lib/i386-linux-gnu/dri/libdricore.so)
==4800==    by 0x12E0401B: intelInitContext (in
/usr/lib/i386-linux-gnu/dri/i965_dri.so)
==4800==    by 0x12E1E1AC: brwCreateContext (in
/usr/lib/i386-linux-gnu/dri/i965_dri.so)
==4800==    by 0x12E0DC27: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==4800==    by 0xA19C4BF: ???
==4800== 
==4800== Jump to the invalid address stated on the next line
==4800==    at 0x0: ???
==4800==    by 0x806E749: rgbdViewer::DrawArea::my_expose_event() (in
/home/victor/JDERobot5/trunk/src/stable/components/rgbdViewer/rgbdViewer)
==4800==    by 0x8076FEE: rgbdViewer::rgbdViewergui::updateAll(cv::Mat,
cv::Mat, std::vector<jderobot::RGBPoint,
std::allocator&lt;jderobot::RGBPoint> >) (in
/home/victor/JDERobot5/trunk/src/stable/components/rgbdViewer/rgbdViewer)
==4800==    by 0x8069070: gui_thread(void*) (in
/home/victor/JDERobot5/trunk/src/stable/components/rgbdViewer/rgbdViewer)
==4800==    by 0x4061D4B: start_thread (pthread_create.c:308)
==4800==    by 0x6D17BAD: clone (clone.S:130)
==4800==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==4800== 
==4800== 
==4800== Process terminating with default action of signal 11 (SIGSEGV)
==4800==  Bad permissions for mapped region at address 0x0
==4800==    at 0x0: ???
==4800==    by 0x806E749: rgbdViewer::DrawArea::my_expose_event() (in
/home/victor/JDERobot5/trunk/src/stable/components/rgbdViewer/rgbdViewer)
==4800==    by 0x8076FEE: rgbdViewer::rgbdViewergui::updateAll(cv::Mat,
cv::Mat, std::vector<jderobot::RGBPoint,
std::allocator&lt;jderobot::RGBPoint> >) (in
/home/victor/JDERobot5/trunk/src/stable/components/rgbdViewer/rgbdViewer)
==4800==    by 0x8069070: gui_thread(void*) (in
/home/victor/JDERobot5/trunk/src/stable/components/rgbdViewer/rgbdViewer)
==4800==    by 0x4061D4B: start_thread (pthread_create.c:308)
==4800==    by 0x6D17BAD: clone (clone.S:130)
==4800== 
==4800== HEAP SUMMARY:
==4800==     in use at exit: 44,078,939 bytes in 30,132 blocks
==4800==   total heap usage: 97,820 allocs, 67,688 frees, 1,067,116,535
bytes allocated
==4800== 
==4800== LEAK SUMMARY:
==4800==    definitely lost: 50,614 bytes in 122 blocks
==4800==    indirectly lost: 625,528 bytes in 1,031 blocks
==4800==      possibly lost: 20,923,137 bytes in 18,897 blocks
==4800==    still reachable: 22,479,660 bytes in 10,082 blocks
==4800==         suppressed: 0 bytes in 0 blocks
==4800== Rerun with --leak-check=full to see details of leaked memory
==4800== 
==4800== For counts of detected and suppressed errors, rerun with: -v
==4800== Use --track-origins=yes to see where uninitialised values come from
==4800== ERROR SUMMARY: 548 errors from 73 contexts (suppressed: 0 from 0)
Terminado (killed)/

¿Con que puede estar relacionado el error?

Saludos!




--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/rbgdViewer-tp4642002p4642080.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list