An error occurred while reading sqlite3 data. After ruling out code issues, I felt the problem was with the toolchain, so I changed the Debug Setting from QT-MINGW to MINGW, but it still reported an error. Later, I found a reply in the jetbrains website solutions stating it was a MinGW bug, which was resolved after changing to vs debugger.
Original address: Debugger process finished with exit code -1073741819 (0xC0000005)