[Qgis-developer] QGIS 3

Nyall Dawson nyall.dawson at gmail.com
Tue Feb 21 16:50:12 PST 2017


On 22 February 2017 at 10:25,  <gordon at shieldaig.com> wrote:
> I am all for moving ahead.
>
> I was checking out another application with `valgrind` on Ubuntu 17.04
> 64-bit so thought I would give `qgis` a try eg.
>
> valgrind --leak-check=full ./output/bin/qgis
>
> Is this only with my build (simply entering and exiting the qgis
> application) or does it affect anyone else?  Are there better tools?

Valgrind is great, but slows things down a LOT. lsan (via clang) isn't
quite as thorough but doesn't slow things down as much.

Do you have the full valgrind report? There IS leaks in QGIS.... but
the known ones are harmless (eg the metadata for QgsVectorFileWriter
is leaked, but it occurs only once per session). I also see a lot of
leaks when I run valgrind under Ubuntu because of Unity's dbus menu
integration.

Keen to hear if you do find any leaks inside QGIS itself though!

Nyall


More information about the Qgis-developer mailing list