https://sourceware.org/bugzilla/show_bug.cgi?id=31460

--- Comment #1 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
 I cannot reproduce the problem on OL8 with libpthread-2.28.
It looks like calloc() is called in ./nptl/pthread_setspecific.c:69
But this calloc() must be from libc, not from the user application.


Can you run this test in your environment:

% cat t.c
#include <pthread.h>

long long calloc = 0;

void *func(void *arg)
{
        return NULL;
}

int main(int argc, char **argv)
{
        pthread_t thr;
        void *val;

        pthread_create(&thr, NULL, func, NULL);
        pthread_join(thr, &val);
        return 0;
}

% gcc -pthread t.c
% ./a.out

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to