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

Re: git-fetch in 1.5.4 fails versus 1.5.3.8

From
Jeff King <peff@peff.net>
Date
Feb 7, 2008, 11:06 UTC
Message-ID
<20080207110601.GA8488@coredump.intra.peff.net>
In-Reply-To
<pan.2008.02.07.10.15.05@progsoc.org>
On Thu, Feb 07, 2008 at 10:15:02AM +0000, Anand Kumria wrote:
Show 5 quoted lines
> > OK, I was finally able to reproduce your bug. It seems that it _only_
> > happens when using curl built against gnutls. I built against the
> > libcurl4-openssl-dev in Debian unstable, and the problem goes away.
> 
> Thanks for figuring out how to reproduce it ... how did you btw?

I saw the gnutls error message in your output and took a guess that it was related. I was able to reproduce against the first https repository that I tried (I don't think it has anything to do with the repository).

I wish we could more certainly blame it on something besides git, though. I can't reproduce it using just 'curl', so it's possible that there is a problem with the way git is calling libcurl.

Show 6 quoted lines
> It appears that git 1.5.3.8 on Debian links to libcurl3-gnutls whereas, 
> at least for me, git 1.5.4 on Debian links to libcurl4-gnutls 
> (or libcurl4-openssl).
> 
> I agree with you, it is a bit problematic when the library (curl) relies
> on another library (gnutls) and the bottom one is having a problem.

It would be nice if we could generate a minimal test case that demonstrates the problem, but I can't seem to reproduce it with a smaller program. If we could, then we could probably get advice from curl and/or gnutls people.

-Peff
Previous: Anand KumriaNext: Mike Hommey
Message 8 of 44 in “git-fetch in 1.5.4 fails versus 1.5.3.8”
  1. Anand KumriaFeb 4, 2008
  2. Jeff KingFeb 5, 2008
  3. Jari AaltoFeb 5, 2008
  4. Anand KumriaFeb 6, 2008
  5. Jeff KingFeb 7, 2008
  6. Mike HommeyFeb 7, 2008
  7. Anand KumriaFeb 7, 2008
  8. Jeff KingFeb 7, 2008
  9. Mike HommeyFeb 7, 2008
  10. Jeff KingFeb 7, 2008
  11. Mike HommeyFeb 7, 2008
  12. Jeff KingFeb 8, 2008
  13. Mike HommeyFeb 8, 2008
  14. Mike HommeyFeb 8, 2008
  15. Work around curl-gnutls not liking to be reinitializedMike Hommey, Feb 8, 2008
  16. Mike HommeyFeb 8, 2008
  17. Junio C HamanoFeb 8, 2008
  18. Mike HommeyFeb 8, 2008
  19. Mike HommeyFeb 8, 2008
  20. Work around curl-gnutls not liking to be reinitializedMike Hommey, Feb 8, 2008
  21. Johannes SchindelinFeb 8, 2008
  22. Work around curl-gnutls not liking to be reinitializedMike Hommey, Feb 8, 2008
  23. Mike HommeyFeb 8, 2008
  24. Work around curl-gnutls not liking to be reinitializedMike Hommey, Feb 9, 2008
  25. Daniel StenbergFeb 9, 2008
  26. Florian WeimerFeb 9, 2008
  27. Mike HommeyFeb 9, 2008
  28. Johannes SchindelinFeb 8, 2008
  29. Mike HommeyFeb 8, 2008
  30. Jeff KingFeb 9, 2008
  31. Frank LichtenheldFeb 7, 2008
  32. Linus TorvaldsFeb 7, 2008
  33. Frank LichtenheldFeb 7, 2008
  34. Linus TorvaldsFeb 7, 2008
  35. Anand KumriaFeb 7, 2008
  36. Jeff KingFeb 7, 2008
  37. Linus TorvaldsFeb 7, 2008
  38. Martin LanghoffFeb 7, 2008
  39. Dmitry PotapovFeb 7, 2008
  40. Jeff KingFeb 7, 2008
  41. Jeff KingFeb 7, 2008
  42. Dmitry PotapovFeb 7, 2008
  43. Anand KumriaFeb 8, 2008
  44. Dmitry PotapovFeb 8, 2008

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.