Failed fly!

Greetings.
I am not new to pixhawk, just did few flights last month and they were perfect.
Now I am trying to make a new basic quad, using f450 frame, 30amp esc, 1000kv motors, 2200 mah 11.1v battery, 1045 props, and pixhawk 2.4.8 with gps, also using telemetry.
I did all the necessary calibrations, including accelerometer, compass(learn new offsets), rc calibration etc. I also had failsafe turned on, which was triggered to RTL when hitting 10.1 volts,GCS enabled.
I did my first flight and it failed, the quad lifted up, stabalized and then even when my stick was on 0 throttle, it kept on rising up and up, i wasnt able to disarm it. The quad was in stabalize mode. The quad fell on the ground wobbling and hurt my arm until i pulled its battery out.
Points to note are,

  1. I have pixhawk not on top of frame but in middle of frame, battery and gps mount are on top.
  2. After it fell, it showed bad battery on the screen of mission planner.
  3. The “H” (home location) was away from where the quad really was. I tried to arm and disarm multiple times but it always showed up on top of a building that was nearby and upon hovering mouse on H pin on the map, it showed “207”.
    After that I did not fly the quad because i was too hesitant that it will again go out of control.
    I am attaching few log files for your reference.
    PIXHAWK - Google Drive
    Requesting you all to help in this regard.
    Any help will be much appreciated.
    Regards.

Are you sure you are using PX4? sounds like you are using Ardupilot.

Regardless of which flight control software you are using, I would highly recommend you to set up a kill switch. Using this you can turn off all motors immediately using a switch on your remote, even when you can’t disarm it. As a consequence the drone will fall down if it’s in flight, but you can prevent it from harming you or others.
Here is the PX4 doc for the kill switch. In case of QGroundControl you set it in the Flight Modes Tab.

I’m sorry for the misunderstanding, but it says pixhawk 2.4.8 on my flight controller, I’m not sure what it is. Pls help.

Thanks for the valuable feedback, i will definitely implement it.

Also, how to determine what version should i flash in my pixhawk, like fmuv3 or 2 or px4 or just pixhawk?

pixhawk is the hardware. What software did you flash. PX4 or Ardupilot?

The log files are ArduPilot. Best to head over to discuss.ArduPilot.org for help analysing them.