{"thread":{"id":"63753","subject":"Git bash 2.50.0(2) not working on windows 11 PRO 64bit","startedAt":"2025-07-07T12:18:21Z","lastAt":"2025-07-18T00:09:19Z","messageCount":6,"participants":["Fabio Frumento","brian m. carlson","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"521435","messageId":"C4F62B0F-1729-437B-B9C0-0FEA74B307E0@gmail.com","threadId":"63753","inReplyTo":null,"subject":"Git bash 2.50.0(2) not working on windows 11 PRO 64bit","fromName":"Fabio Frumento","fromEmail":"frumento.fabio@gmail.com","sentAt":"2025-07-07T12:18:08Z","receivedAt":"2025-07-07T12:18:21Z","isPatch":false,"sender":{"key":"frumento.fabio@gmail.com","avatar":null},"body":"Hi,\n\nAfter upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt window shortly appears and close immediately, downgrading to 2.49 solve the issue\n\nSo 2.50 don’t work on windows 11 Pro \n\nKind regards\n\nFabio Frumento\n\n"},{"id":"521529","messageId":"aGz95cpfS0s4zsMc@fruit.crustytoothpaste.net","threadId":"63753","inReplyTo":"C4F62B0F-1729-437B-B9C0-0FEA74B307E0@gmail.com","subject":"Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2025-07-08T11:15:49Z","receivedAt":"2025-07-08T11:15:56Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On 2025-07-07 at 12:18:08, Fabio Frumento wrote:\n> Hi,\n\nHi,\n\n> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt window shortly appears and close immediately, downgrading to 2.49 solve the issue\n> \n> So 2.50 don’t work on windows 11 Pro\n\nThe Git project doesn't ship any binaries, only source code, and we\ndon't ship bash at all.  The Git for Windows project, however, does ship\nGit bash, and you can report this problem to them at\nhttps://github.com/git-for-windows/git/issues.\n\nI would suggest reading the contributor documentation and seeing if you\ncan pin down more about why it's not working, since the report as it\nstands seems unlikely to be resolved.  I feel confident that Git for\nWindows 2.50 actually works fine for many people on Windows 11 Pro, so\nthe more information you can provide about what might be going on, the\nmore likely it is that your bug will be addressed.\n\nBest of luck with your problem.\n-- \nbrian m. carlson (they/them)\nToronto, Ontario, CA\n"},{"id":"522220","messageId":"572ec2d0-b587-9cf1-7643-1a0f3e59c268@gmx.de","threadId":"63753","inReplyTo":"C4F62B0F-1729-437B-B9C0-0FEA74B307E0@gmail.com","subject":"Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2025-07-17T17:26:21Z","receivedAt":"2025-07-17T17:26:25Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Fabio,\n\nOn Mon, 7 Jul 2025, Fabio Frumento wrote:\n\n> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt\n> window shortly appears and close immediately, downgrading to 2.49 solve\n> the issue\n> \n> So 2.50 don’t work on windows 11 Pro \n\nMaybe v2.50.1 does?\n\nIf not, please run `& \"C:\\Program Files\\Git\\bin\\bash.exe\" -li` and see\nwhether that reproduces the error (in which case the terminal window won't\nclose immediately, giving you ample time to copy/paste the error message).\n\nCiao,\nJohannes\n"},{"id":"522221","messageId":"af2ab4ad-51d0-7b88-a0aa-6063e3857d4b@gmx.de","threadId":"63753","inReplyTo":"572ec2d0-b587-9cf1-7643-1a0f3e59c268@gmx.de","subject":"Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2025-07-17T17:27:50Z","receivedAt":"2025-07-17T17:27:54Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Fabio,\n\nOn Thu, 17 Jul 2025, Johannes Schindelin wrote:\n\n> On Mon, 7 Jul 2025, Fabio Frumento wrote:\n> \n> > After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt\n> > window shortly appears and close immediately, downgrading to 2.49 solve\n> > the issue\n> > \n> > So 2.50 don’t work on windows 11 Pro \n> \n> Maybe v2.50.1 does?\n> \n> If not, please run `& \"C:\\Program Files\\Git\\bin\\bash.exe\" -li` and see\n\nI meant to add \"in a PowerShell session\" here, but forgot...\n\nSorry about that,\nJohannes\n\n> whether that reproduces the error (in which case the terminal window won't\n> close immediately, giving you ample time to copy/paste the error message).\n> \n> Ciao,\n> Johannes\n"},{"id":"522254","messageId":"CA6C88DE-F21A-4146-BC69-E68276FAF592@gmail.com","threadId":"63753","inReplyTo":"60796326-CA62-4AC6-82F9-4F1943428645@gmail.com","subject":"Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit","fromName":"Fabio Frumento","fromEmail":"frumento.fabio@gmail.com","sentAt":"2025-07-17T22:44:42Z","receivedAt":"2025-07-17T22:44:57Z","isPatch":false,"sender":{"key":"frumento.fabio@gmail.com","avatar":null},"body":"Hi Johannes,\n\nOk seems the issue is with bash.exe, if run with —norc option it start and I can use bash, sadly git-bash start it with —login -I -v so no way to have git-bahs running\n\nI’ve recorded the screen and captured the cmd window during startup (it immediately close, just a frame) hope this could be of any help\n\nCIao\n\nFabio\n\n\n\n\n> Il giorno 18 lug 2025, alle ore 00:24, Fabio Frumento <frumento.fabio@gmail.com> ha scritto:\n> \n> Hi Johannes,\n> \n> Thanks for the suggestion\n> \n> Yes already tested, same problem\n> \n> When launched by double-click or invoked in a CMD or powershell the usual black windows quickly popup and then close\n> \n> In cmd no error message is written, it simply open and immediately close\n> \n> Other tools like git-gui and git itself seems to work, it’s just git-bash not working\n> \n> Kind regards\n> \n> Fabio\n> \n>> Il giorno 17 lug 2025, alle ore 19:27, Johannes Schindelin <Johannes.Schindelin@gmx.de> ha scritto:\n>> \n>> Hi Fabio,\n>> \n>> On Thu, 17 Jul 2025, Johannes Schindelin wrote:\n>> \n>>> On Mon, 7 Jul 2025, Fabio Frumento wrote:\n>>> \n>>>> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt\n>>>> window shortly appears and close immediately, downgrading to 2.49 solve\n>>>> the issue\n>>>> \n>>>> So 2.50 don’t work on windows 11 Pro \n>>> \n>>> Maybe v2.50.1 does?\n>>> \n>>> If not, please run `& \"C:\\Program Files\\Git\\bin\\bash.exe\" -li` and see\n>> \n>> I meant to add \"in a PowerShell session\" here, but forgot...\n>> \n>> Sorry about that,\n>> Johannes\n>> \n>>> whether that reproduces the error (in which case the terminal window won't\n>>> close immediately, giving you ample time to copy/paste the error message).\n>>> \n>>> Ciao,\n>>> Johannes\n> \n> \n\n"},{"id":"522264","messageId":"924B7F4A-F03C-4AE4-8162-953B1FDE6B8C@gmail.com","threadId":"63753","inReplyTo":"CA6C88DE-F21A-4146-BC69-E68276FAF592@gmail.com","subject":"Re: Git bash 2.50.0(2) not working on windows 11 PRO 64bit","fromName":"Fabio Frumento","fromEmail":"frumento.fabio@gmail.com","sentAt":"2025-07-18T00:09:04Z","receivedAt":"2025-07-18T00:09:19Z","isPatch":false,"sender":{"key":"frumento.fabio@gmail.com","avatar":null},"body":"I’m trying to nail down the issue and bash quit without any message while loading the bash.bashrc file in /etc\n\nThe offending line is 57 \n\n\"$(declare -p PS1 2>/dev/null)”\n\nIf I comment the related line and leave just \n\nexport PS1='\\[\\e]0;\\w\\a\\]\\n\\[\\e[32m\\]\\u@\\h \\[\\e[35m\\]$MSYSTEM\\[\\e[0m\\] \\[\\e[33m\\]\\w\\[\\e[0m\\]\\n'\"${_ps1_symbol}\"’ '\n\nBash continues but then crash loading /etc/profile.d/git-prompt.sh\n\nThen the offending line is 22\n\nGIT_EXEC_PATH=\"$(git --exec-path 2>/dev/null)”\n\nSo I tried to run a simple:\n\nVARIABLE=$(ls -al)\n\nAnd guess what? bash crashed without any message\n\nSo it seems like any $(command) occurrence is crashing bash \n\nHope this could help to solve the issue, but the main question is: Am I the only one with this issue? Could it depend on some local configuration?\n\n\n\n\n\n> Il giorno 18 lug 2025, alle ore 00:44, Fabio Frumento <frumento.fabio@gmail.com> ha scritto:\n> \n> Hi Johannes,\n> \n> Ok seems the issue is with bash.exe, if run with —norc option it start and I can use bash, sadly git-bash start it with —login -I -v so no way to have git-bahs running\n> \n> I’ve recorded the screen and captured the cmd window during startup (it immediately close, just a frame) hope this could be of any help\n> \n> CIao\n> \n> Fabio\n> \n> <Screenshot 2025-07-18 alle 00.41.04.png>\n>> Il giorno 18 lug 2025, alle ore 00:24, Fabio Frumento <frumento.fabio@gmail.com> ha scritto:\n>> \n>> Hi Johannes,\n>> \n>> Thanks for the suggestion\n>> \n>> Yes already tested, same problem\n>> \n>> When launched by double-click or invoked in a CMD or powershell the usual black windows quickly popup and then close\n>> \n>> In cmd no error message is written, it simply open and immediately close\n>> \n>> Other tools like git-gui and git itself seems to work, it’s just git-bash not working\n>> \n>> Kind regards\n>> \n>> Fabio\n>> \n>>> Il giorno 17 lug 2025, alle ore 19:27, Johannes Schindelin <Johannes.Schindelin@gmx.de> ha scritto:\n>>> \n>>> Hi Fabio,\n>>> \n>>> On Thu, 17 Jul 2025, Johannes Schindelin wrote:\n>>> \n>>>> On Mon, 7 Jul 2025, Fabio Frumento wrote:\n>>>> \n>>>>> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt\n>>>>> window shortly appears and close immediately, downgrading to 2.49 solve\n>>>>> the issue\n>>>>> \n>>>>> So 2.50 don’t work on windows 11 Pro\n>>>> \n>>>> Maybe v2.50.1 does?\n>>>> \n>>>> If not, please run `& \"C:\\Program Files\\Git\\bin\\bash.exe\" -li` and see\n>>> \n>>> I meant to add \"in a PowerShell session\" here, but forgot...\n>>> \n>>> Sorry about that,\n>>> Johannes\n>>> \n>>>> whether that reproduces the error (in which case the terminal window won't\n>>>> close immediately, giving you ample time to copy/paste the error message).\n>>>> \n>>>> Ciao,\n>>>> Johannes\n>> \n>> \n> \n\n"}]}