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)



Reply via email to