Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#759 closed defect (fixed)

qgis-dev 3.27.0-Master crashes during startup in some circumstances — at Version 3

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc:

Description (last modified by jef)

QGIS 3.27.0-Master (qgis-dev-3.27.0-286-fc5faa84bf-1) crashes on startup (during "Setting up the GUI"), when launched from the shortcut link "QGIS Desktop 3.27.0 (Nightly)" in the start menu, if there is a file or a folder with the name containing non-ASCII characters (like e.g. è, é, æ, ø, å, ...) in the user "Documents" directory.

Note that the QGIS shortcut links in the start menu contain the user "Documents" folder path in the "Start in" property.

QGIS 3.26.1 and QGIS 3.22.9 in the same OSGeo4W installation don't suffer from such issue.

See https://github.com/qgis/QGIS/issues/49507 (and probably also https://github.com/qgis/QGIS/issues/49546).

Change History (3)

comment:1 by jef, 22 months ago

Resolution: fixed
Status: newclosed

Probably introduced by 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 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 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 8f79e2fdeb4

comment:2 by andreaerdna, 22 months ago

Confirmed fixed updating installed pdal* packages to version 2.3-8.

comment:3 by jef, 22 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.