Crash in 3.0.5c 64bit (Linux) with vision sensor

Report crashes, strange behaviour, or apparent bugs
Post Reply
SeveQ
Posts: 34
Joined: 25 Jul 2013, 20:46

Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by SeveQ »

Hi folks,

I've got another weird crash that happens when I try to start my scene after I added a vision sensor. It's just that. I start my scene, it works, I stop it, add a vision sensor, start it again and V-REP crashes with a segmentation fault.

You can clone the scene from our GitLab instance for investigation purposes if you need it:

Code: Select all

git clone http://rchh.org:81/software/otter4_vrep_scene.git
Thanks for your help

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by coppelia »

Hello,

We tested two of your scenes (11/17 and 10/27), and both run fine on Windows. Under Linux however 11/17 can lead to a seg fault, but this is not a direct consequence of the vision sensor (i.e. simulation continues running for a while, before crashing). Can you narrow the problem down (e.g. by simplifying your scene to a maximum), in order to make sure your code is ok?

Debugging V-REP with a complex scene can become a difficult challenge sometimes ;)

Cheers

ruzze
Posts: 3
Joined: 08 Jan 2014, 12:08

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by ruzze »

Hello,

i have the same problem. If you try to add a vision sensor into an empty scene, V-REP crashes with a segmentation fault.

Thanks,
Marco

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by coppelia »

Hello Marco,

can you tell us what Linux you are running?
In any case, there will soon be a new V-REP release (V3.1.0) that has a heavily modified base architecture, hopefully that will be more stable.

Cheers

ruzze
Posts: 3
Joined: 08 Jan 2014, 12:08

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by ruzze »

Hello,

I'm using Ubuntu 12.04 LTS. I have found the problem. If you have a ATI Video Card, your system crashes.
I have tested my vrep scene with a NVIDIA card and all works.

Thanks,
Marco

SeveQ
Posts: 34
Joined: 25 Jul 2013, 20:46

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by SeveQ »

I can confirm insofar that the system I encountered the crash on also has an AMD/ATI video card (Radeon Mobility)

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by coppelia »

Marco,

can you try following with your ATI card:

in system/usrset.txt, change the value of useGlFinish (and maybe also vsync):

Code: Select all

useGlFinish = false
debugOpenGL = true
Thanks

ruzze
Posts: 3
Joined: 08 Jan 2014, 12:08

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by ruzze »

Hi,

i have tried your fix but problem still remains.

Marco

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by coppelia »

what is the console output just before the crash?

Did you try to update the ATI driver? I suspect that it is very probably linked to a bug in the ATI driver.

Cheers

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Crash in 3.0.5c 64bit (Linux) with vision sensor

Post by coppelia »

While we are at it, could you try to modify variable offscreenContextType too, to see if that makes a difference?

In next release (V-REP 3.1.0, by the end of Jan. 2014), there will be the possibility to adjust another related variable: fboType

Cheers

Post Reply