{"thread":{"id":"27621","subject":"error: error in sideband demultiplexer","startedAt":"2011-06-14T12:20:32Z","lastAt":"2011-06-14T19:32:13Z","messageCount":3,"participants":["Richard Shaw","Jeff King","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"169997","messageId":"9E9413C214124A0980AADBDFAD7DF28E@aggress.net","threadId":"27621","inReplyTo":null,"subject":"error: error in sideband demultiplexer","fromName":"Richard Shaw","fromEmail":"richard@aggress.net","sentAt":"2011-06-14T12:20:32Z","receivedAt":"2011-06-14T12:20:32Z","isPatch":false,"sender":{"key":"richard@aggress.net","avatar":null},"body":"Hi,\n\nCould someone please give me an explanation of what the following error message means:\n\nerror: error in sideband demultiplexer\n\nI'm seeing this intermittently when pushing up to a remote master with a post-receive hook and want to fix it, but no luck to date.\n\nThanks in advance\n\nRichard \n"},{"id":"170015","messageId":"20110614164943.GA26764@sigill.intra.peff.net","threadId":"27621","inReplyTo":"9E9413C214124A0980AADBDFAD7DF28E@aggress.net","subject":"Re: error: error in sideband demultiplexer","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2011-06-14T16:49:43Z","receivedAt":"2011-06-14T16:49:43Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Jun 14, 2011 at 01:20:32PM +0100, Richard Shaw wrote:\n\n> Could someone please give me an explanation of what the following error message means:\n> \n> error: error in sideband demultiplexer\n\nThe git protocol generally operates over a single stream. Most of that\nstream will have object data on it, but we also want to be able to pass\ninformational messages. So there is a \"sideband\", which works something\nlike:\n\n  1. The remote end puts a header at the beginning of each packet\n     telling us whether it's for the data stream or the sideband.\n\n  2. We either fork or start a thread to read the data from the remote\n     and demultiplex it. If it's sideband, we output it to stderr. If\n     it's data, we pass it on to the main git program.\n\nThe error message indicates that the thread or forked process\nimplementing the sideband demultiplexer returned an error in its exit\ncode. Usually it will have printed some other error message already that\nis more specific, but you may have found a case where it doesn't.\n\nWhich platform are you on? Are you building with threads (i.e., are you\nsetting NO_PTHREADS)? Are there any other error messages? If not, is it\npossible to use \"strace -f\" to get a trace that shows the error?\n\n-Peff\n"},{"id":"170025","messageId":"7vhb7sky4i.fsf@alter.siamese.dyndns.org","threadId":"27621","inReplyTo":"20110614164943.GA26764@sigill.intra.peff.net","subject":"Re: error: error in sideband demultiplexer","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-06-14T19:32:13Z","receivedAt":"2011-06-14T19:32:13Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeff King <peff@peff.net> writes:\n\n> On Tue, Jun 14, 2011 at 01:20:32PM +0100, Richard Shaw wrote:\n>\n>> Could someone please give me an explanation of what the following error message means:\n>> \n>> error: error in sideband demultiplexer\n>\n> The git protocol generally operates over a single stream. Most of that\n> stream will have object data on it, but we also want to be able to pass\n> informational messages. So there is a \"sideband\", which works something\n> like:\n>\n>   1. The remote end puts a header at the beginning of each packet\n>      telling us whether it's for the data stream or the sideband.\n>\n>   2. We either fork or start a thread to read the data from the remote\n>      and demultiplex it. If it's sideband, we output it to stderr. If\n>      it's data, we pass it on to the main git program.\n>\n> The error message indicates that the thread or forked process\n> implementing the sideband demultiplexer returned an error in its exit\n> code. Usually it will have printed some other error message already that\n> is more specific, but you may have found a case where it doesn't.\n>\n> Which platform are you on? Are you building with threads (i.e., are you\n> setting NO_PTHREADS)? Are there any other error messages? If not, is it\n> possible to use \"strace -f\" to get a trace that shows the error?\n\nAnother common question to ask is...\n\nDo you have something funky in dot files under $HOME on the remote side\n(e.g. .bash_profile or .login) that cause the process started by the\nnon-interactive ssh session we make to the remote end give extra output?\n\nIOW,\n\n    $ ssh that-remote-site \"cat /dev/null\"\n\nshould not give us any extra \"greeting\".\n"}]}