Apm planner 2.0 crashes in windows when connected to Joystic


I’ve connected logitech extreme 3D pro joystick with apm planner 2 and when i open file -> joystick, the software crashes and this error occurs:
apmplanner2.exe caused an Access Violation at location 005D537B in module apmplanner2.exe Reading from location 00000000.

It works fine with MacOS.

Please help


There needs to be an update to the windows distribution to fix the SDL library shipped.