Description
Hello,
I have been working with stage for a little while now to setup an artificial evolution application in multi-agent systems. However, I'm having issues with the stageros crashing when running the simulator at increased speeds, the evolution can be running fine for 10 minutes or so but then crash and I have to restart.
Errors:
Segmentation fault (core dumped)
or
Error in `/opt/ros/kinetic/lib/stage_ros/stageros': free(): invalid size: 0x00000000090ecd90
Followed by a long list (see below)
I have spent quite a lot of time trying to figure out the cause but haven't made much progress although I feel as though it might be to do with calling the reset service built into stage which I call every time a new individual in the evolution is tested. I understand this feature was added after the official release and might not be suitable when called many times every few seconds.
As another fix I have tried running stage windowless to improve speed up however, when I run stage windowless it seems to ignore the speedup defined in the world file and run at real time speed. If I run the same world file with the gui, it will be run at increased speed.
Any help would be greatly appreciated!