https://bugs.kde.org/show_bug.cgi?id=509666
Bug ID: 509666
Summary: valgrind hangs on an executable linked against
tcmalloc from gperftools 2.16
Classification: Developer tools
Product: valgrind
Version First 3.24.0
Reported In:
Platform: RedHat Enterprise Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: memcheck
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
valgrind 3.24 is stuck in TCMalloc, no progress
STEPS TO REPRODUCE
1. link an executable against tcmalloc_minimal from gperftools_2.16
2. valgrind --soname-synonyms=somalloc=*tcmalloc* ./starter
3. Observe that nothing happens (except 100% CPU usage).
Ctrl-C then prints the following:
==3101210== Memcheck, a memory error detector
==3101210== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==3101210== Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info
==3101210== Command: ./starter
==3101210==
^C==3101210==
==3101210== Process terminating with default action of signal 2 (SIGINT)
==3101210== at 0x52731A6: MallocExtension::instance() (in
/opt/hp93000rt/el9/x86_64/gperftools_2.16/lib/libtcmalloc_minimal.so.4.6.0)
==3101210== by 0x52739C8: TCMallocGuard::TCMallocGuard() (in
/opt/hp93000rt/el9/x86_64/gperftools_2.16/lib/libtcmalloc_minimal.so.4.6.0)
==3101210== by 0x5265EF0: _sub_I_65535_0.0 (in
/opt/hp93000rt/el9/x86_64/gperftools_2.16/lib/libtcmalloc_minimal.so.4.6.0)
==3101210== by 0x400551D: call_init (dl-init.c:70)
==3101210== by 0x400551D: call_init (dl-init.c:26)
==3101210== by 0x400560B: _dl_init (dl-init.c:117)
==3101210== by 0x401D7F9: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
OBSERVED RESULT
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Windows:
macOS:
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.