Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 11.0.1
Description
I have a CMake project in a git repository. Branch A is checked out and afterwards I made some changes in the local repository.
I want to commit these changes in a different branch and tried to do this from within QtCreator.
QtCreator 11.0.1 was installed via the Qt maintenance tool in de default location (/opt/Qt).
The following actions result around 50% of the times in a QtCreator crash:
- Open the above mentioned CMake project in QtCreator 11.0.1.
- Tools menu -> Git -> Local repository -> Branches...
- In the branches pane, right click on the branch that you want to checkout and in the context menu select 'Checkout'.
- A dialog pops up that asks: "Local changes found. Choose action:"
From the 3 provided options choose: "Move local changes to branch "feature/blabla". - Choose 'Ok'.
- Sometimes the version control output pane will show the following output:
15:48:17 Running in "/home/wdobbe/crdata/git/bsp_installer": /usr/bin/git stash list --no-color.
15:48:20 Running in "/home/wdobbe/crdata/git/bsp_installer": /usr/bin/git stash save 'QtCreator Checkout 2023-08-07T15:48:20'.
error: Entry 'core/include/ubootstates/ubootpingstate.h' not uptodate. Cannot merge.
Cannot save the current worktree state
The command "/usr/bin/git stash save 'QtCreator Checkout 2023-08-07T15:48:20'" terminated with exit code 1.
Cannot run "git stash save QtCreator Checkout 2023-08-07T15:48:20" in "/home/wdobbe/crdata/git/bsp_installer": error: Entry 'core/include/ubootstates/ubootpingstate.h' not uptodate. Cannot merge.
Cannot save the current worktree state
- Other times (around 50%) QtCreator will crash. Even though I installed the QtCreator debug information via the Qt maintenance tool, the core file of the QtCreator doesn't show any stack/backtrace information and reports that the debug information of the main executable is missing.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-32186 Crash in BranchModel
-
- Closed
-