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

Re: error: git-remote-https died of signal 13

From
Daniel Stenberg <daniel@haxx.se>
Date
Nov 24, 2013, 22:13 UTC
Message-ID
<alpine.DEB.2.00.1311242310050.3070@tvnag.unkk.fr>
In-Reply-To
<20131124155439.GA8047@sigill.intra.peff.net>
On Sun, 24 Nov 2013, Jeff King wrote:
> Hmm. The fix in curl's 7d80ed64e435155 seems to involve strategically placed 
> calls to ignore SIGPIPE. I wonder if there is another spot that needs 
> similar treatment. It looks like curl_easy_cleanup is covered, though, and 
> that's where I would expect problem to come.
Sounds like a plausible reason.
Show 7 quoted lines
> It would be interesting to see a backtrace from remote-curl when we get the 
> SIGPIPE. Doing so would be slightly tricky; instrumenting with the patch 
> below may be enough.
>
> Another thought is that the curl fix seems to only kick in when built with 
> openssl support.  I'm not sure I understand how ubuntu's packaging of curl 
> uses gnutls versus openssl for the shared library. That may be related.

I'm only aware of a SIGPIPE problem with openssl that can make it write to the socket in some situations when the remote end is no longer there - something we can't prevent it from doing.

I *believe* the problem doesn't exist in the similar way when built to use gnutls, but I may of course be wrong.

-- 
  / daniel.haxx.se
Previous: Jeff KingNext: brian m. carlson
Message 20 of 22 in “error: git-remote-https died of signal 13”
  1. Stefan BellerNov 23, 2013
  2. Jeff KingNov 24, 2013
  3. Stefan BellerNov 24, 2013
  4. Jeff KingNov 24, 2013
  5. Stefan BellerNov 24, 2013
  6. Jeff KingNov 24, 2013
  7. Stefan BellerNov 24, 2013
  8. Stefan BellerNov 24, 2013
  9. Jeff KingNov 25, 2013
  10. Daniel StenbergNov 25, 2013
  11. Jeff KingNov 25, 2013
  12. 1/2 factor out sigpipe_reset from easy.cJeff King, Nov 25, 2013
  13. 2/2 ignore SIGPIPE during curl_multi_cleanupJeff King, Nov 25, 2013
  14. Daniel StenbergNov 27, 2013
  15. curlUserMay 22, 2018
  16. Daniel StenbergMay 22, 2018
  17. curlUserMay 22, 2018
  18. dxt29Aug 3, 2018
  19. Jeff KingNov 25, 2013
  20. Daniel StenbergNov 24, 2013
  21. brian m. carlsonNov 24, 2013
  22. Daniel StenbergMay 22, 2018

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.