git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: victor <liwenxi9999@163.com>
Cc: git@vger.kernel.org
Subject: Re: Installed git 2.1.3 on sparc 8, but got core dump during 'git clone'
Date: Thu, 6 Nov 2014 00:31:35 -0500	[thread overview]
Message-ID: <20141106053134.GA22835@peff.net> (raw)
In-Reply-To: <1415251144220-7620692.post@n2.nabble.com>

On Wed, Nov 05, 2014 at 09:19:04PM -0800, victor wrote:

> (gdb) bt full
> #0  0xff0332ec in strlen () from /usr/lib/libc.so.1
> No symbol table info available.
> #1  0xff0866b8 in _doprnt () from /usr/lib/libc.so.1
> No symbol table info available.
> #2  0xff088ac0 in vsnprintf () from /usr/lib/libc.so.1
> No symbol table info available.
> #3  0x00137c18 in vreportf (prefix=0x190038 "cannot create thread: %s",
> err=0x190038 "cannot create thread: %s", params=0xffbef280)
>     at usage.c:12
>         msg = "cannot create thread:
> \0d~▒▒▒\201\001\001\0\0\036\rP\0\034▒\0\0\034▒\0\0\036\rP", '\0' <repeats 16
> times>,
> "▒\f\027\004▒\f\027\b▒\v▒▒▒\v▒▒▒▒▒▒\177▒▒▒▒▒▒▒▒\f\027$▒\v▒\b\0\036\rP", '\0'
> <repeats 35 times>,
> "\001\0\030▒0\0\0\0\001\0\034▒\0▒▒▒▒\0\0\0/\0\0\0\0▒\003▒@", '\0' <repeats
> 12 times>,
> "\201\001\001\0\0\036\rP\0\0\0\0\0\0\0\001\0\031\032\220\0\0\0\0\0\030▒0▒▒▒▒\0\0\0\0▒▒▒▒\0\0\0\v",
> '\0' <repeats 27 times>...
> #4  0x00137f6c in error (err=0x196128 "error: ") at usage.c:147
> No locals.
> #5  0x00112aa0 in start_async (async=0xffbef5b0) at run-command.c:727

We tried to start a thread in start_async, but it failed. We then pass
the error number to strerror(), and try to print the result. That seems
to involve feeding garbage to vsnprintf, so presumably what strerror()
handed us back was garbage.

Are you sure that pthreads really work on your platform? Between the
thread failure and the garbage strerror(), it sounds like there might be
some weird linking problems. Does running "./configure
--disable-pthreads" produce a working build?

-Peff

  reply	other threads:[~2014-11-06  5:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06  5:19 Installed git 2.1.3 on sparc 8, but got core dump during 'git clone' victor
2014-11-06  5:31 ` Jeff King [this message]
2014-11-06  6:34 ` victor
2014-11-06  7:24   ` Jeff King
2014-11-06  7:38   ` victor
2014-11-06  8:26     ` Torsten Bögershausen
2014-11-06  8:36     ` victor
2014-11-07  7:18       ` victor

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=20141106053134.GA22835@peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=liwenxi9999@163.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).