git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: Jesse Reynolds <jessedreynolds@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: error 'cannot create thread' doing clone or fetch
Date: Tue, 17 May 2011 07:47:54 -0400	[thread overview]
Message-ID: <20110517114754.GA13176@sigill.intra.peff.net> (raw)
In-Reply-To: <BANLkTi=p3CbQD_EzJATenGsxz5m3=KLtMA@mail.gmail.com>

On Tue, May 17, 2011 at 05:52:44PM +0930, Jesse Reynolds wrote:

> I have just installed git 1.7.5 on Solaris 9, SPARC, using a package
> from sunfreeware.com. I've created a new repository with 'git init'
> and done a commit. Now I'm trying to set up a shared repository but it
> seems there is some issue preventing git from creating a thread for
> the 'sideband demultiplexer'.
> 
> First trying to do a git fetch --bare locally to create the shared
> repository fails:
> 
> $ git --bare init --shared
> Initialized empty shared Git repository in /pub/lots.git/
> $ git --bare fetch /home/jesse/src/lots master:master
> error: cannot create thread: Unknown error
> fatal: fetch-pack: unable to fork off sideband demultiplexer
> $ Broken Pipe

Weird. The only way that can happen is if pthread_create returned error,
and the value it stuffed in errno is not useful ("unknown error"). 
Offhand, I'd guess maybe something in the package build does not match
your environment very well. Can you try building git from source? If the
error persists, you could certainly get around it by defining
NO_PTHREADS then.

You could also try running it under "truss", though I doubt it is going
to turn up anything more useful than "unknown error".

> I've searched the mailing list and online and can't seem to find
> anyone else having this issue. Then again my search skills don't seem
> to be what they once used to be!

I think this is the first we've ever seen this particular issue.

-Peff

  reply	other threads:[~2011-05-17 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17  8:22 error 'cannot create thread' doing clone or fetch Jesse Reynolds
2011-05-17 11:47 ` Jeff King [this message]
2011-05-27 16:21   ` Randy Brandenburg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110517114754.GA13176@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=jessedreynolds@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).