Segfault subscribing the camera interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Segfault subscribing the camera interface

valentino
Hi
I'm using Gazebo svn 8612 with Player 3.0.1, Ogre 1.7.0 on ubuntu 9.10 64
bit version. All run well until, using playerv, I subscribe the camera
interface causing a segfault in gazebo. This is the output of gazebo debug
"gdb gazebo" after subscribing of the camera interface in Playerv

Gazebo successfully initialized
[New Thread 0x7fffe51b7910 (LWP 11321)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe51b7910 (LWP 11321)]
0x00007ffff49fedf8 in gazebo::OgreCamera::GetVFOV() const () from
/usr/local/lib/libgazebo_rendering.so
(gdb)


the problem seems caused by GetVFOV() function in Generic_Camera.cc line
131, but I am not able to solve it

This is a piece of the world file:

<model:physical name="pioneer2dx_model1">
    <xyz>0 0 0.145</xyz>
    <rpy>0.0 0.0 0.0</rpy>
    <model:physical name="sonyvid30_model">
      <xyz>0.15 0 0.09</xyz>
      <attach>
        <parentBody>chassis_body</parentBody>
        <myBody>sonyvid30_body</myBody>
      </attach>
      <include embedded="true">
        <xi:include href="models/sonyvid30.model" />
      </include>
    </model:physical>
    <include embedded="true">
      <xi:include href="models/pioneer2dx.model" />
    </include>
  </model:physical>

and here there is a piece of config file of player:

driver
(
  name "gazebo"
  provides ["simulation:0"]
  plugin "libgazeboplugin"
  server_id "default"
)

driver
(
  name "gazebo"
  provides ["position2d:0"]
  gz_id "pioneer2dx_model1::position_iface_0"
)

driver
 (
   name "gazebo"
   provides ["camera:0"]
   gz_id "pioneer2dx_model1::sonyvid30_model::camera_iface_0"
 )


Same problems appear on 2 notebooks (one with ati video card and one with
nvidia)
any advise ?

Thanks in advance
------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo