OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
GNU Lesser General Public License v3.0
419 stars 40 forks source link

Simulation assert check failed #7845

Closed flomonster closed 2 weeks ago

flomonster commented 2 weeks ago

What happened?

When adding a specific train schedule the simulation fails with the following message:

{
  "status": 500,
  "type": "core:assert_error",
  "context": {
    "file_location": "Envelope.java:46",
    "stack_trace": [
      "Envelope.java:46",
      "Envelope.java:81",
      "AbstractAllowanceWithRanges.java:229",
      "AbstractAllowanceWithRanges.java:133",
      "StandaloneSimulation.kt:348",
      "StandaloneSimulation.kt:99",
      "SimulationEndpoint.kt:56",
      "FkRegex.java:153",
      "FkRegex.java:217",
      "FkChain.java:72",
      "TkFork.java:98",
      "TkFallback.java:84",
      "TkFallback.java:66",
      "TkWrap.java:58",
      "TkSlf4j.java:110",
      "BkBasic.java:123",
      "BkBasic.java:99",
      "BkSafe.java:46",
      "BkWrap.java:51",
      "BkParallel.java:81",
      "ThreadPoolExecutor.java:1144",
      "ThreadPoolExecutor.java:642",
      "Thread.java:1583"
    ],
    "url": "http://osrd-team-dev-core.osrd-team-dev.svc.cluster.local/v2/standalone_simulation"
  },
  "message": "assert check failed"
}

What did you expect to happen?

Core shouldn't panic.

How can we reproduce it (as minimally and precisely as possible)?

  1. Go to a scenario
  2. Import the following train schedule: failing_train_schedule.json
  3. Observe the 500 error

What operating system, browser and environment are you using?

OSRD version (top right corner Account button > Informations)

d0d1086