Page 1 of 1
Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 24 Nov 2013, 16:07
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 24 Nov 2013, 23:15
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 08 Jan 2014, 12:15
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 11:46
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 14:44
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 14:48
by SeveQ
I can confirm insofar that the system I encountered the crash on also has an AMD/ATI video card (Radeon Mobility)
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 14:50
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 15:38
by ruzze
Hi,
i have tried your fix but problem still remains.
Marco
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 15:46
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
Re: Crash in 3.0.5c 64bit (Linux) with vision sensor
Posted: 09 Jan 2014, 17:10
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