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

segmentation fault in running uwsim

asked 2014-10-06 03:15:57 -0500

Mind_hunter gravatar image

updated 2014-10-07 01:39:45 -0500

ahendrix gravatar image

Earlier uwsim was running well. Now it is showing segmentation error for last 3-4 days ..

[ INFO] [1412582441.771043565]: GPSSensor publisher on topic g500/gps
[ INFO] [1412582441.771251203]: DVLSensor publisher on topic g500/dvl
[ INFO] [1412582441.771457584]: VirtualCameraToROSImage publisher on topic /uwsim/rangecamera_info
[ INFO] [1412582441.771843388]: RangeSensorToROSRange publisher on topic /uwsim/g500/range
[ INFO] [1412582441.838518974]: SimDev_Echo_ROSPublisher on topic g500/echo2
[ INFO] [1412582441.839045438]:  MultibeamSensorToROS publisher on topic g500/multibeam
[ INFO] [1412582441.839233172]: SimDev_Echo_ROSPublisher on topic g500/echo1
[ INFO] [1412582441.839349458]: ForceSensor_ROSPublisher on topic g500/ForceSensor
[ INFO] [1412582441.844583501]: ForceSensor_ROSPublisher Waiting for physics to be initialized
[ INFO] [1412582442.844989907]: ForceSensor_ROSPublisher Waiting for physics to be initialized
[ INFO] [1412582443.845381929]: ForceSensor_ROSPublisher Waiting for physics to be initialized
[ INFO] [1412582444.845571687]: ForceSensor_ROSPublisher Waiting for physics to be initialized
[ INFO] [1412582445.845772760]: ForceSensor_ROSPublisher Waiting for physics to be initialized
[ INFO] [1412582446.846130836]: ForceSensor_ROSPublisher Waiting for physics to be initialized
/opt/ros/hydro/lib/uwsim/uwsim: line 23:  6185 Segmentation fault      (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@
edit retag flag offensive close merge delete

Comments

I think we need more information in order to help you. Have you tried running it with --disableShaders ?, Issue started after an update of kernel / drivers ?, if the crash is at starting uwsim, it usually means a graphics/driver problem.

Javier Perez gravatar image Javier Perez  ( 2014-10-06 09:26:08 -0500 )edit

I tried with --disableShaders but it didnt work. I did not update kernel but i think i updated drivers. Is that the reason?Actually i reinstalled xserver-xorg and then reconfigured it .. Also i upgraded the packages.

Mind_hunter gravatar image Mind_hunter  ( 2014-10-07 01:28:07 -0500 )edit
1

It seems the crash happens at window initialization, and if it started with a xserver reinstall I would say it is a drivers issue. Make sure you have 3d support and check your graphic drivers are working as they should.

Javier Perez gravatar image Javier Perez  ( 2014-10-07 03:06:32 -0500 )edit

Ok now it is working . i have reinstalled xserver-xorg and now it is working fine..Thanks a lot

Mind_hunter gravatar image Mind_hunter  ( 2014-10-07 06:59:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-07 02:59:52 -0500

ahendrix gravatar image

Have you tried a sudo apt-get dist-upgrade ?

edit flag offensive delete link more

Comments

no . i only used sudo apt-get upgrade

Mind_hunter gravatar image Mind_hunter  ( 2014-10-07 05:02:01 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-10-06 03:15:57 -0500

Seen: 272 times

Last updated: Oct 07 '14