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

Re: Puzzling Git backtrace

From
Bryan Turner <bturner@atlassian.com>
Date
Mar 28, 2019, 02:59 UTC
Message-ID
<CAGyf7-EeeuaHKwn776i4YfFEX_rckKoszvn+K5mtD-aAafT=7w@mail.gmail.com>
In-Reply-To
<20190328014957.GA7887@sigill.intra.peff.net>
On Wed, Mar 27, 2019 at 6:50 PM Jeff King <peff@peff.net> wrote:
Show 23 quoted lines
>
> On Wed, Mar 27, 2019 at 05:49:27PM -0700, Bryan Turner wrote:
>
> > I'm trying to assist a Bitbucket Server customer who is seeing some
> > "git-upload-pack" processes "hang" on their server.
> >
> > While investigating, we had them connect gdb to their processes (which
> > are 2.10.0 built from source using a simple unzip-and-run-make
> > approach) and get the backtraces for them. The output that they're
> > seeing makes no sense to me, though, so I'm throwing this out to the
> > list just to see if anyone has any idea how the processes could end up
> > like this.
>
> upload-pack didn't become a builtin until v2.18, so...
>
> > When they attached to 32433 and printed its backtrace, though, things
> > go a little sideways:
> >
> > (gdb) attach 32433
> > Attaching to program: /usr/bin/git, process 32433
>
> The debugger needs to be using git-upload-pack as its executable, not
> "git".
Derp. Of course. Sorry, clearly it's been too long since I used C in anger!

Thanks for taking the time to point out what should have been obvious, and for doing it so kindly!

Bryan
Previous: Jeff King
Message 3 of 3 in “Puzzling Git backtrace”
  1. Bryan TurnerMar 28, 2019
  2. Jeff KingMar 28, 2019
  3. Bryan TurnerMar 28, 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.