lmotta / debug_vs_plugin

Plugin to Enable Debug for Visual Studio( tested in Visual Studio Code)
GNU General Public License v2.0
20 stars 8 forks source link

QGIS 3.20 segfault (OSX Only) #7

Open MattReimer opened 3 years ago

MattReimer commented 3 years ago

Hey there.

I just upgraded to QGIS 3.20 and I'm getting a segfault when I try to click the debugvs button. I've tried re-installing the plugin and reinstalling ptvsd using pip but I just can't get it to work.

The plugin seems to still work fine in the LTS version so I'm assuming this is just a problem with QGIS 3.20

Sorry for this sparse bug report but it doesn't seem to give me any good errors. I did notice the terminal popped up when QGIS died and it had the following:

> /Applications/QGIS.app/Contents/MacOS/QGIS ; exit;
Warning: Populating font family aliases took 337 ms. Replace uses of missing font family "FreeSans" with one that exists to avoid this cost. 
proj_create_from_database: SQLite error on SELECT name, type, coordinate_system_auth_name, coordinate_system_code, datum_auth_name, datum_code, area_of_use_auth_name, area_of_use_code, text_definition, deprecated FROM geodetic_crs WHERE auth_name = ? AND code = ?: no such column: area_of_use_auth_name
proj_create_from_database: SQLite error on SELECT name, type, coordinate_system_auth_name, coordinate_system_code, datum_auth_name, datum_code, area_of_use_auth_name, area_of_use_code, text_definition, deprecated FROM geodetic_crs WHERE auth_name = ? AND code = ?: no such column: area_of_use_auth_name
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
Warning: libpng warning: iCCP: cHRM chunk does not match sRGB
[1]    98328 segmentation fault  /Applications/QGIS.app/Contents/MacOS/QGIS
Saving session...completed.
Deleting expired sessions...       3 completed.

I don't think any of this is related to the problem except for that last line of segfault.

This is a really tricky problem to solve. Let me know if there's more I could do to help with repro steps.

EDIT: Seems like this is happening in OSX and not in windows. I'm going to try a fresh reinstall and see if that fixes it.