{"thread":{"id":"27379","subject":"error 'cannot create thread' doing clone or fetch","startedAt":"2011-05-17T08:22:44Z","lastAt":"2011-05-27T16:21:56Z","messageCount":3,"participants":["Jesse Reynolds","Jeff King","Randy Brandenburg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"168051","messageId":"BANLkTi=p3CbQD_EzJATenGsxz5m3=KLtMA@mail.gmail.com","threadId":"27379","inReplyTo":null,"subject":"error 'cannot create thread' doing clone or fetch","fromName":"Jesse Reynolds","fromEmail":"jessedreynolds@gmail.com","sentAt":"2011-05-17T08:22:44Z","receivedAt":"2011-05-17T08:22:44Z","isPatch":false,"sender":{"key":"jessedreynolds@gmail.com","avatar":null},"body":"Hello\n\nI have just installed git 1.7.5 on Solaris 9, SPARC, using a package\nfrom sunfreeware.com. I've created a new repository with 'git init'\nand done a commit. Now I'm trying to set up a shared repository but it\nseems there is some issue preventing git from creating a thread for\nthe 'sideband demultiplexer'.\n\nFirst trying to do a git fetch --bare locally to create the shared\nrepository fails:\n\n$ git --bare init --shared\nInitialized empty shared Git repository in /pub/lots.git/\n$ git --bare fetch /home/jesse/src/lots master:master\nerror: cannot create thread: Unknown error\nfatal: fetch-pack: unable to fork off sideband demultiplexer\n$ Broken Pipe\n\nI worked around the above error by using 'git clone --bare' instead.\nBut now from a remote box I'm unable to do a clone over ssh for the\nsame reason:\n\n$ git clone ssh://test03/pub/lots.git\nCloning into lots...\nerror: cannot create thread: Unknown error\nfatal: fetch-pack: unable to fork off sideband demultiplexer\n$ error: git upload-pack: git-pack-objects died with error.\nfatal: git upload-pack: aborting due to possible repository corruption\non the remote side.\n\nAny help greatly appreciated.\n\nI've searched the mailing list and online and can't seem to find\nanyone else having this issue. Then again my search skills don't seem\nto be what they once used to be!\n\nCheers\nJesse\n"},{"id":"168053","messageId":"20110517114754.GA13176@sigill.intra.peff.net","threadId":"27379","inReplyTo":"BANLkTi=p3CbQD_EzJATenGsxz5m3=KLtMA@mail.gmail.com","subject":"Re: error 'cannot create thread' doing clone or fetch","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2011-05-17T11:47:54Z","receivedAt":"2011-05-17T11:47:54Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, May 17, 2011 at 05:52:44PM +0930, Jesse Reynolds wrote:\n\n> I have just installed git 1.7.5 on Solaris 9, SPARC, using a package\n> from sunfreeware.com. I've created a new repository with 'git init'\n> and done a commit. Now I'm trying to set up a shared repository but it\n> seems there is some issue preventing git from creating a thread for\n> the 'sideband demultiplexer'.\n> \n> First trying to do a git fetch --bare locally to create the shared\n> repository fails:\n> \n> $ git --bare init --shared\n> Initialized empty shared Git repository in /pub/lots.git/\n> $ git --bare fetch /home/jesse/src/lots master:master\n> error: cannot create thread: Unknown error\n> fatal: fetch-pack: unable to fork off sideband demultiplexer\n> $ Broken Pipe\n\nWeird. The only way that can happen is if pthread_create returned error,\nand the value it stuffed in errno is not useful (\"unknown error\"). \nOffhand, I'd guess maybe something in the package build does not match\nyour environment very well. Can you try building git from source? If the\nerror persists, you could certainly get around it by defining\nNO_PTHREADS then.\n\nYou could also try running it under \"truss\", though I doubt it is going\nto turn up anything more useful than \"unknown error\".\n\n> I've searched the mailing list and online and can't seem to find\n> anyone else having this issue. Then again my search skills don't seem\n> to be what they once used to be!\n\nI think this is the first we've ever seen this particular issue.\n\n-Peff\n"},{"id":"168881","messageId":"loom.20110527T182027-800@post.gmane.org","threadId":"27379","inReplyTo":"20110517114754.GA13176@sigill.intra.peff.net","subject":"Re: error 'cannot create thread' doing clone or fetch","fromName":"Randy Brandenburg","fromEmail":"randy.brandenburg@woh.rr.com","sentAt":"2011-05-27T16:21:56Z","receivedAt":"2011-05-27T16:21:56Z","isPatch":false,"sender":{"key":"randy.brandenburg@woh.rr.com","avatar":null},"body":"I am experiencing this exact error while trying to clone a remote repository. \nDid you figure out what the cause was and how to fix it?\n"}]}