Re: Installed git 2.1.3 on sparc 8, but got core dump during 'git clone'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]