PyCharm console crashes with "R6025 - Pure virtual function call"

Basically, this is about my original question https://gis.stackexchange.com/questions/380967/python-correct-way-of-closing-ogr-datasource-objects?noredirect=1#comment623063_380967. I tried it in the windows console and the QGIS Python console, and there, Python stays alive, while in PyCharm, debugging mode or console, it crashes after calling ds.Destroy() on an ogr.DataSource(), printing out

>>> R6025
>>> - pure virtual function call

and exiting with code 3 (console) or -1073741819 (0xC0000005) (debugger).

0

Please sign in to leave a comment.