<div dir="ltr">Thanks Even, so there's something about tiledb under gdb (or maybe I am mangling the context, I will try variants of the host I'm using). Run with valgrind included below. <div><br></div><div>gdb --args ogrinfo /tmp/newdir/<br></div><div>...</div><div>(gdb) run<br>Starting program: /usr/local/bin/ogrinfo /tmp/newdir/<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br>[New Thread 0x7fffe7757640 (LWP 988)]<br>[New Thread 0x7fffe6f56640 (LWP 989)]<br>[New Thread 0x7fffde755640 (LWP 990)]<br>[New Thread 0x7fffd5f54640 (LWP 991)]<br>[New Thread 0x7fffc5753640 (LWP 992)]<br>[New Thread 0x7fffc4f52640 (LWP 993)]<br>[New Thread 0x7fffb4751640 (LWP 994)]<br>[New Thread 0x7fffabf50640 (LWP 995)]<br>[New Thread 0x7fffab74f640 (LWP 996)]<br>[New Thread 0x7fffa2f4e640 (LWP 997)]<br>[New Thread 0x7fff9a74d640 (LWP 998)]<br>[New Thread 0x7fff91f4c640 (LWP 999)]<br>[New Thread 0x7fff8974b640 (LWP 1000)]<br>[New Thread 0x7fff78f4a640 (LWP 1001)]<br>[New Thread 0x7fff78749640 (LWP 1002)]<br>[New Thread 0x7fff6f5ff640 (LWP 1003)]<br><br>Thread 1 "ogrinfo" received signal SIGILL, Illegal instruction.<br>0x00007ffff3773c9e in tiledb::common::ThreadPool::ThreadPool(unsigned long) () from /lib/x86_64-linux-gnu/libtiledb.so.2.16<br><div><div><br></div><div><br></div><div><br></div><div><br></div><div>valgrind -s ogrinfo /tmp/newdir<br>==704== Memcheck, a memory error detector<br>==704== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.<br>==704== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info<br>==704== Command: ogrinfo /tmp/newdir<br>==704==<br>INFO: Open of `/tmp/newdir'<br> using driver `ESRI Shapefile' successful.<br>1: geo_melbourne (Polygon)<br>==704==<br>==704== HEAP SUMMARY:<br>==704== in use at exit: 25,486 bytes in 216 blocks<br>==704== total heap usage: 15,761 allocs, 15,545 frees, 2,390,169 bytes allocated<br>==704==<br>==704== LEAK SUMMARY:<br>==704== definitely lost: 0 bytes in 0 blocks<br>==704== indirectly lost: 0 bytes in 0 blocks<br>==704== possibly lost: 544 bytes in 1 blocks<br>==704== still reachable: 24,942 bytes in 215 blocks<br>==704== suppressed: 0 bytes in 0 blocks<br>==704== Rerun with --leak-check=full to see details of leaked memory<br>==704==<br>==704== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)<br><br><br>ogrinfo /tmp/newdir<br>Illegal instruction (core dumped)<br></div><div><br></div><div>Cheers, Mike</div><div><br></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 3, 2024 at 12:46 PM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p>Michael,</p>
<p>I'm wondering if there not might be something wrong with your
build or runtime environment. Or there's something subtle, because
that works fine for me with my dev build or in the
<a href="http://ghcr.io/osgeo/gdal:alpine-normal-3.8.3" target="_blank">ghcr.io/osgeo/gdal:alpine-normal-3.8.3</a> Docker image</p>
<p>Try running "valgrind ogrinfo /tmp/newdir/" or "gdb --args
ogrinfo /tmp/newdir/" (type "run") to get more useful information<br>
</p>
<p>Even<br>
</p>
<div>Le 03/02/2024 à 02:35, Michael Sumner
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">I'm getting Illegal instruction / core dumped on
ogrinfo of a directory:
<div><br>
</div>
<div>ogr2ogr /tmp/newdir <a href="https://github.com/SymbolixAU/geojsonsf/raw/master/inst/examples/geo_melbourne.geojson" target="_blank">https://github.com/SymbolixAU/geojsonsf/raw/master/inst/examples/geo_melbourne.geojson</a>
-f "ESRI Shapefile"<br>
<div><br>
</div>
<div>ogrinfo /tmp/newdir/</div>
<div>Illegal instruction (core dumped)<br>
</div>
<div><br>
</div>
<div>I've worked back through some docker images and it wasn't
a problem in 3.6.0, but I'm getting it since 3.7.0 - or I'm
doing something wrong entirely. </div>
<div><br>
</div>
<div>Cheers, Mike</div>
<div><br>
</div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">Michael Sumner<br>
Software and Database Engineer<br>
Australian Antarctic Division<br>
Hobart, Australia<br>
e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank">mdsumner@gmail.com</a></div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Michael Sumner<br>Software and Database Engineer<br>Australian Antarctic Division<br>Hobart, Australia<br>e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank">mdsumner@gmail.com</a></div>