On 3/4/24 1:06 PM, Dennis Clarke wrote:

What I shall do is look at the dependency tree for bison 3.8.2 and build
everything from bottom to top. Then get into a valgrind build and see
what happens. Good advice. Thank you. Half of the problem is that the
hardware is weird! Not sure who else bothers with 32-bit armv7l but my
guess is that it is mostly in the embedded world.

I'll get to work on that and let you know.

The other potential cause is code executed via LD_PRELOAD. If it allocates
memory using a different malloc (say, the libc malloc) that bash later
frees using its internal malloc, you'll get mismatches. You can tell that
by building bash --without-bash-malloc and seeing if you get the same
behavior.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • malloc: ../ba... Dennis Clarke via Bug reports for the GNU Bourne Again SHell
    • Re: mall... Chet Ramey
      • Re: ... Chet Ramey
        • ... Dennis Clarke via Bug reports for the GNU Bourne Again SHell
      • Re: ... Dennis Clarke via Bug reports for the GNU Bourne Again SHell
        • ... Chet Ramey
        • ... alex xmb sw ratchev

Reply via email to