Bug 43475 - armh: Memcheck and even Nulgrind get signal 11 in _dl_start
Summary: armh: Memcheck and even Nulgrind get signal 11 in _dl_start
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: valgrind (show other bugs)
Version: unstable
Hardware: x86 Linux
: P5 normal
Assignee: Ivan A. Melnikov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 01:15 MSK by Vitaly Chikunov
Modified: 2022-08-09 23:13 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Chikunov 2022-08-09 01:15:15 MSK
armh:~$ hsh --ini
armh:~$ hsh-install valgrind
armh:~$ hsh-shell --mountpoints=/proc

1. 
builder@armh:/.in$ valgrind --tool=none ls -la
==1598250== Nulgrind, the minimal Valgrind tool
==1598250== Copyright (C) 2002-2017, and GNU GPL'd, by Nicholas Nethercote.
==1598250== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==1598250== Command: ls -la
==1598250==
==1598250==
==1598250== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1598250==  Access not within mapped region at address 0xFEF5D2F4
==1598250==    at 0x40136AC: handle_preload_list (rtld.c:894)
==1598250==    by 0x4015A8D: dl_main (rtld.c:1845)
==1598250==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1598250==    by 0x401345D: _dl_start (rtld.c:507)
==1598250==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1598250==  If you believe this happened as a result of a stack
==1598250==  overflow in your program's main thread (unlikely but
==1598250==  possible), you can try to increase the size of the
==1598250==  main thread stack using the --main-stacksize= flag.
==1598250==  The main thread stack size used in this run was 8388608.
==1598250==
Segmentation fault

2.
builder@armh:/.in$ valgrind ls
==1595110== Memcheck, a memory error detector
==1595110== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1595110== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==1595110== Command: ls
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4012FDC: _dl_start (rtld.c:527)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee6256c is on thread 1's stack
==1595110==  112 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400CEE6: _dl_setup_hash (dl-setup_hash.c:25)
==1595110==    by 0x4013431: _dl_start_final (rtld.c:488)
==1595110==    by 0x4013431: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62570 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4011C24: _dl_sysdep_start (dl-sysdep.c:91)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee624f4 is on thread 1's stack
==1595110==  120 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400F2C4: __GI___tunables_init (dl-tunables.c:279)
==1595110==    by 0x4011DFD: _dl_sysdep_start (dl-sysdep.c:225)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62494 is on thread 1's stack
==1595110==  96 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400D036: _dl_sort_maps_init (dl-sort-maps.c:281)
==1595110==    by 0x4011E01: _dl_sysdep_start (dl-sysdep.c:228)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62504 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4016686: sbrk (sbrk.c:37)
==1595110==    by 0x4011E1B: _dl_sysdep_start (dl-sysdep.c:242)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee624f8 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4013764: dl_main (rtld.c:1320)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622c4 is on thread 1's stack
==1595110==  544 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4008BD0: _dl_new_object (dl-object.c:59)
==1595110==    by 0x4013D6D: dl_main (rtld.c:1625)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622a4 is on thread 1's stack
==1595110==  48 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400883E: __minimal_calloc (dl-minimal-malloc.c:78)
==1595110==    by 0x4008C0F: calloc (rtld-malloc.h:44)
==1595110==    by 0x4008C0F: _dl_new_object (dl-object.c:92)
==1595110==    by 0x4013D6D: dl_main (rtld.c:1625)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622a8 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400876A: __minimal_malloc (dl-minimal-malloc.c:35)
==1595110==    by 0x4008C0F: calloc (rtld-malloc.h:44)
==1595110==    by 0x4008C0F: _dl_new_object (dl-object.c:92)
==1595110==    by 0x4013D6D: dl_main (rtld.c:1625)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622a0 is on thread 1's stack
==1595110==  24 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4008B42: _dl_add_to_namespace_list (dl-object.c:31)
==1595110==    by 0x4013D8D: dl_main (rtld.c:1634)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622d8 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400CEE6: _dl_setup_hash (dl-setup_hash.c:25)
==1595110==    by 0x4014151: dl_main (rtld.c:1693)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622d8 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40121DC: _dl_discover_osversion (dl-sysdep.c:46)
==1595110==    by 0x4014647: dl_main (rtld.c:1721)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee620e4 is on thread 1's stack
==1595110==  496 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4005248: _dl_init_paths (dl-load.c:706)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee6229c is on thread 1's stack
==1595110==  56 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4010F3C: _dl_important_hwcaps (dl-hwcaps.c:172)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee6221c is on thread 1's stack
==1595110==  120 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x401167A: _dl_hwcaps_split_masked (dl-hwcaps_split.c:51)
==1595110==    by 0x4010FAD: update_hwcaps_counts (dl-hwcaps.c:52)
==1595110==    by 0x4010FAD: _dl_important_hwcaps (dl-hwcaps.c:186)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62238 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40115E2: _dl_hwcaps_split (dl-hwcaps_split.c:25)
==1595110==    by 0x4011691: _dl_hwcaps_split_masked (dl-hwcaps_split.c:54)
==1595110==    by 0x4010FAD: update_hwcaps_counts (dl-hwcaps.c:52)
==1595110==    by 0x4010FAD: _dl_important_hwcaps (dl-hwcaps.c:186)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62220 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x401167A: _dl_hwcaps_split_masked (dl-hwcaps_split.c:51)
==1595110==    by 0x4010FD9: update_hwcaps_counts (dl-hwcaps.c:52)
==1595110==    by 0x4010FD9: _dl_important_hwcaps (dl-hwcaps.c:187)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62238 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40115E2: _dl_hwcaps_split (dl-hwcaps_split.c:25)
==1595110==    by 0x4011691: _dl_hwcaps_split_masked (dl-hwcaps_split.c:54)
==1595110==    by 0x4010FD9: update_hwcaps_counts (dl-hwcaps.c:52)
==1595110==    by 0x4010FD9: _dl_important_hwcaps (dl-hwcaps.c:187)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62220 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400876A: __minimal_malloc (dl-minimal-malloc.c:35)
==1595110==    by 0x4010FF1: malloc (rtld-malloc.h:56)
==1595110==    by 0x4010FF1: compute_priorities (dl-hwcaps.c:100)
==1595110==    by 0x4010FF1: _dl_important_hwcaps (dl-hwcaps.c:189)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62220 is on thread 1's stack
==1595110==  24 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40115E2: _dl_hwcaps_split (dl-hwcaps_split.c:25)
==1595110==    by 0x4011031: compute_priorities (dl-hwcaps.c:112)
==1595110==    by 0x4011031: _dl_important_hwcaps (dl-hwcaps.c:189)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62228 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x401167A: _dl_hwcaps_split_masked (dl-hwcaps_split.c:51)
==1595110==    by 0x4011077: compute_priorities (dl-hwcaps.c:125)
==1595110==    by 0x4011077: _dl_important_hwcaps (dl-hwcaps.c:189)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62238 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40115E2: _dl_hwcaps_split (dl-hwcaps_split.c:25)
==1595110==    by 0x4011691: _dl_hwcaps_split_masked (dl-hwcaps_split.c:54)
==1595110==    by 0x4011077: compute_priorities (dl-hwcaps.c:125)
==1595110==    by 0x4011077: _dl_important_hwcaps (dl-hwcaps.c:189)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62220 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400876A: __minimal_malloc (dl-minimal-malloc.c:35)
==1595110==    by 0x40112EB: malloc (rtld-malloc.h:56)
==1595110==    by 0x40112EB: _dl_important_hwcaps (dl-hwcaps.c:259)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62200 is on thread 1's stack
==1595110==  24 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4010EC0: copy_hwcaps (dl-hwcaps.c:74)
==1595110==    by 0x401130B: _dl_important_hwcaps (dl-hwcaps.c:269)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee621dc is on thread 1's stack
==1595110==  48 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x401167A: _dl_hwcaps_split_masked (dl-hwcaps_split.c:51)
==1595110==    by 0x4010F1B: copy_hwcaps (dl-hwcaps.c:77)
==1595110==    by 0x401130B: _dl_important_hwcaps (dl-hwcaps.c:269)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee621e8 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40115E2: _dl_hwcaps_split (dl-hwcaps_split.c:25)
==1595110==    by 0x4011691: _dl_hwcaps_split_masked (dl-hwcaps_split.c:54)
==1595110==    by 0x4010F1B: copy_hwcaps (dl-hwcaps.c:77)
==1595110==    by 0x401130B: _dl_important_hwcaps (dl-hwcaps.c:269)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee621d0 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4010EC0: copy_hwcaps (dl-hwcaps.c:74)
==1595110==    by 0x4011319: _dl_important_hwcaps (dl-hwcaps.c:270)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee621dc is on thread 1's stack
==1595110==  48 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x401167A: _dl_hwcaps_split_masked (dl-hwcaps_split.c:51)
==1595110==    by 0x4010F1B: copy_hwcaps (dl-hwcaps.c:77)
==1595110==    by 0x4011319: _dl_important_hwcaps (dl-hwcaps.c:270)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee621e8 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40115E2: _dl_hwcaps_split (dl-hwcaps_split.c:25)
==1595110==    by 0x4011691: _dl_hwcaps_split_masked (dl-hwcaps_split.c:54)
==1595110==    by 0x4010F1B: copy_hwcaps (dl-hwcaps.c:77)
==1595110==    by 0x4011319: _dl_important_hwcaps (dl-hwcaps.c:270)
==1595110==    by 0x4005269: _dl_init_paths (dl-load.c:720)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee621d0 is on thread 1's stack
==1595110==  16 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400876A: __minimal_malloc (dl-minimal-malloc.c:35)
==1595110==    by 0x4005277: malloc (rtld-malloc.h:56)
==1595110==    by 0x4005277: _dl_init_paths (dl-load.c:726)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62298 is on thread 1's stack
==1595110==  24 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400876A: __minimal_malloc (dl-minimal-malloc.c:35)
==1595110==    by 0x40052A1: malloc (rtld-malloc.h:56)
==1595110==    by 0x40052A1: _dl_init_paths (dl-load.c:739)
==1595110==    by 0x401467D: call_init_paths (dl-main.h:109)
==1595110==    by 0x401467D: dl_main (rtld.c:1726)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee62298 is on thread 1's stack
==1595110==  24 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4012F7E: audit_list_add_dynamic_tag (rtld.c:231)
==1595110==    by 0x401476B: dl_main (rtld.c:1786)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622e8 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x4012F7E: audit_list_add_dynamic_tag (rtld.c:231)
==1595110==    by 0x401477B: dl_main (rtld.c:1787)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622e8 is on thread 1's stack
==1595110==  8 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x400FAFC: _dl_audit_activity_map (dl-audit.c:28)
==1595110==    by 0x4014C15: dl_main (rtld.c:1832)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee622a8 is on thread 1's stack
==1595110==  40 bytes below stack pointer
==1595110==
==1595110== Invalid write of size 4
==1595110==    at 0x40136AC: handle_preload_list (rtld.c:894)
==1595110==    by 0x4015A8D: dl_main (rtld.c:1845)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  Address 0xfee612d4 is not stack'd, malloc'd or (recently) free'd
==1595110==
==1595110==
==1595110== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1595110==  Access not within mapped region at address 0xFEE612D4
==1595110==    at 0x40136AC: handle_preload_list (rtld.c:894)
==1595110==    by 0x4015A8D: dl_main (rtld.c:1845)
==1595110==    by 0x4011E41: _dl_sysdep_start (dl-sysdep.c:257)
==1595110==    by 0x401345D: _dl_start_final (rtld.c:507)
==1595110==    by 0x401345D: _dl_start (rtld.c:596)
==1595110==    by 0x40127FB: ??? (in /lib/ld-linux-armhf.so.3)
==1595110==  If you believe this happened as a result of a stack
==1595110==  overflow in your program's main thread (unlikely but
==1595110==  possible), you can try to increase the size of the
==1595110==  main thread stack using the --main-stacksize= flag.
==1595110==  The main thread stack size used in this run was 8388608.
==1595110==
==1595110== HEAP SUMMARY:
==1595110==     in use at exit: 0 bytes in 0 blocks
==1595110==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==1595110==
==1595110== All heap blocks were freed -- no leaks are possible
==1595110==
==1595110== For lists of detected and suppressed errors, rerun with: -s
==1595110== ERROR SUMMARY: 36 errors from 36 contexts (suppressed: 0 from 0)
Segmentation fault
Comment 1 Dmitry V. Levin 2022-08-09 01:24:54 MSK
A duplicate of #40446?
Comment 2 Vitaly Chikunov 2022-08-09 01:42:54 MSK
Certainly not, since there was build failure (which is resolved) and here is usage failure (which is still present).

My opinion: If valgrind is impossible to work on armh, perhaps it should not be built there.
Comment 3 Vitaly Chikunov 2022-08-09 03:18:38 MSK
Googling. Looks similar to this unreplaced and unresolved upstream bug:
"Valgrind crashes with segmentation fault and a lot invalid writes on Raspberry Pi 4B" on Archlinux: https://bugs.kde.org/show_bug.cgi?id=452575
Comment 4 Vitaly Chikunov 2022-08-09 03:47:32 MSK
(In reply to Vitaly Chikunov from comment #2)
> My opinion: If valgrind is impossible to work on armh, perhaps it should not
> be built there.

I thought that IF valgrind does not support arm32 at all, but now I think valgrind SHOULD work on armh.

I tested in docker on arm32v7/ubuntu:jammy and it's worked.

    ==8436== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
    --8441:1: machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
    --8441:1:    main ... arch = ARM, hwcaps = ARMv7-neon-vfp
    --8441:2:launcher   selected platform 'arm-linux'

I tested in docker on arm32v7/fedora (which is f35) and it's working.

    ==285== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
    --293:1: machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
    --293:1:    main ... arch = ARM, hwcaps = ARMv7-neon-vfp
    --293:1:launcher selected platform 'arm-linux'

arm32v7/ubuntu:bionic worked ok.

    ==1443== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info

arm32v7/alt:sisyphus Segmentation fault (core dumped)

    ==96== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
    --100:1: machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
    --100:1:    main ... arch = ARM, hwcaps = ARMv7-neon-vfp

arm32v7/ubuntu:focal worked ok.

    ==1520== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info

arm32v7/ubuntu:jammy worked ok.

    ==8431== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
Comment 5 Dmitry V. Levin 2022-08-09 09:30:31 MSK
Apparently nobody wants to invest their time into making valgrind work on armv7 in Sisyphus, according to #40446.
Comment 6 Vitaly Chikunov 2022-08-09 23:12:10 MSK
Maybe latest version have it miraculously fixed? 1 year is passed since than.
Comment 7 Vitaly Chikunov 2022-08-09 23:13:29 MSK
> 1 year is passed since than.

I meant, since 3.17.0 that we have.