[QGIS-Developer] QgsO2 (OAuth2 ) crash in exitQgis() on uWSGI
Radim Blazek
radim.blazek at gmail.com
Mon Apr 26 04:19:17 PDT 2021
Hi,
we are getting crash in OAuth2 plugin when QgsApplication.exitQgis()
is called from Django application running on uWSGI/nginx. We need to
call exitQgis() to cleanup temporary files. It works OK if it is run
as Django script from command line.
Unfortunately it does not print full backtrace info for
liboauth2authmethod.so and then even for libqgis_core.so. I guess it
happens in QgsO2 but there is nothing suspicious in that code.
/usr/bin/uwsgi-core(uwsgi_backtrace+0x2a) [0x560f2dbf4dda]
/usr/bin/uwsgi-core(uwsgi_segfault+0x23) [0x560f2dbf51c3]
/lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7fb7be828840]
/lib/libqgis_core.so.3.18.1(+0x3a2496) [0x7fb782844496]
/usr/lib/qgis/plugins/liboauth2authmethod.so(+0x225c0) [0x7fb77404c5c0]
/usr/lib/qgis/plugins/liboauth2authmethod.so(+0x2b317) [0x7fb774055317]
/usr/lib/qgis/plugins/liboauth2authmethod.so(+0x2b5b9) [0x7fb7740555b9]
/lib/libqgis_core.so.3.18.1(_ZN14QgsAuthManagerD1Ev+0x437) [0x7fb782afb847]
Any idea how to fix it? Any workaround? How can i get full debug info?
We have qgis and qgis-dbg 3.18.1 installed from qgis.org/debian.
Radim
More information about the QGIS-Developer
mailing list