-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Airsim crashes during training #94
Comments
Fatal error: [File:/home/madratman/projects/UnrealEngine/4.22/UnrealEngine/Engine/Source/Runtime/Core/Private/Unix/UnixPlatformMemory.cpp] [Line: 776] same problem |
So this time have been not loading the level but just reseting it. Could you please look into this error and report back with a solution asap- `` Signal 6 caught. |
@Ujwal2910 we just updated the binaries with a fix to these reset bugs. can you please re-download airsim.zip and let us know if it works now? |
Yeah i tested that. The simulation still crashes giving the following log- [2019.10.22-08.53.54:677][315]LogCore: Fatal error! 0x0000000002747307 AirSimExe!UnknownFunction(0x2547307) [2019.10.22-08.53.54:718][315]LogExit: Executing StaticShutdownAfterError Also for reset i am using the following snippet-
Is this fine and if not can you suggest me a different snippet to restart the episode? |
@Ujwal2910 my bad. Please re-download AirSim.zip Yeah, you don't need to update the pythonclient. just ensure it's airsimneurips v1.0 |
hasn't improved. Still crashes after almost the same time- ` ` |
We have fixed a couple more crash cases in the binaries. Please re-download and give them a try. |
No still crashes and now even early. |
@Ujwal2910 can you give us a script to reproduce this? I testing the current binaries with the script above and am not seeing any crashes. def dummy_reset(baseline_racer, drone_names, tier):
baseline_racer.airsim_client.simPause(True)
baseline_racer.airsim_client.reset()
for drone_name in drone_names:
baseline_racer.airsim_client.enableApiControl(vehicle_name=drone_name)
baseline_racer.airsim_client.arm(vehicle_name=drone_name)
baseline_racer.airsim_client.simPause(False) # unpause sim to simresetrace works as it's supposed to
baseline_racer.airsim_client.simResetRace()
baseline_racer.airsim_client.simStartRace(tier=tier) |
Hey @Ujwal2910. Any updates on this? Please see discussions in #77 and #104 |
Hey @madratman, Thanks for the dummy_reset function. The simulator hasn't crashed at all the everything seems to be working completely fine. I can now finally start the traning. |
Awesome, thanks for your patience Ujwal. Glad it's working now! |
The crash has started again. Crash log- Signal 11 caught. could you update after looking into this? |
Did you change anything when you say "started again"? See discussion here #123 (comment) |
The simulator has been crashing an awful lot of times. After i start the training, usually after 300 or 200 steps the simulator crashes. This was the last log after the crash -
[2019.10.17-14.13.10:666][798]LogLevel: WORLD TRANSLATION END {-1810, -860, 172} took 0.3551 ms [2019.10.17-14.13.43:011][801]LogLevel: WORLD TRANSLATION BEGIN {-1810, -860, 172} -> {0, 0, 0} [2019.10.17-14.13.43:012][801]LogLevel: WORLD TRANSLATION END {0, 0, 0} took 0.3122 ms [2019.10.17-14.13.43:121][801]LogPackageName: SearchForPackageOnDisk took 0.109s to resolve Soccer_Field_Easy. [2019.10.17-14.13.43:122][801]LogStreaming: Display: ULevelStreaming::RequestLevel(/MSBuild2018/Maps/Soccer_Field_Easy_LevelInstance_12) is flushing async loading [2019.10.17-14.13.43:123][801]LogStreaming: Display: Flushing async loaders. [2019.10.17-14.13.43:161][802]LogUObjectHash: Compacting FUObjectHashTables data took 3.60ms [2019.10.17-14.13.44:131][862]LogTemp: spawning player [2019.10.17-14.13.44:143][862]LogLevel: WORLD TRANSLATION BEGIN {0, 0, 0} -> {-1810, -860, 172} [2019.10.17-14.13.44:144][862]LogLevel: WORLD TRANSLATION END {-1810, -860, 172} took 0.3570 ms [2019.10.17-14.14.25:888][445]LogLevel: WORLD TRANSLATION BEGIN {-1810, -860, 172} -> {0, 0, 0} [2019.10.17-14.14.25:888][445]LogLevel: WORLD TRANSLATION END {0, 0, 0} took 0.2592 ms [2019.10.17-14.14.25:993][445]LogPackageName: SearchForPackageOnDisk took 0.104s to resolve Soccer_Field_Easy. [2019.10.17-14.14.25:997][445]LogStreaming: Display: ULevelStreaming::RequestLevel(/MSBuild2018/Maps/Soccer_Field_Easy_LevelInstance_13) is flushing async loading [2019.10.17-14.14.25:997][445]LogStreaming: Display: Flushing async loaders. [2019.10.17-14.14.26:034][446]LogUObjectHash: Compacting FUObjectHashTables data took 3.03ms [2019.10.17-14.14.27:009][506]LogTemp: spawning player [2019.10.17-14.14.27:023][506]LogLevel: WORLD TRANSLATION BEGIN {0, 0, 0} -> {-1810, -860, 172} [2019.10.17-14.14.27:023][506]LogLevel: WORLD TRANSLATION END {-1810, -860, 172} took 0.5131 ms Signal 11 caught. Signal 11 caught. Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=65554 CommonUnixCrashHandler: Signal=11 Malloc Size=65535 LargeMemoryPoolOffset=131119 Malloc Size=119280 LargeMemoryPoolOffset=250416 Failed to find symbol file, expected location: "/home/ujwal/Nips Drone/AirSim/AirSimExe/Binaries/Linux/AirSimExe.sym" terminating with uncaught exception of type std::__1::system_error: close: Bad file descriptor Signal 6 caught. Malloc Size=77368 LargeMemoryPoolOffset=327800 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Segmentation fault (core dumped)
Could you please provide an update on this asap.
The text was updated successfully, but these errors were encountered: