Summary: | Valgrind crashes with "Assertion 'iFuncWrapper' failed." | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | wissen.kompakt |
Component: | memcheck | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | mark, pjfloyd |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
wissen.kompakt
2021-09-03 06:56:59 UTC
Could you tell us more about your CPU? Did you build Valgrind from source? Can you build the latest Valgrind from the git repo? Your log contains ERROR: ld.so: object '/home/admin/valgrind-3.17.0/memcheck/vgpreload_core-arm64-linux.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. That's a big problem. This file contains the Valgrind versions of the C runtime functions that affect memory (like malloc, free, mem*, str*). Because these aren't being loaded, when your test executable tries to make a call to (at a guess) malloc, Valgrind is failing to redirect that call to its own version. lscpu output: Architecture: aarch64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 4 Model name: Cortex-A53 Stepping: r0p4 CPU max MHz: 1300.0000 CPU min MHz: 800.0000 BogoMIPS: 16.00 L1d cache: unknown size L1i cache: unknown size L2 cache: unknown size NUMA node0 CPU(s): 0-3 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid I just rebuilt from source using sourceware.org/git/valgrind and I can't reproduce the error anymore so it seems I made initially a mistake when setting up valgrind. Nevertheless, thanks for looking into it! |