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

[BUG] "stg pull" on qgit tree shows problems, including git-http-fetch segfault

From
Yann Dirson <ydirson@altern.org>
Date
May 20, 2006, 12:58 UTC
Message-ID
<20060520125804.GG6535@nowhere.earth>

With "master" branch pointing to tags/qgit-1.2~17 and "origin" to 0a327c900530d9dd293cd252894a24913d4172c3, with no patch applied on "master" stack, using stgit 0.9 and git 1.3.2:

$ stg pull Pulling from "origin"... Fetching refs/heads/master from http://digilander.libero.it/mcostalba/scm/qgit.git using http got 5d0d2f1703976e04c6db1e55ea6a044981b9ed20 walk 5d0d2f1703976e04c6db1e55ea6a044981b9ed20 [...] got 1f151284442358eee6da80394585491295c94380 error: File 24bd6f23c6d0161f7e775a0e6ab767725b6344ab (http://digilander.libero.it/mcostalba/scm/qgit.git/objects/f7/dc43059ca42dec2ea7214a33d1ff3c35e0aca5) corrupt Getting pack list for http://digilander.libero.it/mcostalba/scm/qgit.git/ got 63dc5a19ec0ac37fec09e4023cd51a62eb3efa15 [...] got 53563b4b6b32ba7ea184a4eeb555db76e276c8a6 error: XML error: syntax error got 73c20d6d667ff3860718d5e1382e686531360082 [...] got 0219d8723f9a4fa562d99eb0840741112a13466d error: The requested URL returned error: 405 Getting alternates list for http://digilander.libero.it/mcostalba/scm/qgit.git/ got 33e3b252eb5dbe84116a858136b9b35fe43bf768 Also look at <meta http-equiv="Refresh" content="5;URL=http://digiland.libe Also look at <BASE HREF="http://digiland.liber /usr/bin/git-fetch: line 268: 3725 Segmentation fault git-http-fetch -v -a "$head" "$remote/" stg pull: Failed "git-pull origin"

Running "stg pull" again gives only another "XML error", and finishes the pull.

After unpacking all packs (mv .git/objects/pack and git-unpack-object the contents) to be sure pruning does force everything to be re-fetched, the following commands allow to reproduce the problem:

 git-rev-parse tags/qgit-1.2~17 > .git/refs/heads/master 
 git-rev-parse tags/qgit-1.2~17 > .git/refs/bases/master 
 echo 0a327c900530d9dd293cd252894a24913d4172c3 >.git/refs/heads/origin 
 git-prune
 cg-reset
 stg pull

Output then reproducibly goes like the above, if one reruns the same 6 commands repeatedly, though the fetch order is not deterministic, which may explain slight differences in the output.

Using current HEAD git instead of 1.3.2 does not improve things.
Best regards,
-- 
Yann Dirson    <ydirson@altern.org> |
Debian-related: <dirson@debian.org> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>
Next: Yann Dirson
Message 1 of 3 in “[BUG] "stg pull" on qgit tree shows problems, including git-http-fetch segfault”
  1. Yann DirsonMay 20, 2006
  2. Yann DirsonMay 20, 2006
  3. Marco CostalbaMay 20, 2006

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.