Bug report #7377

Leftover custom CRS references cause QGIS to crash when working with CRS

Added by Maxim Dubinin over 11 years ago. Updated over 11 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Projection Support
Affected QGIS version:master Regression?:No
Operating System:Windows 7 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16349

Description

1. regedit
2. HKEY_USERS\\S-1-5-21-[many numbers here]-1000\\Software\\QuantumGIS\\QGIS\\UI
3. recentProjections - add user code, for example 100010
4. recentProjectionsAuthId - add the same user code, USER:100010
5. Run QGIS
6. Try to change CRS in Settings\\Project properties -> QGIS will crash.

This happens a lot, when user uninstalls QGIS where he had custom CRSes, but registry doesn't get cleared appropriately and refs for these codes remain.

QGIS should not trip over those codes if it founds them, just skip them.


Related issues

Duplicated by QGIS Application - Bug report #7370: QGIS 1.8 crashes when attempting to specify CRS Closed 2013-03-16

Associated revisions

Revision 92b930ac
Added by Jürgen Fischer over 11 years ago

projection selector: skip unavailable user CRSes (fixes #7377)

History

#1 Updated by Maxim Dubinin over 11 years ago

  • Operating System set to Windows 7
  • Category set to Projection Support

#2 Updated by Charles Petersen over 11 years ago

Problem solved!

Removed offending entries from the register, and I can now change CRS.

Большое спасибо!

#3 Updated by Jürgen Fischer over 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF