Thanks for the fast reply!
I turned on all the debug options, but let the frustrum culling, distance caching and collision caching on.
The log is very big, I did not find how to attach files here (3.5M bytes) so I am posting the last part of debugLog.txt:
Code: Select all
00054897 --> (SIM C API) simGetBooleanParameter_internal
00054897 <-- (SIM C API) simGetBooleanParameter_internal
00054897 --> (SIM C API) simSetBooleanParameter_internal
00054897 <-- (SIM C API) simSetBooleanParameter_internal
00054897 --> (SIM C API) simLoadScene_internal
00054897 $$S 0,0,1,0 (SIM) 'locking for write' (simLoadScene_internal)
00054897 $$S
00054897 $$S +++++++++++++++++++++++++++++++++++++++++++++++++++++++
00054897 $$S +++++++++++++++++++++++++++++++++++++++++++++++++++++++
00054897 $$S 0,0,1,1 (SIM) 'locked for write' (simLoadScene_internal)
00054897 --> (SIM FUNC) loadScene
00054897 --> (SIM FUNC) closeDlg
00054897 --> (GUI FUNC) __closeDlg
00054897 <-- (GUI FUNC) __closeDlg
00054897 <-- (SIM FUNC) closeDlg
00054897 --> (SIM FUNC) newSceneProcedure
00054897 <-- (SIM FUNC) newSceneProcedure
00054900 ... (SIM) (setParent) 'easy unlocking'
00054900 ... (SIM) (setParent) 'easy unlocked'
00054900 ... (SIM) (setParent) 'easy locking'
00054900 ... (SIM) (setParent) 'easy locked'
00054900 ... (SIM) (setParent) 'easy unlocking'
00054900 ... (SIM) (setParent) 'easy unlocked'
00054901 ... (SIM) (setParent) 'easy locking'
00054901 ... (SIM) (setParent) 'easy locked'
00054901 ... (SIM) (setParent) 'easy unlocking'
00054901 ... (SIM) (setParent) 'easy unlocked'
00054901 ... (SIM) (setParent) 'easy locking'
00054901 ... (SIM) (setParent) 'easy locked'
00054902 ... (SIM) (setParent) 'easy unlocking'
00054902 ... (SIM) (setParent) 'easy unlocked'
00054903 ... (SIM) (setParent) 'easy locking'
00054903 ... (SIM) (setParent) 'easy locked'
00054903 ... (SIM) (setParent) 'easy unlocking'
00054903 ... (SIM) (setParent) 'easy unlocked'
00054903 ... (SIM) (setParent) 'easy locking'
00054903 ... (SIM) (setParent) 'easy locked'
00054904 ... (SIM) (setParent) 'easy unlocking'
00054904 ... (SIM) (setParent) 'easy unlocked'
00054904 ... (SIM) (setParent) 'easy locking'
00054904 ... (SIM) (setParent) 'easy locked'
00054904 --> (SIM FUNC) removeCollisionInformation
00054904 <-- (SIM FUNC) removeCollisionInformation
00054905 --> (SIM FUNC) removeCollisionInformation
00054905 <-- (SIM FUNC) removeCollisionInformation
I do not know if it helps, but the final portion of the information displayed on the terminal is a bit different:
Code: Select all
00033065 ... (GUI) (display) 'easy unlocking'
00033065 ... (GUI) (display) 'easy unlocked'
00033065 ... (GUI) (display) 'easy locking'
00033065 ... (GUI) (display) 'easy locked'
00033065 ... (GUI) (drawAll) 'easy unlocking'
00033065 ... (GUI) (drawAll) 'easy unlocked'
00033065 ... (GUI) (drawAll) 'easy locking'
00033065 ... (GUI) (drawAll) 'easy locked'
00033065 ... (GUI) (drawAll) 'easy unlocking'
00033065 ... (GUI) (drawAll) 'easy unlocked'
00033065 ... (GUI) (drawAll) 'easy locking'
00033065 ... (GUI) (drawAll) 'easy locked'
00033065 ... (GUI) (visualizeCommunications) 'easy unlocking'
00033065 ... (GUI) (visualizeCommunications) 'easy unlocked'
00033065 ... (GUI) (visualizeCommunications) 'easy locking'
00033065 ... (GUI) (visualizeCommunications) 'easy locked'
00033065 <-- (GUI FUNC) drawObjects
00033065 --> (GUI FUNC) drawOverlay
00033065 <-- (GUI FUNC) drawOverlay
00033082 <-- (GUI FUNC) lookIn
00033082 <-- (GUI FUNC) render
00033082 <-- (GUI FUNC) render
00033086 <-- (GUI FUNC) renderCurrentPage
00033086 <-- (GUI FUNC) render
00033100 <-- (GUI FUNC) renderOpenGlContent_callFromRenderingThreadOnly
00033100 $$R 0,0,0,0 (GUI) 'unlock for read' (uiThread_renderScene)
00033100 <-- (GUI FUNC) uiThread_renderScene
00033100 $$R 0,0,0,0 (GUI) 'try to lock for read' (DEBUG_TO_FILE_DEBUG_CMD)
00033100 $$R 1,0,0,0 (GUI) 'locked for read' (DEBUG_TO_FILE_DEBUG_CMD)
./vrep.sh: line 24: 15845 Segmentation fault "$dirname/$appname" "$@"
Trying to dig deeper into the problem, I tried a couple of things without result:
- Downloaded again the 64 bit linux version and tried it out.
- Downloaded the 32 bit linux version and tried it out.
- Tried loading a different scene in different locations (relative and absolute paths), but it always crash
- When loading scenes using the GUI, all the scenes loaded and even the controlTypeExample.ttt was able to work perfectly with the remoteAPI, so I believe it is something related to the continuous server.
- Enabling frustrum culling, distance caching and collision caching does not help
- The simxLoadScene() returns a error which does not match with any of the simx_* errors. The error number is 3.