[Jderobot] rbgdViewer

franciscomiguel.rivas en urjc.es franciscomiguel.rivas en urjc.es
Vie Ene 31 19:30:10 CET 2014


Buenas,
lo he estado mirando y revisando y no encuentro nada, a mi me va  
perfecto. Lo habré lanzado como 100 veces y no he conseguido  
reproducir el error.

La única configuración que tiene este componente a parte de los  
proxies es el tamaño de las imágenes, tal y como está en fichero de  
configuración de demostración que está en el repo.

creo que estáis utilizando el plug-in de gazebo, ¿verdad? comprobad  
que el tamaño de las imágenes están bien configuradas el .cfg. En el  
fichero del repo están a 320x240.


un saludo,
Fran.


"redouane kachach" <redo.robot en gmail.com> escribió:

> *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,
>
>
> Tiene pinta de que se esta machando la pila (el valor de retorno de quien
> ha llamado) en el metodo: my_expose_event ... intenta meter un beak-point
> justo en este metodo y vigilar la pila para ver quien la esta machando ..
>
> Saludos,
> Redo.
>
>
>
> On Thu, Jan 30, 2014 at 7:25 PM, vnieto <victornietolobo en gmail.com> wrote:
>
>> 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.
>> _______________________________________________
>> Jde-developers mailing list
>> Jde-developers en gsyc.es
>> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>
>



------------------------------------------------------------------
Linkedin: linkedin.com/in/fmrivas

Laboratorio de Análisis del Movimiento, Biomecánica, Ergonomía y  
Control Motor (LAMBECOM).
Departamento de Fisioterapia, Terapia Ocupacional, Rehabilitación y  
Medicina Física.
Universidad Rey Juan Carlos (URJC).


More information about the Jde-developers mailing list