Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Double Free or Corruption Error

Hi all,
I'm currently trying to run a big simulation with traci using a cropped version of the cologne scenario.
I'm outputting both the full output as well as the edge emissions data to XML files.

After around 4000 (roughly half way) timesteps I am getting the error:

double free or corruption (!prev)
Traceback (most recent call last):
  File "mainScript.py", line 108, in <module>
    main()
  File "mainScript.py", line 92, in main
    CHDurations, CHDistances = simulation("CH")
  File "mainScript.py", line 53, in simulation
    traci.simulationStep()
  File "/home/toby/sumo-1.1.0/tools/traci/__init__.py", line 127, in simulationStep
    responses = _connections[""].simulationStep(step)
  File "/home/toby/sumo-1.1.0/tools/traci/connection.py", line 323, in simulationStep
    result = self._sendExact()
  File "/home/toby/sumo-1.1.0/tools/traci/connection.py", line 99, in _sendExact
    raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO

It's running on Ubuntu with 8GB memory.
The full output XML file is at 3.4GB when it crashed which I feel may be a cause.
Does anyone know what may be causing this error and how I can fix it?

Many thanks,
Toby



Back to the top