Re: Valgrind-3.22.0.RC2 is available for testing

Eyal Soha <[email protected]> Sat, 28 Oct 2023 10:59:54 -0600
Newsgroups gmane.comp.debugging.valgrind.devel,gmane.comp.debugging.valgrind
Message-ID <CANsz78K=VM5Y5fVs+aBbY5K812BzEsjt4Qq7aXHmkph2dOsFdw@mail.gmail.com>
Okay, I figured out how to test my patches and I confirm that they solve
the problem.  It's just a five line fix:

https://bugs.kde.org/attachment.cgi?id=162607

More details in the bug report: https://bugs.kde.org/show_bug.cgi?id=417993

On Fri, Oct 27, 2023 at 9:44 PM Eyal Soha <[email protected]> wrote:

> I have uploaded two possible fixes but I'm unable to test them.  If
> someone is able to reproduce this bug faithfully, can you try each patch
> below and let me know if it works?  You can apply the patch with `git am
> <filename>'.
>
> Download these:
>
> https://bugs.kde.org/attachment.cgi?id=162607 (I prefer this one.)
> https://bugs.kde.org/attachment.cgi?id=162608 (If that one doesn't work,
> maybe this one?)
>
> To test, you can run this:
>
> ./autogen.sh && ./configure && make -j 20 && make -j 20 check && valgrind
> -q --expensive-definedness-checks=yes memcheck/tests/vbit-test/vbit-test
>
> Thanks for trying it!  Eager to hear back from you!
>
> Eyal
>
> On Fri, Oct 27, 2023 at 8:04 AM Andreas Arnez via Valgrind-developers <
> valgrind-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
>
>> On Fri, Oct 27 2023, Mark Wielaard wrote:
>>
>> > = On Fedora 38 s390x
>> >
>> > == 842 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failure, 0
>> stdoutB failure, 0 post failures ==
>> > memcheck/tests/vbit-test/vbit-test       (stderr)
>> >
>> > --- vbit-test.stderr.exp               2022-02-09 22:47:30.491170867
>> +0000
>> > +++ vbit-test.stderr.out               2023-10-26 22:51:38.544254194
>> +0000
>> > @@ -0,0 +1,3 @@
>> > +Conditional jump or move depends on uninitialised value(s)
>> > +   ...
>> > +
>> >
>> > I believe I saw this with 3.21.0 too.
>>
>> Right.  It's a known issue caused by a memcheck-unfriendly compiler
>> decision.  See
>>
>>   https://bugs.kde.org/show_bug.cgi?id=417993
>>
>> There's probably a way of fixing this in ir_opt.c.  Would someone be
>> interested in reviewing a patch?
>>
>> --
>> Andreas
>>
>>
>> _______________________________________________
>> Valgrind-developers mailing list
>> Valgrind-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>>
>

_______________________________________________
Valgrind-developers mailing list
Valgrind-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/valgrind-developers