bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current bash.git.devel segfaults on my code


From: Alex fxmbsw7 Ratchev
Subject: Re: current bash.git.devel segfaults on my code
Date: Wed, 13 Oct 2021 15:28:42 +0200

thank you much sir ill examine your instructions

On Wed, Oct 13, 2021, 15:27 Chet Ramey <chet.ramey@case.edu> wrote:

> On 10/12/21 9:15 PM, Alex fxmbsw7 Ratchev wrote:
> > could you give me maybe good urls about such to learn ( maybe not too
> long
> > ones .. ) ?
>
> You should, with a current bash devel, just be able to run
>
> make clean
> make valgrind
>
> That disables some bash malloc wrapping functions that confuse valgrind
> severely. Then just run
>
> valgrind bash
> or
> valgrind --leak-check=full bash
>
> and see what you get. (Assuming you have valgrind installed, of course, and
> depending on what you want to find out).
>
> If you want to try address sanitizer, make sure you have a compiler that
> supports it, then run
>
> make clean
> make asan
>
> I put the shorthand targets in for convenience. Once you build a bash with
> address sanitizer support, you just have to run it and see what it reports.
>
> Chet
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]