<div dir="ltr">Hi All, <br><br><br>I'm having troubles trying to run a custom test [1] for my PR [2].<br><br><br>I'm able to run it against my local build in this way: <br><br>  $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/lib/<br>  $ QGIS_PREFIX_PATH=/apps PYTHONPATH=/apps/share/qgis/python:/apps/share/qgis/python/plugins:$PYTHONPATH python ../python/plugins/processing/tests/GdalAlgorithmsMemoryTest.py<br><br>It passes (prints OK) but I get a segmentation fault:<br><br>  ERROR 10: Pointer 'hDriver' is NULL in 'OGR_Dr_GetName'.<br>  *** Error in `python': double free or corruption (!prev): 0x0000000003a116b0 ***<br><br>When I push a commit to my PR, Travis says there are errors [3] with my test, I guess related to file path configurations. Travis also gets the segmentation fault.<div><br>Could someone please give me a clue on how to solve this issues? </div><div>Why tests pass against a local build but fail with Travis?<br><br><br>Regards,<br><br>Germán<br>--<br>[1] <a style="color:rgb(52,101,164)" href="https://github.com/gacarrillor/QGIS/blob/ogrmemorylayers/python/plugins/processing/tests/GdalAlgorithmsMemoryTest.py">https://github.com/gacarrillor/QGIS/blob/ogrmemorylayers/python/plugins/processing/tests/GdalAlgorithmsMemoryTest.py</a><br>[2] <a style="color:rgb(52,101,164)" href="https://github.com/qgis/QGIS/pull/3644">https://github.com/qgis/QGIS/pull/3644</a><br>[3] <a style="color:rgb(52,101,164)" href="https://travis-ci.org/qgis/QGIS/jobs/169346549">https://travis-ci.org/qgis/QGIS/jobs/169346549</a><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>-----------<br></div><div>   |\__  <br>(:>__)(<br>   |/    <br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br><a href="http://twitter.com/GeoTux2" target="_blank">http://twitter.com/GeoTux2</a></div><div><a href="http://about.me/germancarrillo" target="_blank">http://about.me/germancarrillo</a><br></div><div><div><br></div><div><a href="http://gis.stackexchange.com/users/4972/germ%c3%a1n-carrillo" target="_blank"><img src="http://gis.stackexchange.com/users/flair/4972.png"></a></div></div></div></div></div></div></div>
</div></div>