[QGIS-Developer] Crashes on exit

Sandro Santilli strk at kbt.io
Fri Jul 19 00:23:07 PDT 2019


On Fri, Jul 19, 2019 at 09:26:08AM +1000, Nyall Dawson wrote:
> On Thu, 18 Jul 2019 at 16:52, Nathan Woodrow <madmanwoo at gmail.com> wrote:
> >
> > Yeah, in this case, the stack trace is wrong because of the lack of symbols.  The symbols could be installed with QGIS at the increase of package size but maybe we can do that for a while until we catch this issue.
> 
> I don't think the trace *is* wrong here. The recurring source of these
> issues is that long-lived objects which have QgsCoordinateTransform
> members are being cleaned up AFTER QgsApplication::exitQgis, where the
> proj library handling is gracefully cleaned up. After
> QgsApplication::exitQgis NOTHING should be accessing coordinate
> transforms.

This is a tipical problem with threaded applications.
Some thread is not correctly shut down before app shutdown.

--strk;


More information about the QGIS-Developer mailing list