Ask Your Question

segmentation fault on running UWSim

asked 2012-04-15 23:40:21 -0500

michaelowenliu gravatar image

updated 2012-04-16 01:39:21 -0500

Eric Perko gravatar image

UWSim; using osgOcean 1.0.1 Building scene... . Loading cubemaps: 0.340616s . Generating ocean surface: 0.000218s . Creating ocean scene: 0.000686s . Setting up lighting: 1.3e-05s . Setting localized world: 0.0001s Complete. Time Taken: 0.34181s Loading URDF robot... · GIRONA500/g500_March11.osg: 4.52215s · ARM5E/ARM5E_part0.osg: 0.128019s · ARM5E/ARM5E_part1.osg: 0.124858s · ARM5E/ARM5E_part2.osg: 0.208291s · ARM5E/ARM5E_part3.osg: 0.754475s · ARM5E/ARM5E_part4_base.osg: 0.669661s · ARM5E/ARM5E_part4_jaw1.osg: 0.10166s · ARM5E/ARM5E_part4_jaw2.osg: 0.097404s · Linking links...Robot successfully loaded. Total time: 0.017174s 6.62416s Segmentation fault

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-04-16 22:08:51 -0500

Mario Prats gravatar image

Just run

rosrun UWSim UWSim --disableShaders

Currently, full support for shaders is possible on ATI and NVidia cards. It's possible that your integrated card doesn't support all the shaders required for UWSim. Then you have to run without shaders support, which means you will not see many of the visualization effects like silt, god rays, etc. However, all the functionality should be still there.

Please let me know if that works for you

edit flag offensive delete link more


It does work! Thank you very much!

michaelowenliu gravatar image michaelowenliu  ( 2012-04-20 19:04:11 -0500 )edit

answered 2012-04-16 05:50:02 -0500

Mario Prats gravatar image

updated 2012-04-16 07:10:03 -0500

Hi, what graphics card do you have? Could you please try with the --disableShaders option?

edit flag offensive delete link more


FYI: I didn't actually ask the question, just added a tag to it :-). @michaelowenliu actually asked the question.

Eric Perko gravatar image Eric Perko  ( 2012-04-16 06:57:20 -0500 )edit

Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

michaelowenliu gravatar image michaelowenliu  ( 2012-04-16 16:26:03 -0500 )edit

What is the disableShaders option, and how to do with it

michaelowenliu gravatar image michaelowenliu  ( 2012-04-16 16:28:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-04-15 23:40:21 -0500

Seen: 587 times

Last updated: Apr 16 '12