Skip to content

Crashing and speedup simulator whilst running windowless #55

Open
@hogg377

Description

@hogg377

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!

error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions