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

Re: error: error in sideband demultiplexer

From
Jeff King <peff@peff.net>
Date
Jun 14, 2011, 16:49 UTC
Message-ID
<20110614164943.GA26764@sigill.intra.peff.net>
In-Reply-To
<9E9413C214124A0980AADBDFAD7DF28E@aggress.net>
On Tue, Jun 14, 2011 at 01:20:32PM +0100, Richard Shaw wrote:
> Could someone please give me an explanation of what the following error message means:
> 
> error: error in sideband demultiplexer

The git protocol generally operates over a single stream. Most of that stream will have object data on it, but we also want to be able to pass informational messages. So there is a "sideband", which works something like:

  1. The remote end puts a header at the beginning of each packet
     telling us whether it's for the data stream or the sideband.
  2. We either fork or start a thread to read the data from the remote
     and demultiplex it. If it's sideband, we output it to stderr. If
     it's data, we pass it on to the main git program.

The error message indicates that the thread or forked process implementing the sideband demultiplexer returned an error in its exit code. Usually it will have printed some other error message already that is more specific, but you may have found a case where it doesn't.

Which platform are you on? Are you building with threads (i.e., are you setting NO_PTHREADS)? Are there any other error messages? If not, is it possible to use "strace -f" to get a trace that shows the error?

-Peff
Previous: Richard ShawNext: Junio C Hamano
Message 2 of 3 in “error: error in sideband demultiplexer”
  1. Richard ShawJun 14, 2011
  2. Jeff KingJun 14, 2011
  3. Junio C HamanoJun 14, 2011

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.