Bug report #20834

Project -> Properties crashes with LANG != C

Added by Hugo Mercier almost 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:3.4.2 Regression?:No
Operating System:linux debian buster Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:Yes Copied to github as #:28653

Description

Click Project then Properties.
On a Debian Linux system with a French locale, it crashes with:

Fatal: ASSERT failure in QgsProjectProperties::checkPageWidgetNameMap(): "QgisApp::projectPropertiesPagesMap() is outdated, please update. Missing Général", file ../src/app/qgsprojectproperties.cpp, line 2324
QGIS died on signal -1

Restarting with LANG=C fixes the problem.

Compilation problem ?

Associated revisions

Revision 2df15a67
Added by Mathieu Pellerin - nIRV almost 6 years ago

Fix assert crash for non-English UI locale (fixes #20834)

Revision 899dcbff
Added by Mathieu Pellerin - nIRV almost 6 years ago

Fix assert crash for non-English UI locale (fixes #20834)

History

#1 Updated by Mathieu Pellerin - nIRV almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#2 Updated by Hugo Mercier almost 6 years ago

Merci Mathieu !

#3 Updated by Giovanni Manghi almost 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF