<div dir="ltr"><div><div><div><div><div><div><div><div>Hi<br><br></div>I still cannot reproduce the issue with :<br></div>export DISPLAY=:1<br></div>export MALLOC_PERTURB_="str(random.randint(1, 255))"<br></div>export MALLOC_CHECK_=3<br></div>export MEMCPY_CHECK_=1<br><br></div>with or without the malloc/mem export, valgrind find some issue indeed, but valgrind find as much issue with a passing test (eg; .vtkChartsCorePython-TestBarGraph ), so i can't investigate further without being able to reproduce the issue.<br><br></div>If you want to have a go, i will not touch my branch for a few days, before merging it anyway, since the bug is not linked to my changes.<br><br></div>Mathieu<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 17, 2015 at 8:12 PM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Nov 17, 2015 at 12:53:09 +0100, Mathieu Westphal wrote:<br>
> So it may be related to my fiddling with python.<br>
<br>
</span>So this problem has cropped up occasionally on the builder, seemingly<br>
randomly. I don't know the root cause (IIRC, it occurs in Python2 as<br>
well, but if we have a reproducer, tracking it down while we have it<br>
happening reliably would be good).<br>
<span class=""><br>
> But i'm unable to reproduce it manually on megas.<br>
<br>
</span>I believe it is related to the "_strict" feature megas uses which sets<br>
some environment variables:<br>
<br>
  - 'MALLOC_PERTURB_': str(random.randint(1, 255)),<br>
  - 'MALLOC_CHECK_': '3',<br>
  - 'MEMCPY_CHECK_': '1',<br>
<br>
which means that memory is getting junked somewhere. Valgrind should<br>
have more information.<br>
<span class=""><br>
> Which fails with an Xerror<br>
><br>
> - Executing it with DISPLAY=:0 fail on image size<br>
> - Executing it with DISPLAY=:1 simple pass the test !<br>
<br>
</span>DISPLAY :0 is my user's X (it is my main development machine); :1 is the<br>
VNC server the dashboards should be using.<br>
<span class=""><br>
> - Repushing on my branch, waiting for the buildbot, same tests still fails !<br>
><br>
> May be i'm doing something not rigth here, any help apreciated.<br>
<br>
</span>I think valgrind is the next step.<br>
<span class=""><br>
> PS: I unvoluntarly deleted the kitware crontab, but it was pointing on a<br>
> non existente file, so i supose it's ok.<br>
<br>
</span>Yeah, the crontab is probably obsolete, thanks.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div><br></div>