VREP 3.1.1 Mac Crash

Report crashes, strange behaviour, or apparent bugs
Post Reply
pfudal

VREP 3.1.1 Mac Crash

Post by pfudal »

Hi,

I'm trying to use my plugin with the current VREP version (3.1.1) on Mac. It seems simLoadScene (which calls simLoadScene_internal ?) crashes, even if the scene path is valid. I try with older versions of VREP and everything was ok.

My plugin is a sort of remote API especially made for my experiments. The problem occurs in this short example code:

Code: Select all

char * scene = simCreateBuffer(SIM_BUFFER_SIZE);
try{
	int ret = -1;
	toProcess->readNextString(scene, SIM_BUFFER_SIZE);
	if(strcmp(scene, DEFAULT_READ_NEXT_STRING) != 0)
		ret = simLoadScene(scene);
	toAnswer->appendInt(ret);
}catch(const std::string& e){
	handleException(e, toAnswer);
}
simReleaseBuffer(scene);
Any ideas ?

Cheers.

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

Re: VREP 3.1.1 Mac Crash

Post by coppelia »

Hello Paul,

you are right, there is indeed a problem there (as also from this thread). Basically there is a bug in V-REP that some GPU drivers forgive, but others (e.g. yours, not). This will be fixed for next release (V3.1.2, scheduled for June 10th-20th 2014). Thanks for mentioning this,

Cheers

pfudal

Re: VREP 3.1.1 Mac Crash

Post by pfudal »

You're welcome.

I will wait for the next release !

Paul

Post Reply