<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43475</bug_id>
          
          <creation_ts>2022-08-09 01:15:15 +0300</creation_ts>
          <short_desc>armh: Memcheck and even Nulgrind get signal 11 in _dl_start</short_desc>
          <delta_ts>2025-02-11 09:40:41 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>valgrind</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Chikunov">vt</reporter>
          <assigned_to name="Ivan A. Melnikov">iv</assigned_to>
          <cc>iv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213537</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-08-09 01:15:15 +0300</bug_when>
    <thetext>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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;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&apos;d, malloc&apos;d or (recently) free&apos;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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213538</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2022-08-09 01:24:54 +0300</bug_when>
    <thetext>A duplicate of #40446?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213539</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-08-09 01:42:54 +0300</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213540</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-08-09 03:18:38 +0300</bug_when>
    <thetext>Googling. Looks similar to this unreplaced and unresolved upstream bug:
&quot;Valgrind crashes with segmentation fault and a lot invalid writes on Raspberry Pi 4B&quot; on Archlinux: https://bugs.kde.org/show_bug.cgi?id=452575</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213541</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-08-09 03:47:32 +0300</bug_when>
    <thetext>(In reply to Vitaly Chikunov from comment #2)
&gt; My opinion: If valgrind is impossible to work on armh, perhaps it should not
&gt; 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&apos;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 &apos;arm-linux&apos;

I tested in docker on arm32v7/fedora (which is f35) and it&apos;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 &apos;arm-linux&apos;

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213544</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2022-08-09 09:30:31 +0300</bug_when>
    <thetext>Apparently nobody wants to invest their time into making valgrind work on armv7 in Sisyphus, according to #40446.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213574</commentid>
    <comment_count>6</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-08-09 23:12:10 +0300</bug_when>
    <thetext>Maybe latest version have it miraculously fixed? 1 year is passed since than.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213575</commentid>
    <comment_count>7</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-08-09 23:13:29 +0300</bug_when>
    <thetext>&gt; 1 year is passed since than.

I meant, since 3.17.0 that we have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259018</commentid>
    <comment_count>8</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-02-11 09:40:41 +0300</bug_when>
    <thetext>valgrind с тех пор обновился, а armh с тех пор больше нет в Сизифе.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>