I'm glad you figured it out. Still, it shouldn't crash on you, what can happen is if you hold ctrl and move forward, you'll be pressing ctrl+w which is a shortcut that closes the browser tab. I didn't make it clear, but crouching is a toggle, meaning you only press ctrl once, not hold it.