[QGIS-Developer] QgsO2 (OAuth2 ) crash in exitQgis() on uWSGI

Radim Blazek radim.blazek at gmail.com
Mon Apr 26 04:40:50 PDT 2021


On Mon, Apr 26, 2021 at 1:25 PM Alessandro Pasotti <apasotti at gmail.com> wrote:
> no clues sorry, but if you don't need the oauth2 plugin you can just rm/mv the liboauth2authmethod.so and you should be fine.

Hi, thanks, I found QGIS_AUTHMETHOD_FILE envar which also does the job.

Now it crashes in QgsProject.clear() and again the last qgis function
does not have name in backtrace, is it macro?

/usr/bin/uwsgi-core(uwsgi_backtrace+0x2a) [0x55c17b0eedda]
/usr/bin/uwsgi-core(uwsgi_segfault+0x23) [0x55c17b0ef1c3]
/lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7f06e03c9840]
/lib/libqgis_core.so.3.18.1(+0x3a2504) [0x7f06a43e5504]
/lib/libqgis_core.so.3.18.1(_ZN10QgsProject5clearEv+0xaa5) [0x7f06a4d5f235]
/lib/libqgis_core.so.3.18.1(_ZN10QgsProjectD1Ev+0x47) [0x7f06a4d603c7]
/lib/libqgis_core.so.3.18.1(_ZN10QgsProjectD0Ev+0x9) [0x7f06a4d60729]
/lib/libqgis_core.so.3.18.1(_ZN14QgsApplication8exitQgisEv+0x69)
[0x7f06a4915729]

Radim


More information about the QGIS-Developer mailing list