Could it be that multiple processes are writing to the same traceFile? I recommend investigation on this front because reproducing the crash in isolation will probably be necessary to fix it.
Am Mo., 1. März 2021 um 22:53 Uhr schrieb Harald Schaefer < [email protected]>: > Hi Marcelo, > > what you can try is to enable core dumps in your shell > > ulimit -c unlimited > > Then run your test series. > > The corefile might be very large, depending on your scenario size. > > At the end you should have a file named core in your current working > directory. > > You can examine this file by > > gdb <path to sumo-bin> core > > and type e.g. bt > > The stacktrace might help the developers of SUMO > > Greetings, Harald > Am 01.03.21 um 17:22 schrieb Marcelo Andrade Rodrigues D Almeida: > > Hi everyone > > I running traffic light control experiments in the Bologna (joined) > scenario and from time to time I encounter an unspecified Fatal error. > (shown below) > > I'm trying to debug it, but: > - Logging the commands generate blank outputs (even with traceGetters > enabled) > > trace_file_path = ROOT_DIR + '/' + self.path_to_log + '/' + > 'trace_file_log.txt' > traci.start(sumo_cmd_str, label=self.execution_name, > traceFile=trace_file_path, traceGetters=True) > > ( > https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#generating_a_log_of_all_traci_commands > ) > > A trivial trace (logging) example works fine though > > - Debugging the traci sessions is not viable since I cannot tell when the > error is going to occur (I have to run the scenario 1600 times total per > experiment) > > ( > https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#debugging_a_traci_session_on_linux > ) > > > I also updated the sumo to the latest nightly build but no success. > > Is there anything I can try? I'm out of options here > > Thank you in advance > > > Sincerely, > > Marcelo d'Almeida > > > *Error:* > Process Process-1:22: > Traceback (most recent call last): > File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in > _bootstrap > self.run() > File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run > self._target(*self._args, **self._kwargs) > File "traffic-light-optimization/algorithm/frap_pub/pipeline.py", line > 104, in generator_wrapper > generator.generate() > File "traffic-light-optimization/algorithm/frap_pub/generator.py", line > 121, in generate > next_state, reward, done, steps_iterated, next_action = > self.env.step(action_list) > File "traffic-light-optimization/algorithm/frap_pub/sumo_env.py", line > 514, in step > self._inner_step(action) > File "traffic-light-optimization/algorithm/frap_pub/sumo_env.py", line > 559, in _inner_step > traci_connection.simulationStep() > File "sumo-git/tools/traci/connection.py", line 302, in simulationStep > result = self._sendCmd(tc.CMD_SIMSTEP, None, None, "D", step) > File "sumo-git/tools/traci/connection.py", line 180, in _sendCmd > return self._sendExact() > File "sumo-git/tools/traci/connection.py", line 90, in _sendExact > raise FatalTraCIError("connection closed by SUMO") > traci.exceptions.FatalTraCIError: connection closed by SUMO > > _______________________________________________ > sumo-user mailing [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
