[QGIS-Developer] Crash in QgsAppication.initQgis()

Asim asimrp at lavabit.com
Mon Oct 18 18:26:19 PDT 2021


On 8/20/21 6:38 PM, Asim wrote:
> The stack trace indicates QgsProject failed to get created because 
> sqlite3_create_function_v2() tried to de-reference a NULL pointer.  
> Full stack trace is attached.  Is this something MacOS specific?


Apparently, the libsqlite3 installed natively in MacOS is different from 
libsqlite3 that is bundled within QGIS.  The workaround is to set 
DYLD_INSERT_LIBRARIES environment variable to the libsqlite3.dylib 
library within QGIS installation. More details can be found in 
https://github.com/qgis/QGIS/issues/40378

Asim




More information about the QGIS-Developer mailing list