Re: CVS commit: src

2015-07-24 Thread Jared McNeill
I'm seeing this error on arm now with today's autobuild: 
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201507241030Z/evbarm-earmv7hf/


armv7# pkg_info
assertion pthread__tsd_destructors[key] != NULL failed: file 
/home/source/ab/HEAD/src/lib/libpthread/pthread_tsd.c, line 179, 
function pthread__add_specific

[1]   Abort trap (core dumped) pkg_info
armv7# gdb pkg_info pkg_info.core
assertion pthread__tsd_destructors[key] != NULL failed: file 
/home/source/ab/HEAD/src/lib/libpthread/pthread_tsd.c, line 179, 
function pthread__add_specific

[1]   Abort trap (core dumped) gdb pkg_info pkg_info.core


On Fri, 29 May 2015, J. Hannken-Illjes wrote:


On 29 May 2015, at 16:26, J. Hannken-Illjes hann...@eis.cs.tu-bs.de wrote:


On 29 May 2015, at 09:37, Emmanuel Dreyfus m...@netbsd.org wrote:


Module Name:src
Committed By:   manu
Date:   Fri May 29 07:37:32 UTC 2015

Modified Files:
src/include: limits.h
src/lib/libpthread: pthread.c pthread_int.h pthread_key_create.3
pthread_tsd.c
src/lib/libpthread_dbg: pthread_dbg.c

Log Message:
Make PTHREAD_KEYS_MAX dynamically adjustable

snip

With this change some programs fail with

assertion pthread__tsd_destructors[key] != NULL failed
file src/lib/libpthread/pthread_tsd.c, line 169,
function pthread__add_specific

Machine is amd64, 16 cores, KVM host.  Among others gunzip fails.
Reverting this commit removes the failure.


With christos fix dated Fri May 29 16:05:13 UTC 2015 it works for me.

Thanks,

--
J. Hannken-Illjes - hann...@eis.cs.tu-bs.de - TU Braunschweig (Germany)





Re: CVS commit: src

2015-07-24 Thread Jun Ebihara
From: Emmanuel Dreyfus m...@netbsd.org
Subject: Re: CVS commit: src
Date: Sat, 25 Jul 2015 03:54:40 +

 On Fri, Jul 24, 2015 at 03:51:44PM -0300, Jared McNeill wrote:
 I'm seeing this error on arm now with today's autobuild:
 http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201507241030Z/evbarm-earmv7hf/
 I am confused: how can it be caused by our pthread change from two
 months ago?

201507162000Z works fine.

NetBSD rpi-white 7.99.20 NetBSD 7.99.20 (RPI.201507231620Z) #0: Thu Jul 23 
18:02:18 UTC 2015  
bui...@b47.netbsd.org:/home/builds/ab/HEAD/evbarm-earm/201507231620Z-obj/home/source/ab/HEAD/src/sys/arch/evbarm/compile/RPI
 evbarm
rpi-white# pkg_info
assertion pthread__tsd_destructors[key] != NULL failed: file 
/home/source/ab/HEAD/src/lib/libpthread/pthread_tsd.c, line 179, function 
pthread__add_specific
[1]   Abort trap (core dumped) pkg_info

--
Jun Ebihara


Re: CVS commit: src

2015-07-24 Thread Emmanuel Dreyfus
On Fri, Jul 24, 2015 at 03:51:44PM -0300, Jared McNeill wrote:
 I'm seeing this error on arm now with today's autobuild:
 http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201507241030Z/evbarm-earmv7hf/

I am confused: how can it be caused by our pthread change from two
months ago?

-- 
Emmanuel Dreyfus
m...@netbsd.org