eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.54k stars 1.43k forks source link

Segmentation fault while opening sumo-gui by ssh connection from Mac client #15636

Open dawn-fm opened 1 day ago

dawn-fm commented 1 day ago

Hi again,

First of all, always thank contributors of SUMO for your effort to answer on trivial issues.

I am writing again to resolve an error occured while executing sumo-gui via TraCI on Macbook client.

I tried running sumo-gui from linux server via SSH connection and X11 forwarding.

The shell output says segmentation fault (core dumped).

What I tried was just open network file via TraCI.

        TRACI_CMD = [
                sumoBinary,
                #input
                '--net-file', NET_FILE,
                '--route-files', DUAROUTER_FILE,

                #preprocessing
                '--delay', self._env_config['delay'],

                #output coniguration
                '--additional-files', ADDITIONAL_FILES,
                # '--additional-files', 'vType.add.xml',
                '--tripinfo-output',TRIPINFO_OUTPUT,
                # '-c','LaneRPM.sumocfg',
                # '--save-configuration', 'debug.sumocfg',
                '-S', 
                '-Q',
                '--time-to-teleport','-1'
            ]
traci.start(TRACI_CMD)

How should I resolve this problem?

Thank you!

SUMO-version: 1.21.0

operating system: Client: macos sequoia 15.0.1 Server: Ubuntu 20.04, Python 3.8

m-kro commented 1 day ago

Can you reproduce the crash without using TraCI? It may be related to the simulation scenario. If not, do you issue some TraCI commands right after loading the scenario?