Hi Andres,

I've tested the simulation in sumo-gui version 0.30 and 0.28. In both case
I'm facing the issue.
Debug it line by line. It's crushing in below line

activeConnection.dos.write(message.string);

just before
result = traci.recvExact();
in sendExact.m.

 The debugger of visual studio is givving error message -
Unhandled exception at 0x000000000000000F in sumo-gui.exe: 0xC0000005:
Access violation executing location 0x000000000000000F.

Is there any way to fix it.

Thanks,
Santa


On Sat, Jun 10, 2017 at 2:34 AM, Andres Felipe Acosta Gil <
[email protected]> wrote:

> Dear Santa. I am experiencing the same issue you have, for some reason the
> traci connection is reset. Can you debug your code right before the
> traci.simulationStep() that causes the crash i.e when i==177 and see its
> behavior? for example, look for unusual set commands.
>
> Best Regards.
>
> Error using traci.recvExact (line 35)
> Java exception occurred:
> java.net.SocketException: Connection reset
>
> at java.net.SocketInputStream.read(Unknown Source)
>
> at java.net.SocketInputStream.read(Unknown Source)
>
> at java.net.SocketInputStream.read(Unknown Source)
>
> at java.io.DataInputStream.readInt(Unknown Source)
>
>
> Error in traci.sendExact (line 23)
> result = traci.recvExact();
>
> Error in traci.simulationStep (line 43)
> result = traci.sendExact();
>
> Error in Santa_test (line 45)
>     traci.simulationStep();
>
> 2017-06-09 8:53 GMT-05:00 Andres Felipe Acosta Gil <[email protected]>:
>
>> Dear Santa and Jakob
>>
>> Sorry for the delay. I did not receive the attached files. Can you please
>> send them to me? I will try to study this issue in the meanwhile.
>>
>> Best Regards!
>>
>> 2017-06-08 21:22 GMT-05:00 Santa Maiti <[email protected]>:
>>
>>> Hi team,
>>>
>>> Is there any clue? I'm stuck with this issue.
>>>
>>> Thanks,
>>> Santa
>>>
>>> On Wed, Jun 7, 2017 at 4:34 PM, Jakob Erdmann <
>>> [email protected]> wrote:
>>>
>>>> Dear Andres,
>>>> can you please take a look and check whether this crash comes from the
>>>> client or the server side?
>>>> thanks,
>>>> Jakob
>>>>
>>>> 2017-06-07 7:18 GMT+02:00 Santa Maiti <[email protected]>:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm installed SUMO 0.30.0 for Windows (64 bit) and using TraCI4Matlab
>>>>> to
>>>>> handle simulation from matlab.
>>>>>
>>>>> In the middle of simulation, the sumo-gui.exe crashes while executing
>>>>> "traci.simulationStep()" for a step. I've navigated and found, it is
>>>>> crashing when executing activeConnection.dos.write(message.string);
>>>>>  in sendExact.m file.
>>>>>
>>>>> no error msg is displayed. I've checked the "message.string". It is
>>>>> proper
>>>>> like all prev steps
>>>>> 1×6 uint8 row vector
>>>>>    6   2   0   0   0   0
>>>>>
>>>>> Please find the attached files and run the matlab file to replicate the
>>>>> issue. Any help is appreciated.
>>>>>
>>>>> Thanks,
>>>>> Santa
>>>>> --
>>>>> Santa Maiti,
>>>>> Ph.D Student,
>>>>> Geomatics, Department of Infrastructure Engineering,
>>>>> University of Melbourne.
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> sumo-user mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Santa Maiti,
>>> Ph.D Student,
>>> Geomatics, Department of Infrastructure Engineering,
>>> University of Melbourne.
>>>
>>
>>
>>
>> --
>> Andres Felipe Acosta Gil, MSc student - Software developer
>> Universidad Nacional de Colombia - Medellín
>> Facultad de Minas
>> Tel: +57 (4) 4255092 <(4)%204255092>
>> Institutional e-mail: [email protected]
>>
>>
>>
>
>
> --
> Andres Felipe Acosta Gil, MSc student - Software developer
> Universidad Nacional de Colombia - Medellín
> Facultad de Minas
> Tel: +57 (4) 4255092
> Institutional e-mail: [email protected]
>
>
>


-- 
Santa Maiti,
Ph.D Student,
Geomatics, Department of Infrastructure Engineering,
University of Melbourne.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to