Crash with not too much info why
Posted: 11 May 2020, 13:35
Hi
Coppeliasim keeps crashing but only intermittently and the only reason it gives is std::bad_alloc.
Full description from terminal:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
./coppeliaSim.sh: line 33: 4985 Aborted (core dumped) "$dirname/$appname" "${PARAMETERS[@]}"
I believe it is something to do with a height field I am creating from a Python program by calling a Lua function.
https://drive.google.com/drive/folders/ ... sp=sharing
Above is a link to basically everything I am using:
18w 30t.ttm - is the robot model I have been using
terrain test ground mar20.ttt - the scene with the lua script in
createterrain1.py - program that creates the terrain
controlTerrain.py - program that controls the robot, start/stop scene and calls createterrain1.py
Other info - using latest coppeliasim on ubuntu 18 but the computer is reasonably basic. Processor: Intel® Core™ i5 CPU 650 @ 3.20GHz × 4 , Graphics: Intel® Ironlake Desktop
Been trying for about a week to try and figure out what might be causing this. Any help would be much appreciated. If there is any other info you need let me know.
:)
Coppeliasim keeps crashing but only intermittently and the only reason it gives is std::bad_alloc.
Full description from terminal:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
./coppeliaSim.sh: line 33: 4985 Aborted (core dumped) "$dirname/$appname" "${PARAMETERS[@]}"
I believe it is something to do with a height field I am creating from a Python program by calling a Lua function.
https://drive.google.com/drive/folders/ ... sp=sharing
Above is a link to basically everything I am using:
18w 30t.ttm - is the robot model I have been using
terrain test ground mar20.ttt - the scene with the lua script in
createterrain1.py - program that creates the terrain
controlTerrain.py - program that controls the robot, start/stop scene and calls createterrain1.py
Other info - using latest coppeliasim on ubuntu 18 but the computer is reasonably basic. Processor: Intel® Core™ i5 CPU 650 @ 3.20GHz × 4 , Graphics: Intel® Ironlake Desktop
Been trying for about a week to try and figure out what might be causing this. Any help would be much appreciated. If there is any other info you need let me know.
:)