problems running V-REP on macOS Sierra

Report crashes, strange behaviour, or apparent bugs
Montana
Posts: 3
Joined: 15 Oct 2016, 16:56

problems running V-REP on macOS Sierra

Post by Montana »

Hi,

I've been trying to use v-rep 3.3.2 on a MacBook Pro with macOS Sierra but it constantly crashes regardless the scene. To verify wether my computer was the problem, I tried on a different MacBook but the result was the same. Below you can find part of the problem report. Regards.

Process: vrep [967]
Path: /Volumes/VOLUME/*/vrep.app/Contents/MacOS/vrep
Identifier: com.coppeliarobotics.vrep
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: vrep [967]
User ID: 501

Date/Time: 2016-10-16 13:15:12.110 +0100
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: 9EE51557-EB1F-F7DE-551D-08F18E9AC8E7


Time Awake Since Boot: 2100 seconds

System Integrity Protection: enabled

Crashed Thread: 4 Thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0:
-->
__TEXT 000000010fef5000-000000010ff06000 [ 68K] r-x/rwx SM=COW /var/folders/*/vrep.app/Contents/MacOS/vrep

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff96f4e41a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff96f4d867 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff81de88d4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff81de7d61 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff81de75b4 CFRunLoopRunSpecific + 420
5 com.apple.HIToolbox 0x00007fff81388f6c RunCurrentEventLoopInMode + 240
6 com.apple.HIToolbox 0x00007fff81388da1 ReceiveNextEventCommon + 432
7 com.apple.HIToolbox 0x00007fff81388bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff7fa7f5f5 _DPSNextEvent + 1093
9 com.apple.AppKit 0x00007fff8018f8eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
10 com.apple.AppKit 0x00007fff7fa73fbd -[NSApplication run] + 926
11 libqcocoa.dylib 0x0000000113ce37fd 0x113cc2000 + 137213
12 org.qt-project.QtCore 0x00000001100f48cd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
13 org.qt-project.QtCore 0x00000001100f778a QCoreApplication::exec() + 346
14 libv_rep.dylib 0x00000001108af677 App::run(void (*)(), void (*)(), void (*)()) + 743
15 libv_rep.dylib 0x000000011072c047 simRunSimulator_internal(char const*, int, void (*)(), void (*)(), void (*)()) + 887
16 com.coppeliarobotics.vrep 0x000000010fef8d2c main + 1644
17 com.coppeliarobotics.vrep 0x000000010fef6fa4 start + 52

Thread 1:
0 libsystem_kernel.dylib 0x00007fff96f564e6 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9703d7c5 _pthread_wqthread + 1426
2 libsystem_pthread.dylib 0x00007fff9703d221 start_wqthread + 13

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff96f4e41a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff96f4d867 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff81de88d4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff81de7d61 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fff81de75b4 CFRunLoopRunSpecific + 420
5 com.apple.AppKit 0x00007fff7fbcbe9e _NSEventThread + 205
6 libsystem_pthread.dylib 0x00007fff9703dabb _pthread_body + 180
7 libsystem_pthread.dylib 0x00007fff9703da07 _pthread_start + 286
8 libsystem_pthread.dylib 0x00007fff9703d231 thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff96f5515a __accept + 10
1 libv_repExtRemoteApi.dylib 0x0000000128e44835 CInConnection::connectToClient() + 325
2 libv_repExtRemoteApi.dylib 0x0000000128e512c6 CSimxSocket::_run() + 422
3 libv_repExtRemoteApi.dylib 0x0000000128e51119 CSimxSocket::_staticThreadProc(void*) + 9
4 libsystem_pthread.dylib 0x00007fff9703dabb _pthread_body + 180
5 libsystem_pthread.dylib 0x00007fff9703da07 _pthread_start + 286
6 libsystem_pthread.dylib 0x00007fff9703d231 thread_start + 13

Thread 4 Crashed:: Thread
0 libv_rep.dylib 0x000000011052cc08 VFile::close() + 8
1 libv_rep.dylib 0x0000000110847635 CFileOperations::saveScene(char const*, bool, bool, bool, bool) + 2229
2 libv_rep.dylib 0x00000001108a986b CSimThread::_handleAutoSaveSceneCommand(SSimulationThreadCommand) + 731
3 libv_rep.dylib 0x00000001108a527c CSimThread::_executeSimulationThreadCommand(SSimulationThreadCommand) + 86796
4 libv_rep.dylib 0x000000011088fc8d CSimThread::_handleSimulationThreadCommands() + 525
5 libv_rep.dylib 0x000000011088f94d CSimThread::executeMessages() + 301
6 libv_rep.dylib 0x00000001108adc97 _workThread(void*) + 519
7 libv_rep.dylib 0x000000011052d9a6 Thread::run() + 70
8 org.qt-project.QtCore 0x000000010ff4cb53 0x10ff15000 + 228179
9 libsystem_pthread.dylib 0x00007fff9703dabb _pthread_body + 180
10 libsystem_pthread.dylib 0x00007fff9703da07 _pthread_start + 286
11 libsystem_pthread.dylib 0x00007fff9703d231 thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff96f564e6 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9703d7c5 _pthread_wqthread + 1426
2 libsystem_pthread.dylib 0x00007fff9703d221 start_wqthread + 13

Thread 6:
0 libsystem_pthread.dylib 0x00007fff9703d214 start_wqthread + 0

Thread 4 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000012 rcx: 0x0000000000000000 rdx: 0x0000000000166000
rdi: 0x0000000000000000 rsi: 0x0000000113e26f60 rbp: 0x0000700004eb32b0 rsp: 0x0000700004eb32b0
r8: 0x00000000000000a9 r9: 0x00000000000000a4 r10: 0x0000000113e26000 r11: 0x0000000000000000
r12: 0x00000001110f6938 r13: 0x0000000000000002 r14: 0x00007fff9fa9cd88 r15: 0x00007fff9fa9cd88
rip: 0x000000011052cc08 rfl: 0x0000000000010246 cr2: 0x0000000000000000

Logical CPU: 2
Error Code: 0x00000004
Trap Number: 14

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

Re: problems running V-REP on macOS Sierra

Post by coppelia »

Hello,

thanks for reporting this. Can you try following:

1. in file v_rep.app/Contents/MacOS/system/usrset.txt, set all items in the debug section at the top to true
2. Start V-REP normally
3. After the crash, send us the file v_repApp/Contents/MacOS/debugLog.txt

Cheers

Montana
Posts: 3
Joined: 15 Oct 2016, 16:56

Re: problems running V-REP on macOS Sierra

Post by Montana »

Hi,

I can't find the file usrset.txt in that folder, these are the files in that path:

defaultContactCallbackScript.txt
defaultCustomizationScript.txt
defaultGeneralCallbackScript.txt
defaultJointCtrlCallbackScript.txt
dfltscn.ttt
dltcscpt.txt
dltmscpt.txt
dlttscpt.txt
sysnfo.ttb

fferri
Posts: 1193
Joined: 09 Sep 2013, 19:28

Re: problems running V-REP on macOS Sierra

Post by fferri »

Hello, I'm running V-REP 3.3.2 rev3 on macOS Sierra, but I don't experience any crash.

Do you perform any operation to trigger the crash? Can you describe the steps to trigger this crash?

Benno93
Posts: 3
Joined: 19 Oct 2016, 09:13

Re: problems running V-REP on macOS Sierra

Post by Benno93 »

I have the same problem. I never used V-Rep before but would love to now.

I downloaded different versions but none won't "immediately" crash.

It is not even necessary to do anything to crash it. My scene is totally empty and after about 2 minutes the program crashes.
It also got some problems with loading the models ("Model folder not found") where normally the robots are shown.

Code: Select all

Process:               vrep [1285]
Path:                  /Volumes/VOLUME/*/vrep.app/Contents/MacOS/vrep
Identifier:            com.coppeliarobotics.vrep
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           vrep [1285]
User ID:               501

Date/Time:             2016-10-19 10:23:57.465 +0200
OS Version:            Mac OS X 10.12 (16A323)
Report Version:        12
Anonymous UUID:        3B9CD32E-5624-2AD2-4AB1-6AFD0DAB2735


Time Awake Since Boot: 1300 seconds

System Integrity Protection: enabled

Crashed Thread:        3  Thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

With Windows on bootcamp on the same MacBook (Pro Retina Early 2015) I have absolutely no problems to run the program!

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

Re: problems running V-REP on macOS Sierra

Post by coppelia »

So, it seems the problem is linked somehow to the autosave functionality. In the case of Montana, it seems also that the file system/usrset.txt is not generated (should be generated automatically if not present). Which makes me think that this could all be linked to a file access problem.

In any case, can you try to manually create that system/usrset.txt file with following content:

Code: Select all

// Debugging
// =================================================
alwaysShowConsole = true
debugGuiThreadAndSimThreadSynchronizationActivity = false // will also slow down V-REP
debugGuiThreadAndSimThreadSynchronizationLockFailActivity = false
debugInternalFunctionAccess = false // will also heavily slow down V-REP
debugCApiAccess = false // will also drastically slow down V-REP
debugLuaApiAccess = false // will also slow down V-REP
debugThreadSwitches = false // will also slow down V-REP
debugEasylockActivity = false // will also slow down V-REP
sendDebugInformationToFile = false // if true, debug info is sent to debugLog.txt


// Rendering
// =================================================
idleFps = 8
threadedRenderingDuringSimulation = 0 // recommended to keep 0 (-1=disabled, 0=pre-enabled, 1=enabled).
desiredOpenGlMajor = -1 // recommended to keep -1.
desiredOpenGlMinor = -1 // recommended to keep -1.
offscreenContextType = -1 // recommended to keep -1 (-1=default, 0=Qt offscreen, 1=QGLWidget/QOpenGLWidget visible, 2=QGLWidget/QOpenGLWidget invisible).
fboType = -1 // recommended to keep -1 (-1=default, 0=native, 1=QOpenGLFramebufferObject).
forceFboViaExt = false // recommended to keep false.
vboOperation = -1 // recommended to keep -1 (-1=default, 0=always off, 1=on when available).
vboPersistenceInMs = 5000 // recommended to keep 5000.
oglCompatibilityTweak1 = false // recommended to keep false since it causes small memory leaks.
visionSensorsUseGuiThread_windowed = -1 // recommended to keep -1 (-1=default, 0=GUI when not otherwise possible, 1=always GUI).
visionSensorsUseGuiThread_headless = -1 // recommended to keep -1 (-1=default, 0=GUI when not otherwise possible, 1=always GUI).
useGlFinish = false // recommended to keep false. Graphic card dependent.
useGlFinish_visionSensors = false // recommended to keep false. Graphic card dependent.
vsync = 0 // recommended to keep at 0. Graphic card dependent.
debugOpenGl = false
stereoDist = 0 // 0=no stereo, otherwise the intra occular distance (0.0635 for the human eyes).
highResDisplay = -1 // -1=automatic, 0=disabled, 1=enabled.
noEdgesWhenMouseDownInCameraView = false // if true, rendering is faster during mouse/view interaction
noTexturesWhenMouseDownInCameraView = false // if true, rendering is faster during mouse/view interaction
noCustomUisWhenMouseDownInCameraView = true // if true, rendering is faster during mouse/view interaction
hierarchyRefreshCnt = 3


// Visual
// =================================================
renderingSurfaceVShift = 0
renderingSurfaceVResize = 0
displayWorldRef = true
antialiasing = false
displayBoundingBoxeWhenObjectSelected = true
guiFontSize_Win = 11
guiFontSize_Mac = 10
guiFontSize_Linux = 11
allowTransparentDialogs = false
dialogTransparencyFactor = 0.400000006
statusbarInitiallyVisible = true
modelBrowserInitiallyVisible = true
sceneHierarchyInitiallyVisible = true
scriptEditorFont =  // empty=default.
scriptEditorFontSize = -1 // -1=default.
auxConsoleFont =  // empty=default
auxConsoleFontSize = -1 // -1=default.
mainScriptColor_background = 190,175,175
mainScriptColor_selection = 128,128,255
mainScriptColor_comment = 0,140,0
mainScriptColor_number = 220,0,220
mainScriptColor_string = 255,255,0
mainScriptColor_character = 255,255,0
mainScriptColor_operator = 0,0,0
mainScriptColor_preprocessor = 0,128,128
mainScriptColor_identifier = 64,64,64
mainScriptColor_word = 0,0,255
mainScriptColor_word2 = 152,0,0
mainScriptColor_word3 = 220,80,20
mainScriptColor_word4 = 152,64,0
nonThreadedChildScriptColor_background = 190,190,190
nonThreadedChildScriptColor_selection = 128,128,255
nonThreadedChildScriptColor_comment = 0,140,0
nonThreadedChildScriptColor_number = 220,0,220
nonThreadedChildScriptColor_string = 255,255,0
nonThreadedChildScriptColor_character = 255,255,0
nonThreadedChildScriptColor_operator = 0,0,0
nonThreadedChildScriptColor_preprocessor = 0,128,128
nonThreadedChildScriptColor_identifier = 64,64,64
nonThreadedChildScriptColor_word = 0,0,255
nonThreadedChildScriptColor_word2 = 152,0,0
nonThreadedChildScriptColor_word3 = 220,80,20
nonThreadedChildScriptColor_word4 = 152,64,0
threadedChildScriptColor_background = 180,190,190
threadedChildScriptColor_selection = 128,128,255
threadedChildScriptColor_comment = 0,140,0
threadedChildScriptColor_number = 220,0,220
threadedChildScriptColor_string = 255,255,0
threadedChildScriptColor_character = 255,255,0
threadedChildScriptColor_operator = 0,0,0
threadedChildScriptColor_preprocessor = 0,128,128
threadedChildScriptColor_identifier = 64,64,64
threadedChildScriptColor_word = 0,0,255
threadedChildScriptColor_word2 = 152,0,0
threadedChildScriptColor_word3 = 220,80,20
threadedChildScriptColor_word4 = 152,64,0
jointCallbackScriptColor_background = 190,190,190
jointCallbackScriptColor_selection = 128,128,255
jointCallbackScriptColor_comment = 0,140,0
jointCallbackScriptColor_number = 220,0,220
jointCallbackScriptColor_string = 255,255,0
jointCallbackScriptColor_character = 255,255,0
jointCallbackScriptColor_operator = 0,0,0
jointCallbackScriptColor_preprocessor = 0,128,128
jointCallbackScriptColor_identifier = 64,64,64
jointCallbackScriptColor_word = 0,0,255
jointCallbackScriptColor_word2 = 152,0,0
jointCallbackScriptColor_word3 = 220,80,20
jointCallbackScriptColor_word4 = 152,64,0
contactCallbackScriptColor_background = 190,190,190
contactCallbackScriptColor_selection = 128,128,255
contactCallbackScriptColor_comment = 0,140,0
contactCallbackScriptColor_number = 220,0,220
contactCallbackScriptColor_string = 255,255,0
contactCallbackScriptColor_character = 255,255,0
contactCallbackScriptColor_operator = 0,0,0
contactCallbackScriptColor_preprocessor = 0,128,128
contactCallbackScriptColor_identifier = 64,64,64
contactCallbackScriptColor_word = 0,0,255
contactCallbackScriptColor_word2 = 152,0,0
contactCallbackScriptColor_word3 = 220,80,20
contactCallbackScriptColor_word4 = 152,64,0
generalCallbackScriptColor_background = 190,190,190
generalCallbackScriptColor_selection = 128,128,255
generalCallbackScriptColor_comment = 0,140,0
generalCallbackScriptColor_number = 220,0,220
generalCallbackScriptColor_string = 255,255,0
generalCallbackScriptColor_character = 255,255,0
generalCallbackScriptColor_operator = 0,0,0
generalCallbackScriptColor_preprocessor = 0,128,128
generalCallbackScriptColor_identifier = 64,64,64
generalCallbackScriptColor_word = 0,0,255
generalCallbackScriptColor_word2 = 152,0,0
generalCallbackScriptColor_word3 = 220,80,20
generalCallbackScriptColor_word4 = 152,64,0
customizationScriptColor_background = 150,150,150
customizationScriptColor_selection = 128,128,255
customizationScriptColor_comment = 0,120,0
customizationScriptColor_number = 220,0,220
customizationScriptColor_string = 205,205,0
customizationScriptColor_character = 205,205,0
customizationScriptColor_operator = 0,0,0
customizationScriptColor_preprocessor = 0,128,128
customizationScriptColor_identifier = 70,70,70
customizationScriptColor_word = 0,0,255
customizationScriptColor_word2 = 152,0,0
customizationScriptColor_word3 = 220,80,20
customizationScriptColor_word4 = 152,64,0
addOnScriptColor_background = 240,240,240
addOnScriptColor_selection = 128,128,255
addOnScriptColor_comment = 0,164,0
addOnScriptColor_number = 220,0,220
addOnScriptColor_string = 205,205,0
addOnScriptColor_character = 205,205,0
addOnScriptColor_operator = 0,0,0
addOnScriptColor_preprocessor = 0,128,128
addOnScriptColor_identifier = 100,100,100
addOnScriptColor_word = 0,0,255
addOnScriptColor_word2 = 152,0,0
addOnScriptColor_word3 = 220,80,20
addOnScriptColor_word4 = 152,64,0


// Directories
// =================================================
defaultDirectoryForScenes =  // absolute path, e.g. d:/myScenes (or leave empty for default path)
defaultDirectoryForModels =  // absolute path, e.g. d:/myModels (or leave empty for default path)
defaultDirectoryForCadFiles =  // absolute path, e.g. d:/myCadFiles (or leave empty for default path)
defaultDirectoryForMiscFiles =  // absolute path, e.g. d:/myMiscFiles (or leave empty for default path)
defaultDirectoryForExternalScriptEditor =  // absolute path, e.g. d:/myScriptTempFiles (or leave empty for default path)
defaultDirectoryForRemoteApiFiles =  // absolute path, e.g. d:/myRemoteApiTransfers (or leave empty for default path)


// Serialization
// =================================================
autoSaveDelay = 0 // in minutes. 0 to disable.
doNotWritePersistentData = false
compressFiles = true
saveApproxNormals = true
packIndices = true
fileDialogs = -1 // recommended to keep -1 (-1=default, 0=native dialogs, 1=Qt dialogs).
bulletSerializationBuffer = 10000000


// Undo/Redo
// =================================================
undoRedoEnabled = true
undoRedoOnlyPartialWithCameras = true
undoRedoLevelCount = 16
undoRedoMaxBufferSize = 80000000
timeInMsForUndoRedoTooLongWarning = 200


// Messaging
// =================================================
doNotShowOpenglSettingsMessage = false
doNotShowCrashRecoveryMessage = false
doNotShowUpdateCheckMessage = false
doNotShowSceneSelectionThumbnails = false
doNotShowProgressBars = false
redirectStatusbarMsgToConsoleInHeadlessMode = false


// Compatibility
// =================================================
middleMouseButtonSwitchesModes = false // has only an effect if navigationBackwardCompatibility is true.
navigationBackwardCompatibility = false // recommended to keep false.
colorAdjust_backCompatibility = 1 // recommended to keep 1.0
specificGpuTweak = false
enableOldPathPlanningGui = false
enableOldMotionPlanningGui = false
useAlternateSerialPortRoutines = false


// Floating license
// =================================================
floatingLicenseEnabled = false
floatingLicenseServer = 127.0.0.1
floatingLicensePort = 20249


// Various
// =================================================
mouseWheelZoomFactor = 1
dynamicActivityRange = 1000
objectTranslationStepSize = 0.0249999985
objectRotationStepSize = 5
processorCoreAffinity = 0 // recommended to keep 0 (-1:os default, 0:all threads on same core, m: affinity mask (bit1=core1, bit2=core2, etc.))
freeServerPortStart = 20000
freeServerPortRange = 2000
useExternalScriptEditor = false
externalScriptEditor = c:/Program Files (x86)/Notepad++/notepad++
abortScriptExecutionButton = 2 // in seconds. Zero to disable.
triCountInOBB = 8
removeIdenticalVertices = true
identicalVerticesTolerance = 9.99999975e-005
removeIdenticalTriangles = true
triangleWindingCheck = true
runCustomizationScripts = true
test1 = false // recommended to keep false.
orderHierarchyAlphabetically = false
macChildDialogType = -1 // -1=default.
useExternalLuaLibrary = false // if true, will call all Lua functions via the v_repLua library ('v_repLua.dll', 'libv_repLua.so' or 'libv_repLua.dylib')
raiseErrorWithApiScriptFunctions = true
I have set the variable autoSaveDelay to 0, which effectively disables autosave.

The first few lines in above file also allow you to turn on/off some debugging switches.

Can you tell me if that makes a difference? By the way, you both have V-REP 3.3.2 rev3?

Cheers

Benno93
Posts: 3
Joined: 19 Oct 2016, 09:13

Re: problems running V-REP on macOS Sierra

Post by Benno93 »

Hi Coppelia,
it seems to work now!
Thanks a lot!

But it still doesn't show the robot models.
On the left (Model browser) there is a folder icon with the "name" "Model founder not found". (see in the picture)

Image

But when I am opening a standard scene from the "scenes" folder with robots inside, there is no problem and the robots are there.

BTW I am using "V-REP PRO EDU V3.3.2 rev3"


For everyone having problems to find the right directory:
1) right-click on vrep (application icon you use to start the application)
2) show package contents (or how it is named in english :D)
3)
Contents/MacOS/system/
4) create the usrset.txt with the content provided by Coppelia in the last post

Code: Select all

// Debugging
// =================================================
alwaysShowConsole = true
debugGuiThreadAndSimThreadSynchronizationActivity = false // will also slow down V-REP
debugGuiThreadAndSimThreadSynchronizationLockFailActivity = false
debugInternalFunctionAccess = false // will also heavily slow down V-REP
debugCApiAccess = false // will also drastically slow down V-REP
debugLuaApiAccess = false // will also slow down V-REP
debugThreadSwitches = false // will also slow down V-REP
debugEasylockActivity = false // will also slow down V-REP
sendDebugInformationToFile = false // if true, debug info is sent to debugLog.txt


// Rendering
// =================================================
idleFps = 8
threadedRenderingDuringSimulation = 0 // recommended to keep 0 (-1=disabled, 0=pre-enabled, 1=enabled).
desiredOpenGlMajor = -1 // recommended to keep -1.
desiredOpenGlMinor = -1 // recommended to keep -1.
offscreenContextType = -1 // recommended to keep -1 (-1=default, 0=Qt offscreen, 1=QGLWidget/QOpenGLWidget visible, 2=QGLWidget/QOpenGLWidget invisible).
fboType = -1 // recommended to keep -1 (-1=default, 0=native, 1=QOpenGLFramebufferObject).
forceFboViaExt = false // recommended to keep false.
vboOperation = -1 // recommended to keep -1 (-1=default, 0=always off, 1=on when available).
vboPersistenceInMs = 5000 // recommended to keep 5000.
oglCompatibilityTweak1 = false // recommended to keep false since it causes small memory leaks.
visionSensorsUseGuiThread_windowed = -1 // recommended to keep -1 (-1=default, 0=GUI when not otherwise possible, 1=always GUI).
visionSensorsUseGuiThread_headless = -1 // recommended to keep -1 (-1=default, 0=GUI when not otherwise possible, 1=always GUI).
useGlFinish = false // recommended to keep false. Graphic card dependent.
useGlFinish_visionSensors = false // recommended to keep false. Graphic card dependent.
vsync = 0 // recommended to keep at 0. Graphic card dependent.
debugOpenGl = false
stereoDist = 0 // 0=no stereo, otherwise the intra occular distance (0.0635 for the human eyes).
highResDisplay = -1 // -1=automatic, 0=disabled, 1=enabled.
noEdgesWhenMouseDownInCameraView = false // if true, rendering is faster during mouse/view interaction
noTexturesWhenMouseDownInCameraView = false // if true, rendering is faster during mouse/view interaction
noCustomUisWhenMouseDownInCameraView = true // if true, rendering is faster during mouse/view interaction
hierarchyRefreshCnt = 3


// Visual
// =================================================
renderingSurfaceVShift = 0
renderingSurfaceVResize = 0
displayWorldRef = true
antialiasing = false
displayBoundingBoxeWhenObjectSelected = true
guiFontSize_Win = 11
guiFontSize_Mac = 10
guiFontSize_Linux = 11
allowTransparentDialogs = false
dialogTransparencyFactor = 0.400000006
statusbarInitiallyVisible = true
modelBrowserInitiallyVisible = true
sceneHierarchyInitiallyVisible = true
scriptEditorFont =  // empty=default.
scriptEditorFontSize = -1 // -1=default.
auxConsoleFont =  // empty=default
auxConsoleFontSize = -1 // -1=default.
mainScriptColor_background = 190,175,175
mainScriptColor_selection = 128,128,255
mainScriptColor_comment = 0,140,0
mainScriptColor_number = 220,0,220
mainScriptColor_string = 255,255,0
mainScriptColor_character = 255,255,0
mainScriptColor_operator = 0,0,0
mainScriptColor_preprocessor = 0,128,128
mainScriptColor_identifier = 64,64,64
mainScriptColor_word = 0,0,255
mainScriptColor_word2 = 152,0,0
mainScriptColor_word3 = 220,80,20
mainScriptColor_word4 = 152,64,0
nonThreadedChildScriptColor_background = 190,190,190
nonThreadedChildScriptColor_selection = 128,128,255
nonThreadedChildScriptColor_comment = 0,140,0
nonThreadedChildScriptColor_number = 220,0,220
nonThreadedChildScriptColor_string = 255,255,0
nonThreadedChildScriptColor_character = 255,255,0
nonThreadedChildScriptColor_operator = 0,0,0
nonThreadedChildScriptColor_preprocessor = 0,128,128
nonThreadedChildScriptColor_identifier = 64,64,64
nonThreadedChildScriptColor_word = 0,0,255
nonThreadedChildScriptColor_word2 = 152,0,0
nonThreadedChildScriptColor_word3 = 220,80,20
nonThreadedChildScriptColor_word4 = 152,64,0
threadedChildScriptColor_background = 180,190,190
threadedChildScriptColor_selection = 128,128,255
threadedChildScriptColor_comment = 0,140,0
threadedChildScriptColor_number = 220,0,220
threadedChildScriptColor_string = 255,255,0
threadedChildScriptColor_character = 255,255,0
threadedChildScriptColor_operator = 0,0,0
threadedChildScriptColor_preprocessor = 0,128,128
threadedChildScriptColor_identifier = 64,64,64
threadedChildScriptColor_word = 0,0,255
threadedChildScriptColor_word2 = 152,0,0
threadedChildScriptColor_word3 = 220,80,20
threadedChildScriptColor_word4 = 152,64,0
jointCallbackScriptColor_background = 190,190,190
jointCallbackScriptColor_selection = 128,128,255
jointCallbackScriptColor_comment = 0,140,0
jointCallbackScriptColor_number = 220,0,220
jointCallbackScriptColor_string = 255,255,0
jointCallbackScriptColor_character = 255,255,0
jointCallbackScriptColor_operator = 0,0,0
jointCallbackScriptColor_preprocessor = 0,128,128
jointCallbackScriptColor_identifier = 64,64,64
jointCallbackScriptColor_word = 0,0,255
jointCallbackScriptColor_word2 = 152,0,0
jointCallbackScriptColor_word3 = 220,80,20
jointCallbackScriptColor_word4 = 152,64,0
contactCallbackScriptColor_background = 190,190,190
contactCallbackScriptColor_selection = 128,128,255
contactCallbackScriptColor_comment = 0,140,0
contactCallbackScriptColor_number = 220,0,220
contactCallbackScriptColor_string = 255,255,0
contactCallbackScriptColor_character = 255,255,0
contactCallbackScriptColor_operator = 0,0,0
contactCallbackScriptColor_preprocessor = 0,128,128
contactCallbackScriptColor_identifier = 64,64,64
contactCallbackScriptColor_word = 0,0,255
contactCallbackScriptColor_word2 = 152,0,0
contactCallbackScriptColor_word3 = 220,80,20
contactCallbackScriptColor_word4 = 152,64,0
generalCallbackScriptColor_background = 190,190,190
generalCallbackScriptColor_selection = 128,128,255
generalCallbackScriptColor_comment = 0,140,0
generalCallbackScriptColor_number = 220,0,220
generalCallbackScriptColor_string = 255,255,0
generalCallbackScriptColor_character = 255,255,0
generalCallbackScriptColor_operator = 0,0,0
generalCallbackScriptColor_preprocessor = 0,128,128
generalCallbackScriptColor_identifier = 64,64,64
generalCallbackScriptColor_word = 0,0,255
generalCallbackScriptColor_word2 = 152,0,0
generalCallbackScriptColor_word3 = 220,80,20
generalCallbackScriptColor_word4 = 152,64,0
customizationScriptColor_background = 150,150,150
customizationScriptColor_selection = 128,128,255
customizationScriptColor_comment = 0,120,0
customizationScriptColor_number = 220,0,220
customizationScriptColor_string = 205,205,0
customizationScriptColor_character = 205,205,0
customizationScriptColor_operator = 0,0,0
customizationScriptColor_preprocessor = 0,128,128
customizationScriptColor_identifier = 70,70,70
customizationScriptColor_word = 0,0,255
customizationScriptColor_word2 = 152,0,0
customizationScriptColor_word3 = 220,80,20
customizationScriptColor_word4 = 152,64,0
addOnScriptColor_background = 240,240,240
addOnScriptColor_selection = 128,128,255
addOnScriptColor_comment = 0,164,0
addOnScriptColor_number = 220,0,220
addOnScriptColor_string = 205,205,0
addOnScriptColor_character = 205,205,0
addOnScriptColor_operator = 0,0,0
addOnScriptColor_preprocessor = 0,128,128
addOnScriptColor_identifier = 100,100,100
addOnScriptColor_word = 0,0,255
addOnScriptColor_word2 = 152,0,0
addOnScriptColor_word3 = 220,80,20
addOnScriptColor_word4 = 152,64,0


// Directories
// =================================================
defaultDirectoryForScenes =  // absolute path, e.g. d:/myScenes (or leave empty for default path)
defaultDirectoryForModels =  // absolute path, e.g. d:/myModels (or leave empty for default path)
defaultDirectoryForCadFiles =  // absolute path, e.g. d:/myCadFiles (or leave empty for default path)
defaultDirectoryForMiscFiles =  // absolute path, e.g. d:/myMiscFiles (or leave empty for default path)
defaultDirectoryForExternalScriptEditor =  // absolute path, e.g. d:/myScriptTempFiles (or leave empty for default path)
defaultDirectoryForRemoteApiFiles =  // absolute path, e.g. d:/myRemoteApiTransfers (or leave empty for default path)


// Serialization
// =================================================
autoSaveDelay = 0 // in minutes. 0 to disable.
doNotWritePersistentData = false
compressFiles = true
saveApproxNormals = true
packIndices = true
fileDialogs = -1 // recommended to keep -1 (-1=default, 0=native dialogs, 1=Qt dialogs).
bulletSerializationBuffer = 10000000


// Undo/Redo
// =================================================
undoRedoEnabled = true
undoRedoOnlyPartialWithCameras = true
undoRedoLevelCount = 16
undoRedoMaxBufferSize = 80000000
timeInMsForUndoRedoTooLongWarning = 200


// Messaging
// =================================================
doNotShowOpenglSettingsMessage = false
doNotShowCrashRecoveryMessage = false
doNotShowUpdateCheckMessage = false
doNotShowSceneSelectionThumbnails = false
doNotShowProgressBars = false
redirectStatusbarMsgToConsoleInHeadlessMode = false


// Compatibility
// =================================================
middleMouseButtonSwitchesModes = false // has only an effect if navigationBackwardCompatibility is true.
navigationBackwardCompatibility = false // recommended to keep false.
colorAdjust_backCompatibility = 1 // recommended to keep 1.0
specificGpuTweak = false
enableOldPathPlanningGui = false
enableOldMotionPlanningGui = false
useAlternateSerialPortRoutines = false


// Floating license
// =================================================
floatingLicenseEnabled = false
floatingLicenseServer = 127.0.0.1
floatingLicensePort = 20249


// Various
// =================================================
mouseWheelZoomFactor = 1
dynamicActivityRange = 1000
objectTranslationStepSize = 0.0249999985
objectRotationStepSize = 5
processorCoreAffinity = 0 // recommended to keep 0 (-1:os default, 0:all threads on same core, m: affinity mask (bit1=core1, bit2=core2, etc.))
freeServerPortStart = 20000
freeServerPortRange = 2000
useExternalScriptEditor = false
externalScriptEditor = c:/Program Files (x86)/Notepad++/notepad++
abortScriptExecutionButton = 2 // in seconds. Zero to disable.
triCountInOBB = 8
removeIdenticalVertices = true
identicalVerticesTolerance = 9.99999975e-005
removeIdenticalTriangles = true
triangleWindingCheck = true
runCustomizationScripts = true
test1 = false // recommended to keep false.
orderHierarchyAlphabetically = false
macChildDialogType = -1 // -1=default.
useExternalLuaLibrary = false // if true, will call all Lua functions via the v_repLua library ('v_repLua.dll', 'libv_repLua.so' or 'libv_repLua.dylib')
raiseErrorWithApiScriptFunctions = true

Benno93
Posts: 3
Joined: 19 Oct 2016, 09:13

Re: problems running V-REP on macOS Sierra

Post by Benno93 »

Hi Coppelia,

what could be the reason why the model folder is missing?
Do you know how to fix it?

Cheers

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

Re: problems running V-REP on macOS Sierra

Post by coppelia »

I will contact you with a slightly adjusted program version for testing..

Cheers

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

Re: problems running V-REP on macOS Sierra

Post by coppelia »

Ok, thanks for helping put the finger on the problem Benno. It seems the problems are linked to files/folders that cannot be accessed because of file attributes that the MacOS appends to files downloaded from the internet. You can strip away those file attributes with:

Code: Select all

xattr -c -r * 
or even better with

Code: Select all

sudo xattr -r -d com.apple.quarantine *
(to only strip away the annoying attributes)

Make sure you run above from the console in the V-REP folder. This made the trick for Benno at least.
On our machines, we also have the same file attributes when downloading something from the internet, but we don't have any crashes, so the problem is also linked to some computer specific settings I guess.

Montana, can you confirm that above solves your problem too?

Cheers

Post Reply