Re: Travis-ci tests fail with valgrind on PHP 7
| From: | Bob Weinand | Date: | Tue, 10 Nov 2015 03:30:13 +0000 |
| Subject: | Re: Travis-ci tests fail with valgrind on PHP 7 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89139@lists.php.net to get a copy of this message | ||
> Am 10.11.2015 um 04:11 schrieb François Laupretre <francois@php.net>:
>
> Hi Bob,
>
> I'm currently testing a new PHP extension on travis-ci in valgrind/leak_check mode. In PHP
> 5 environments, it is OK but, on PHP 7, every test fails with this message :
>
> valgrind: Bad option: --vex-iropt-register-updates=allregs-at-mem-access
>
> valgrind version is 3.7.0.
>
> For a full log, see https://travis-ci.org/flaupretre/pecl-pcs
> (hope it's public. If not ask for the log).
>
> I'm sending this message to you because I see that you did add this option in
> run-tests.php some months ago. So, how do you think we can fix this ? add another test on valgrind
> version in the script ?
>
> Regards
>
> François
Quoting the valgrind 3.8.0 release notes:
Specifically,
--vex-iropt-precise-memory-exns has been removed and replaced by
--vex-iropt-register-updates, with extended functionality.
so, I'll need to update it… may you please verify if --vex-iropt-precise-memory-exns=yes
works for you, then I'm going to extend the valgrind version switch appropriately?
Thanks,
Bob