[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprofng/31460] heap tracing causes infinite recursion on calloc wit
From: |
vladimir.mezentsev at oracle dot com |
Subject: |
[Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications |
Date: |
Thu, 21 Mar 2024 00:26:06 +0000 |
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.
- [Bug gprofng/31460] New: heap tracing causes infinite recursion on calloc with multi-threaded applications, carlsonj at workingcode dot com, 2024/03/07
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, sam at gentoo dot org, 2024/03/07
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, vladimir.mezentsev at oracle dot com, 2024/03/19
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications,
vladimir.mezentsev at oracle dot com <=
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, carlsonj at workingcode dot com, 2024/03/21
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, carlsonj at workingcode dot com, 2024/03/21
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, vladimir.mezentsev at oracle dot com, 2024/03/21
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, vladimir.mezentsev at oracle dot com, 2024/03/22
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, carlsonj at workingcode dot com, 2024/03/22
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, vladimir.mezentsev at oracle dot com, 2024/03/23
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, carlsonj at workingcode dot com, 2024/03/23
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, cvs-commit at gcc dot gnu.org, 2024/03/25
- [Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications, vladimir.mezentsev at oracle dot com, 2024/03/25