Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Unexpected SUMO-GUI exit when running rail network simulation

Hello,
the crash has been fixed (https://github.com/eclipse-sumo/sumo/issues/17251)
but you will have to change your network to make your simulation work as expected.
Rail signals in SUMO do not work with edges that allow=all (such edges are assumed to be roads rather than railway tracks).
Instead, change their permissions to allow="rail" 
Also, if you wish to model a single track that can be used in both directions, see https://sumo.dlr.de/docs/Simulation/Railways.html#bidirectional_track_usage

regards,
Jakob

Am Do., 23. Okt. 2025 um 07:15 Uhr schrieb Reza Bahmani via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear SUMO team,

I’m currently working on a railway simulation and encountered a problem where SUMO‑GUI closes immediately after startup without showing any error or running steps.

Here are the details:

  • SUMO version: 1.24
  • Command used:
  sumo-gui -n rail_network3.net.xml -r trains.routes2.xml
  • The network file (rail_network3.net.xml) and the route file (trains.routes2.xml) both load successfully according to the terminal, but the GUI window closes instantly without any visible simulation or error message.
  • When I try to run the same command without GUI using sumo -n rail_network3.net.xml -r trains.routes2.xml, it also finishes immediately with no output and no simulation steps executed.

Things I have already tried:

  1. Setting --end 3000 and --verbose — no difference.
  2. Changing all depart times to 0.
  3. Adding valid vClass="rail" attributes to vehicle types.
  4. Running duarouter to rebuild routes — still the GUI exits instantly.

Would you please help me identify what might cause SUMO to quit silently in this case?

I share both XML files here.

Thank you in advance for your time and support.

Kind regards,

Reza Bahmani

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top