[osgeo4w-dev] [osgeo4w] #759: qgis-dev 3.27.0-Master crashes during startup in some circumstances

OSGeo4W trac_osgeo4w at osgeo.org
Wed Aug 3 05:48:53 PDT 2022


#759: qgis-dev 3.27.0-Master crashes during startup in some circumstances
------------------------+----------------------------
Reporter:  andreaerdna  |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  closed
Priority:  major        |   Component:  Package
 Version:               |  Resolution:  fixed
Keywords:               |
------------------------+----------------------------
Changes (by jef):

 * status:  new => closed
 * resolution:   => fixed

Comment:

 Probably introduced by
 [[https://github.com/qgis/QGIS/commit/0ae45b6af9dcab151b1c982f4645f32fbaaebe95
 #diff-
 10cb2504535b96ed354d2553d12b83bd786ab4f0fd5ac61c849086021f97a501R410|QGIS
 #49128]].  Which crashes calling
 `pdal::PluginManager<pdal::Stage>::loadAll()` with

 {{{
 Unhandled exception at 0x00007FFEA24A4FD9 in qgis-dev-bin.exe: Microsoft
 C++ exception: std::range_error at memory location 0x000000C6588F5670.
 }}}

 originating from PDAL's
 [[https://github.com/PDAL/PDAL/blob/2.3-maintenance/pdal/util/FileUtils.cpp#L89|FileUtils.cpp:89]]
 as the string is apparently in local 8-bit encoding (ie. CP1252 here) and
 not UTF-8.

 Looks like that upstream PDAL issue was fixed in 2.4 by
 [[https://github.com/PDAL/PDAL/pull/3764|PDAL #3764]]. As updating PDAL to
 2.4 would require rebuilding all QGIS versions PDAL !#3764 was backported
 to 2.3 for the time being (ie. next QGIS point release)

 Fixed in
 [[https://github.com/jef-n/OSGeo4W/commit/8f79e2fdeb4276596e2d2e162e9a7b2c64a66dda|8f79e2fdeb4]]
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/759#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list