It sounds as if you are encountering undefined behavior. Try building with clang and undefined-behavior checks: https://sumo.dlr.de/docs/Installing/Linux_Build.html#building_with_clang
Am Mi., 18. Dez. 2019 um 20:43 Uhr schrieb Jaeger Bomb < jaegerbom...@gmail.com>: > Hello, > > I currently am developing an application which is tightly coupled with > SUMO to simulate traffic in a custom environment. I don't want to use the > TRACI protocol (for overhead speed an latency).. so I have started using > the sumolib library to read and write information. There are quite a few > things that the libsumo can't read from the simulation, so I have been > accessing that data directly from the MSNet instance that is running. I > keep getting strange behaviors.. specifically in accessing pointers in the > vehicle. When I get the edge from the current lane the vehicle is on > (lane->getEdge()), sometimes it returns garbage. However, when I comment > out, build, then uncomment and build again, it works fine. I have been > round and round trying to determine why this data is only corrupted > occassionaly. I don't believe I'm multi-threading, and I'm calling the > same type of things that libsumo calls. Is there a reason someone couldn't > have their own MSNet that they read / write from? Or am I missing an > important step? > > Thanks, > JB > _______________________________________________ > sumo-dev mailing list > sumo-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-dev >
_______________________________________________ sumo-dev mailing list sumo-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev