Open alelevente opened 1 year ago
likely a duplicate of #13096
I'm unable to replicate the crash with the code you sent.
Notably, the state files being generated by the line traci.simulation.saveState("state_%d.xml"%(step//2000))
do not match what is being loaded in traci.simulation.loadState("most.state_19500.xml")
.
I did try to load the following states:
Error: Unknown next lane '' when loading walk for person 'pedestrian_1-1-pt_1040' from state.
(sumo aborts "cleanly" with an error rather than crashing)The behavior is the same with the latest dev version so there is definitely a bug here. Nevertheless if would be helpful if you could give more details on reproducing the crash.
Thank you for your reply! We will check again with the latest SUMO version. And yes, it is very likely the same problem to the one stated in issue
Jakob Erdmann @.***> ezt írta (időpont: 2023. ápr. 28., P, 8:35):
I'm unable to replicate the crash with the code you sent. Notably, the state files being generated by the line traci.simulation.saveState("state_%d.xml"%(step//2000)) do not match what is being loaded in traci.simulation.loadState("most.state_19500.xml"). I did try to load the following states:
- most.state_58000.xml: no problems
- most.state_68000.xml: no problems
- most.state_78000.xml: Error: Unknown next lane '' when loading walk for person 'pedestrian_1-1-pt_1040' from state. (sumo aborts "cleanly" with an error rather than crashing)
The behavior is the same with the latest dev version so there is definitely a bug here. Nevertheless if would be helpful if you could give more details on reproducing the crash.
— Reply to this email directly, view it on GitHub https://github.com/eclipse/sumo/issues/13110#issuecomment-1527060705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHEECGNIV7AKD32ZXDB4PLXDNQMXANCNFSM6AAAAAAXIZRGGA . You are receiving this because you authored the thread.Message ID: @.***>
@alelevente Do you have any news for us? Did you check with the latest SUMO version?
@m-kro, I have just tested it with SUMO v1.18.0, and the bug still exists.
As @namdre said, SUMO now gives an error message while loading in case we also saved the state of the pedestrians. In the save file, there are some weird (e.g., -nan
) states for this person:
`
</person>`
We experimented with the Monaco SUMO Traffic Scenario (MoST), and we have run into a sudden crash after calling
traci.simulation.loadState
. To be exact, the simulation loads, afterwards, a few steps can be executed, then SUMO just closes throwing aFatalTraCIError: connection closed by SUMO
exception.Unfortunately, neither SUMO nor SUMO-GUI returns any error message. We have tried to specify the beginning time of the simulation, but it did not help.
The crash can be reproduced by the following code:
SUMO-version: 1.16.0
operating system: Ubuntu Linux 22.04 and Windows 10