Language: JavaScript
I used example from wiki (https://wiki.gtaconnected.com/ScriptingExamples/EnterVehicleAsPassenger)
According to my observations, the crash occurs at the moment of entering vehicle. While the character is running, the game works.
dump file (https://drive.google.com/file/d/1LheWQe_wzLSNqmd9l6duIjmz-mwyHmdA/view?usp=drive_link)