<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>this looks like potentially some memory usage issue that popups
"randomly" on some platforms. The fact that you reproduce it on
your 22.04 build is encouraging since it will make it easier to
debug</p>
<p>try the following:<br>
</p>
<p>sudo apt-get install gdb valgrind<br>
gdb --args test_ogrsf -all_drivers<br>
run</p>
<p>and hopefully it will crash and give you some hints</p>
<p>and/or</p>
<p>valgrind test_ogrsf -all_drivers</p>
<p>Even<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 01/03/2024 à 11:29, Abel Pau via
gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:PAXPR07MB7775CA4ED18AB3FEADA4B8E5A25E2@PAXPR07MB7775.eurprd07.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}span.dt-fm
{mso-style-name:dt-fm;}span.checkstep-line-content
{mso-style-name:checkstep-line-content;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">yesterday I updated my
personal branch (soon I’ll do a pull request) but before as
Even suggested I’m trying to make green al Actions.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The only problem I have
now is at some points on tests...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I am missing
something because I there are things I don’t understand
well.
<br>
<br>
Can anyone give me some new information to clarify myself?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">test_ogr_basic_10<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">It’s this INFO message
(that other drivers also give) a problem?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">INFO: MiraMonVector:
Creation of /foo\test.pol should have failed.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This message also
appears in some other drivers.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">INFO: MiraMonVector:
CreateFeature() at line 780 succeeded but failed to assign
FID to feature.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Al tests in <a
href="https://github.com/AbelPau/gdal/actions/runs/8101809119"
moz-do-not-send="true">
Linux Builds</a> (in Actions) are OK except <b>Alpine,
gcc 32-bit</b><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MiraMonVector driver
(the one I am testing) seems to be OK.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gcore/test_driver_metadata.py::test_metadata_dcap_yes[MiraMonVector]
PASSED [ 38%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_openoptionlist[MiraMonVector]
PASSED [ 40%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_creationoptionslist[MiraMonVector]
PASSED [ 42%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_layer_creationoptionslist[MiraMonVector]
PASSED [ 42%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gcore/test_driver_metadata.py::test_metadata_creation_field_datatypes[MiraMonVec</span><span
lang="ES">tor] PASSED [ 44%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_creation_sub_field_datatypes[MiraMonVector]
PASSED [ 46%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_alter_geom_field_defn_flags[MiraMonVector]
PASSED [ 47%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_alter_field_defn_flags[MiraMonVector]
PASSED [ 48%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">gcore/test_driver_metadata.py::test_metadata_creation_field_defn_flags[MiraMonVector]
PASSED [ 48%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES">But<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2024-02-29T20:01:51.4283306Z
ogr/ogr_basic_test.py::test_ogr_basic_10 FAILED
[ 1%]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES">===================================
FAILURES ===================================
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">______________________________
test_ogr_basic_10 _______________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES">Al some point: ERROR ret
code = -6<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">But no more clues
why.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">Anyone can tell me how to explore this error?<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="mso-fareast-language:CA" lang="EN-US">I debugged this
test in windows but all seems correct.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.5pt;font-family:Consolas;color:black">The
program '[15680] test_ogrsf.exe' has exited with code 0
(0x0).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><br>
I finally installed a linux ubuntu:22.04 in a docker and I
can do some things related to tests.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">When I do<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">python3 -m pytest -vv -p no:sugar --color=no
ogr/ogr_basic_test.py::test_ogr_basic_10<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">After a while this error appears.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">So, why? <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">E INFO: OpenFileGDB: CreateFeature() at
line 837 failed but without explicit error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">E INFO: TestCreate(DXF).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">E INFO: DXF: Creation of /foo/test.<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="mso-fareast-language:CA"
lang="EN-US">E ERROR ret code = -9<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US">E assert 'ERROR' not in 'INFO:
TestCreate(PCIDSK).\nINFO: PCIDSK: Creation of /foo/test.pix
should have failed.\nINFO: TestCreate(netCDF).\nINFO:
netCDF: Creation of /foo/test.nc should have failed.\nINFO:
netCDF: Creation of /vsimem/test33.n....<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:CA"
lang="EN-US"> </span><span style="mso-fareast-language:CA"><o:p></o:p></span></p>
<table class="MsoNormalTable" style="width:375.0pt" width="0"
cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="width:232.5pt;padding:0cm 0cm 0cm 0cm"
width="310">
<p class="MsoNormal"><b><span
style="font-size:11.5pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA">Abel
Pau Garcia</span></b><span
style="font-size:12.0pt;mso-fareast-language:CA">
</span><span style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#669900;mso-fareast-language:CA">GIS
developer</span></b><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
<td style="width:142.5pt;padding:0cm 0cm 0cm 0cm"
width="190" valign="top">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:1.3958in;height:.5208in"
id="Imagen_x0020_8"
src="cid:part1.nGpI51Ty.0fp74MK9@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/creaf-signature.png"
class="" width="134" height="50" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA"><a
href="mailto:a.pau@creaf.uab.cat"
moz-do-not-send="true"><b><span style="color:blue">a.pau@creaf.uab.cat</span></b></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA"><a
href="https://teams.microsoft.com/l/chat/0/0?users=a.pau@creaf.uab.cat"
moz-do-not-send="true"><b><span style="color:blue">Let's
chat on Teams!</span></b></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA">Tel.
+34 934814277</span></b><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
<td style="width:106.5pt;padding:0cm 0cm 0cm 0cm"
width="190" valign="top">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:1.0937in;height:.5208in"
id="Imagen_x0020_7"
src="cid:part2.AdtkXbsB.Kebjg3Je@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/so-en-signature.png"
class="" width="105" height="50" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="ES"><a
href="https://twitter.com/CREAF_ecologia"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_6"
src="cid:part3.dQ0vEWch.b7MXctfI@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/twitter-icon-signature.png"
class="" width="17" height="17" border="0"></span></a><a
href="https://www.linkedin.com/company/1363052?trk=tyah&trkInfo=clickedVertical:company,clickedEntityId:1363052,idx:2-1-2,tarId:1465807877789,tas:creaf"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_5"
src="cid:part4.o0uzeZqG.QfHm0R8m@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/linkedin-icon-signature.png"
class="" width="17" height="17" border="0"></span></a><a
href="https://www.youtube.com/c/creafecologia"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_4"
src="cid:part5.SbE1cKM7.gDyFHiAR@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/youtube-icon-signature.png"
class="" width="17" height="17" border="0"></span></a><a
href="https://www.instagram.com/CREAF_ecologia/"
target="_blank" moz-do-not-send="true"><span
style="font-size:12.0pt;color:#0563C1;mso-fareast-language:CA;text-decoration:none"
lang="CA"><img
style="width:.177in;height:.177in"
id="Imagen_x0020_3"
src="cid:part6.TX4w1gV0.NOG0Gkq6@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/instagram-icon-signature.png"
class="" width="17" height="17" border="0"></span></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA"><a
href="http://www.creaf.cat" target="_blank"
moz-do-not-send="true"><b><span
style="color:#003300">www.creaf.cat</span></b></a><b>
|
</b><a href="http://blog.creaf.cat" target="_blank"
moz-do-not-send="true"><b><span
style="color:#003300">http://blog.creaf.cat</span></b></a></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm" valign="top">
<p class="MsoNormal" style="text-align:right"
align="right"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:1.0937in;height:.5208in"
id="Imagen_x0020_2"
src="cid:part7.l4W3V0aS.K3Gl7qI5@spatialys.com"
alt="https://www.creaf.cat/sites/default/files/uab_logo_signatura.png"
class="" width="105" height="50" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003300;mso-fareast-language:CA">CREAF.
Campus UAB. Edifici C. 08193 Bellaterra (Barcelona)</span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#999999;mso-fareast-language:CA"><br>
Before printing this electronic message, think about
the environment.</span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td colspan="2" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span
style="font-size:12.0pt;mso-fareast-language:CA"><img
style="width:5.2083in;height:.0625in"
id="Imagen_x0020_1"
src="cid:part8.FGpMuZd0.TDr5vDxB@spatialys.com"
alt="http://www.creaf.uab.cat/_signatura/line.gif"
class="" width="500" height="6" border="0"></span><span
style="mso-fareast-language:CA"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>