git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Gui: Branch->create currently fails...

From
Philip Oakley <philipoakley@iee.email>
Date
Oct 14, 2019, 22:11 UTC
Message-ID
<dc8a9b93-a2e7-4fbf-0ea7-f1a855f4b926@iee.email>
In-Reply-To
<20191014175747.llstv7oxba2c23qy@yadavpratyush.com>
On 14/10/2019 18:57, Pratyush Yadav wrote:
Show 15 quoted lines
>> list "refs/heads/MSVC-README" [list "commit"
>> "056fb95c8e983ec07e9f5f8baa0b119bf3d13fed" [concat "" "Philip Oakley"]
>> [reformat_date [concat "" "Sun May 19 22:33:37 2019 +0100"]]
>> "compat/vcSegmentation fault
>>
>>
>> Not exactly the same, but almost. Ends the same place, with as similar short
>> line.
>> This is run inside the bash that is started directly by the git-for-windows
>> sdk start icon. (Target: C:\git-sdk-64\git-bash.exe   Stat in:
>> C:/git-sdk-64/)
>>
>> so looks to be MSYS2/bash related.
> Ah, so it is an upstream issue. I guess we can just report it and wait
> for them to fix it.

I'd missed the final 'Segmentation fault' on the last line in the bash output that wasn't there for the captured file.

That was repeatable in re-testing. But failed if I changed the $fmt string to a plain text 500 char string ("1234567890123...").

I've still to trim down the complicated $fmt string to see if I can see where that seg fault starts (i.e. some form of MVCE), so that it can be investigated. Possibly should check if the --tcl flag actually invokes any tcl! Otherwise it's fully in the Git/G-f-W zone.

... Just rebuilt (I hope) the Windows Subsystem for Linux (WSL) with git v2.23.0 installed and got:

list "refs/heads/MSVC-README" [list "commit" "056fb95c8e983ec07e9f5f8baa0b119bf3d13fed" [concat "" "Philip Oakley"] [reformat_date [concat "" "Sun May 19 22:33:37 2019 +0100"]] "compat/vcbuild/README: clean/update 'vcpkg' env for Visual Studio updates"] [list "" "" "" [reformat_date ""] ""] munmap_chunk(): invalid pointer Aborted (core dumped) root@Philip-Win10:/mnt/c/git-sdk-64/usr/src/git#

That said, haven't got the gitk and git gui to work yet on the WSL because it doesn't like the tcl/tk.

It's a bit of a hole digging exercise.
Philip
Previous: Pratyush YadavNext: Pratyush Yadav
Message 8 of 10 in “Git Gui: Branch->create currently fails...”
  1. Philip OakleyOct 7, 2019
  2. Philip OakleyOct 7, 2019
  3. Pratyush YadavOct 8, 2019
  4. Philip OakleyOct 12, 2019
  5. Pratyush YadavOct 13, 2019
  6. Philip OakleyOct 14, 2019
  7. Pratyush YadavOct 14, 2019
  8. Philip OakleyOct 14, 2019
  9. Pratyush YadavOct 16, 2019
  10. Philip OakleyOct 18, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.