https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-03-22T02:08:50ZQGIS Issue TrackingQGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=600822015-03-22T02:08:50ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Crashes QGIS or corrupts data</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>I cannot confirm (qgis 2.8.1 on Win 7 64bit). I tested using the file geodatabases downloaded from here.</p>
<p><a class="external" href="http://gapanalysis.usgs.gov/padus/data/download/">http://gapanalysis.usgs.gov/padus/data/download/</a></p>
<p>Please attach a sample of the data that causes the crash.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=601142015-03-22T22:30:01ZFlo Ju
<ul><li><strong>File</strong> <a href="/attachments/download/8536/Trecks.gdb.zip">Trecks.gdb.zip</a> added</li></ul><p>As an attachement the GDB-File (zipped) - QGIS 2.8.1 crashes on Win-Server VM and Win7 64Bit when opening the layer Trecks_3D</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=601162015-03-23T00:07:25ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Flo Ju wrote:</p>
<blockquote>
<p>As an attachement the GDB-File (zipped) - QGIS 2.8.1 crashes on Win-Server VM and Win7 64Bit when opening the layer Trecks_3D</p>
</blockquote>
<p>it opens just fine here.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=601302015-03-23T22:32:01ZFlo Ju
<ul></ul><p>We tried it on different systems: Win7 64Bit SP1 (3 different systems) and Win 2008 Server VM --> always the same crash. If I open the same GDB in QGIS 2.8.1. (with openGDB-Driver) on a Linux-system it works fine.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=601352015-03-24T01:06:32ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Flo Ju wrote:</p>
<blockquote>
<p>We tried it on different systems: Win7 64Bit SP1 (3 different systems) and Win 2008 Server VM --> always the same crash. If I open the same GDB in QGIS 2.8.1. (with openGDB-Driver) on a Linux-system it works fine.</p>
</blockquote>
<p>could you try see if ogrinfo works against this problematic layer? use the osgeo4w shell, to be sure you are using the same gdal/ogr installation qgis uses. Thanks.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=601362015-03-24T02:24:15ZFlo Ju
<ul></ul><p>Hi! OGR on command-line is 11.1.2 - the version used in QGIS 2.8.1 is the same (QGIS-Info). Tried to convert a Feature Layer from the GDB with ogr2ogr to a SHP and it worked fine.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=601522015-03-24T23:36:28ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Flo Ju wrote:</p>
<blockquote>
<p>Hi! OGR on command-line is 11.1.2 - the version used in QGIS 2.8.1 is the same (QGIS-Info). Tried to convert a Feature Layer from the GDB with ogr2ogr to a SHP and it worked fine.</p>
</blockquote>
<p>I'm out of ideas. The system you tested do share something that can differ from a "common" installation? cheers.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=646902015-10-18T02:31:05ZJürgen Fischerjef@norbit.de
<ul><li><strong>Category</strong> changed from <i>Vectors</i> to <i>Data Provider/OGR</i></li></ul> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=664692015-12-20T02:16:26ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>I have also tested some very large filegdb dataset linked here <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/11746#note-6" title="Vertical lines appear as artifacts when map has lots of layers turned on. (Closed)">#11746-6</a> with no issues whatsoever.</p>
<p>I suggest to close this ticket as probable local issue.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=665502015-12-20T16:11:12Zclifford snowclifford@snowandsnow.us
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>I have also tested some very large filegdb dataset linked here</p>
<p><a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/11746#note-6" title="Vertical lines appear as artifacts when map has lots of layers turned on. (Closed)">#11746-6</a></p>
<p>with no issues whatsoever.</p>
<p>I suggest to close this ticket as probable local issue.</p>
</blockquote>
<p>I was just looking for an open ticket on this subject. QGIS closes unexpectedly when attempting to open a 124Mb Filegdb file [1]. QGIS seems to finish rendering the ways just before crashing. I'm running 1.12-1 lyon on a macbook pro with 16gb of memory.</p>
<p>org2ogr is able to convert to a shapefile which QGIS loads successfully.</p>
<p>[1] <a class="external" href="https://fortress.wa.gov/dnr/adminsa/gisdata/datadownload/state_roads.zip">https://fortress.wa.gov/dnr/adminsa/gisdata/datadownload/state_roads.zip</a></p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=665592015-12-21T00:30:52ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><blockquote>
<p>I was just looking for an open ticket on this subject. QGIS closes unexpectedly when attempting to open a 124Mb Filegdb file [1]. QGIS seems to finish rendering the ways just before crashing. I'm running 1.12-1 lyon on a macbook pro with 16gb of memory.</p>
<p>org2ogr is able to convert to a shapefile which QGIS loads successfully.</p>
<p>[1] <a class="external" href="https://fortress.wa.gov/dnr/adminsa/gisdata/datadownload/state_roads.zip">https://fortress.wa.gov/dnr/adminsa/gisdata/datadownload/state_roads.zip</a></p>
</blockquote>
<p>and again no problems whatsoever in my Windows 7 testing machine with QGIS master, ltr and 2.12...</p>
<p>Can you please guys try a fresh installation? uninstall, remove .qgis, clean config, re-install.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=668272015-12-28T02:06:03ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>Flo Ju wrote:</p>
<blockquote>
<p>As an attachement the GDB-File (zipped) - QGIS 2.8.1 crashes on Win-Server VM and Win7 64Bit when opening the layer Trecks_3D</p>
</blockquote>
<p>you are right, if using the <strong>open</strong> driver qgis crashes (but gdal/ogr is ok).</p>
<p>I also replicated with other datasets, but not all.</p>
<p>And if using the <strong>closed</strong> driver I never got a crash with any dataset.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=668282015-12-28T02:06:13ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Affected QGIS version</strong> changed from <i>2.8.1</i> to <i>master</i></li></ul> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=674162016-01-19T08:09:59ZSandro Santillistrk@kbt.io
<ul><li><strong>Operating System</strong> changed from <i>Windows </i> to <i>Windows , Linux</i></li><li><strong>OS version</strong> changed from <i>Win 7 x64</i> to <i>Win 7 x64, Ubuntu 14.04 64bit</i></li></ul><p>I <strong>can</strong> reproduce under Ubuntu 14.04 64bit with GDAL trunk (2.1.0dev) and OpenFileGDB.<br />`ogrinfo -al` works fine.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=674172016-01-19T08:11:35ZSandro Santillistrk@kbt.io
<ul></ul><pre>
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:158
#1 0x00007f1d0386184e in QgsMapToPixelSimplifier::simplifyWkbGeometry (simplifyFlags=3, wkbType=QGis::WKBLineString,
sourceWkb=0x7f1c5023809b "\\325V\\354/|\\237@\\340u\\236\\232\\001\\255\\026A\\300\\233\\234\\352\\333H\\tA", sourceWkbSize=68191865,
targetWkb=0x7f1c501d54ab "\\265\\246yGʢ@", targetWkbSize=@0x7f1c56de0350: 9, envelope=..., map2pixelTol=1224.0509582740297, writeHeader=true,
isaLinearRing=false) at /usr/src/qgis/qgis-master/src/core/qgsmaptopixelgeometrysimplifier.cpp:276
#2 0x00007f1d03861f42 in QgsMapToPixelSimplifier::simplifyWkbGeometry (simplifyFlags=3, wkbType=QGis::WKBMultiLineString,
sourceWkb=0x7f1c501c6112 "@\\252\\366?Pg\\bA", sourceWkbSize=25371, targetWkb=0x7f1c501d54a2 "@", targetWkbSize=@0x7f1c56de0448: 10370,
envelope=..., map2pixelTol=34.986439634150109, writeHeader=true, isaLinearRing=false)
at /usr/src/qgis/qgis-master/src/core/qgsmaptopixelgeometrysimplifier.cpp:408
#3 0x00007f1d03862209 in QgsMapToPixelSimplifier::simplifyGeometry (geometry=0x7f1c50186300, simplifyFlags=3, tolerance=34.986439634150109)
at /usr/src/qgis/qgis-master/src/core/qgsmaptopixelgeometrysimplifier.cpp:460
#4 0x00007f1d038622ea in QgsMapToPixelSimplifier::simplifyGeometry (this=0x7f1c50196ec0, geometry=0x7f1c50186300)
at /usr/src/qgis/qgis-master/src/core/qgsmaptopixelgeometrysimplifier.cpp:475
#5 0x00007f1d037e5507 in QgsAbstractFeatureIterator::simplify (this=0x7f1c5000ede0, feature=...)
at /usr/src/qgis/qgis-master/src/core/qgsfeatureiterator.cpp:216
#6 0x00007f1d037e4c1c in QgsAbstractFeatureIterator::nextFeature (this=0x7f1c5000ede0, f=...)
at /usr/src/qgis/qgis-master/src/core/qgsfeatureiterator.cpp:85
</pre> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=674182016-01-19T08:13:18ZSandro Santillistrk@kbt.io
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Sandro Santilli</i></li></ul> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=674192016-01-19T08:21:46ZSandro Santillistrk@kbt.io
<ul><li><strong>File</strong> <a href="/attachments/download/9487/valgrind.txt">valgrind.txt</a><a href="/attachments/9487/valgrind.txt"><img alt="Magnifier" src="/images/magnifier.png" /></a> added</li></ul><p>There are a couple of these errors before the crash:<br /><pre>
==10779== Thread 11 Thread (pooled):
==10779== Invalid read of size 8
==10779== at 0x659F71E: QgsMapToPixelSimplifier::simplifyWkbGeometry(int, QGis::WkbType, unsigned char const*, int, unsigned char*, int&, QgsRectangle const&, double, bool, bool) (qgsmaptopixelgeometrysimplifier.cpp:264)
==10779== by 0x659FF41: QgsMapToPixelSimplifier::simplifyWkbGeometry(int, QGis::WkbType, unsigned char const*, int, unsigned char*, int&, QgsRectangle const&, double, bool, bool) (qgsmaptopixelgeometrysimplifier.cpp:408)
==10779== by 0x65A0208: QgsMapToPixelSimplifier::simplifyGeometry(QgsGeometry*, int, double) (qgsmaptopixelgeometrysimplifier.cpp:460)
==10779== by 0x65A02E9: QgsMapToPixelSimplifier::simplifyGeometry(QgsGeometry*) const (qgsmaptopixelgeometrysimplifier.cpp:475)
==10779== by 0x6523506: QgsAbstractFeatureIterator::simplify(QgsFeature&) (qgsfeatureiterator.cpp:216)
==10779== by 0x6522C1B: QgsAbstractFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.cpp:85)
==10779== by 0x642C02D: QgsFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.h:234)
==10779== by 0x66AC8D4: QgsVectorLayerFeatureIterator::fetchFeature(QgsFeature&) (qgsvectorlayerfeatureiterator.cpp:237)
==10779== by 0x6522BCE: QgsAbstractFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.cpp:76)
==10779== by 0x642C02D: QgsFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.h:234)
==10779== by 0x66BE693: QgsVectorLayerRenderer::drawRendererV2(QgsFeatureIterator&) (qgsvectorlayerrenderer.cpp:290)
==10779== by 0x66BDBE3: QgsVectorLayerRenderer::render() (qgsvectorlayerrenderer.cpp:252)
==10779== Address 0x93f63e3b is 0 bytes after a block of size 25,371 alloc'd
==10779== at 0x4C2B7AA: operator new[](unsigned long) (vg_replace_malloc.c:392)
==10779== by 0x83A75015: QgsOgrFeatureIterator::readFeature(void*, QgsFeature&) (qgsogrfeatureiterator.cpp:340)
==10779== by 0x83A7474D: QgsOgrFeatureIterator::fetchFeature(QgsFeature&) (qgsogrfeatureiterator.cpp:215)
==10779== by 0x6522BCE: QgsAbstractFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.cpp:76)
==10779== by 0x642C02D: QgsFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.h:234)
==10779== by 0x66AC8D4: QgsVectorLayerFeatureIterator::fetchFeature(QgsFeature&) (qgsvectorlayerfeatureiterator.cpp:237)
==10779== by 0x6522BCE: QgsAbstractFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.cpp:76)
==10779== by 0x642C02D: QgsFeatureIterator::nextFeature(QgsFeature&) (qgsfeatureiterator.h:234)
==10779== by 0x66BE693: QgsVectorLayerRenderer::drawRendererV2(QgsFeatureIterator&) (qgsvectorlayerrenderer.cpp:290)
==10779== by 0x66BDBE3: QgsVectorLayerRenderer::render() (qgsvectorlayerrenderer.cpp:252)
==10779== by 0x659696B: QgsMapRendererParallelJob::renderLayerStatic(LayerRenderJob&) (qgsmaprendererparalleljob.cpp:234)
==10779== by 0x6597CDF: QtConcurrent::FunctionWrapper1<void, LayerRenderJob&>::operator()(LayerRenderJob&) (qtconcurrentfunctionwrappers.h:86)
==10779==
</pre></p>
<p>Full valgrind log is atached</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676072016-01-25T01:46:16ZSandro Santillistrk@kbt.io
<ul></ul><p>The crash only happens when the offending layer is the first one on the map. Crash also occurs by loading the "Tracks" layer.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676142016-01-25T04:02:58ZEven Rouaulteven.rouault@spatialys.com
<ul></ul><p>The root cause is a bug in the OpenFileGDB driver (<a class="external" href="https://trac.osgeo.org/gdal/ticket/6332">https://trac.osgeo.org/gdal/ticket/6332</a>) that results in inconsistant WKB export, that QGIS crashes on.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676152016-01-25T04:15:19ZSandro Santillistrk@kbt.io
<ul></ul><p>Thanks Even.<br />Still I think QGIS should check before reading past the end of the buffer.<br />I'll look into that in the evening.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676182016-01-25T07:41:09ZSandro Santillistrk@kbt.io
<ul></ul><p>My take on boundary checking is here: <a class="external" href="https://github.com/qgis/QGIS/pull/2721">https://github.com/qgis/QGIS/pull/2721</a><br />At the time of writing this comment, the code checks just enough to not fail in this case.<br />It's to be noted that the main QGIS WKB parser has no problem with the "malformed" WKB, only the WKB parser used inside the QgsMapToPixelSimplifier class, which for some reason acts on the WKB format (maybe it should just really stop doing that).</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676192016-01-25T07:41:17ZSandro Santillistrk@kbt.io
<ul><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li></ul> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676202016-01-25T08:14:23ZSandro Santillistrk@kbt.io
<ul></ul><p>I'm taking back the "main QGIS WKB parser has no problem with the malformed WKB" as that's very unlikely as the QgsGeometry::fromWkb() method does not even <strong>use</strong> the passed WKB size argument to check against reading past the input end (is implemented by QgsAbstractGeometryV2::fromWkb not even taking that size parameter)</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676232016-01-25T08:23:52ZSandro Santillistrk@kbt.io
<ul></ul><p>The other possibility is that QGIS centralized WKB parser simply handles better the parsing of geometry collections, NOT ASSUMING the dimensionality advertised for the compound object is the same of the one for the elements.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676432016-01-26T01:51:37ZSandro Santillistrk@kbt.io
<ul></ul><p>I've handled to make QgsGeometry.fromWkb mess up with memory using this input:<br /><pre>
010700000002000000010200008002000000000000000000000000000000000000000000000000000000000000000000000000000000000000008DEDB5A0F7C6B0BE010200008002000000000000000000000000000000000000000000000000000000000000000000000000000000000000008DEDB5A0F7C6B03E
</pre></p>
<p>Now working on a proper testcase to secure the later fix</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676462016-01-26T02:18:06ZSandro Santillistrk@kbt.io
<ul></ul><p>So the code showing unrobust WKB parser is here: <a class="external" href="https://github.com/qgis/QGIS/pull/2722">https://github.com/qgis/QGIS/pull/2722</a><br />It confirms the internal WKB parser <em>also</em> needs attention.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676782016-01-27T02:36:25ZSandro Santillistrk@kbt.io
<ul></ul><p>Beside boundary checking, the problem is with the parser inside geometry-simplifier just skipping 5 bytes in each component WKB, rather than reading them. They do contain the actual sub-geometry type, which in this case does not have the same dimensionality of the container. I think this bug can be closed as soon as the boundary checking is in place (fixing the crash). Further improvements should probably involve using the WkbPtr (once it also has boundary checking).</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676842016-01-27T06:27:33ZSandro Santillistrk@kbt.io
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>90</i></li></ul><p>Related issue (broken fromWkb): <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/14182" title="Geometry.fromWkb crashes on unexpected/malformed WKB (Closed)">#14182</a></p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676852016-01-27T06:29:32ZSandro Santillistrk@kbt.io
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/bc4d16e8d912d9f6a605daa02d2959cd8145e770" title="Check WKB boundaries while simplifying for rendering Fixes crash on simplifying mixed-dimension ...">bc4d16e8d912d9f6a605daa02d2959cd8145e770</a>.</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=676862016-01-27T06:30:53ZSandro Santillistrk@kbt.io
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li><li><strong>Target version</strong> set to <i>Version 2.14</i></li></ul><p>I'm reopening this to signal the fix did not include an automated testcase<br />(I suggest we add a "ready for test" status)</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=677642016-01-30T08:24:11ZSandro Santillistrk@kbt.io
<ul></ul><p>Test file stubbed in <a class="external" href="https://github.com/qgis/QGIS/pull/2744">https://github.com/qgis/QGIS/pull/2744</a> -- no specific test for this case yet (needs to fix <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/14182" title="Geometry.fromWkb crashes on unexpected/malformed WKB (Closed)">#14182</a> first, or I'll find another workaround via friendship)</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=677962016-02-01T01:39:18ZSandro Santillistrk@kbt.io
<ul></ul><p>Finally handled to produce the automated testcase for this special WKB: <a class="external" href="https://github.com/qgis/QGIS/pull/2750">https://github.com/qgis/QGIS/pull/2750</a></p>
<p>The test checks that simplification cannot happen, due to the supposedly "malformed" WKB.<br />But truth is that the WKB is not necessarely malformed and the simplifier code might be improved to handle the special case (of dimension mismatch).<br />Only, for the sake of <em>this</em> ticket, I think we must be happy with what we have now, as the whole simplification code might be replaced anyway to somethign that doesn't act directly on the WKB (recommended).</p>
<p>PR <a class="external" href="https://github.com/qgis/QGIS/pull/2483">https://github.com/qgis/QGIS/pull/2483</a> might go in that direction</p> QGIS Application - Bug report #12416: QGIS 2.8.1 crash opening FileGDB (openGDB-Driver)https://issues.qgis.org/issues/12416?journal_id=677992016-02-01T02:24:01ZSandro Santillistrk@kbt.io
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul><p>Test is in place, closing this as fixed and guard-tested.</p>