Details
-
Type: Bug
-
Status: Open (View Workflow)
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 1.5.8
-
Fix Version/s: 1.7.40
-
Component/s: core
-
Labels:None
Description
When bug API-24 was fixed it exposed a larger bug - if you change the stringmgr then the old localemgr gets deleted which deletes old locales.
This means that a versekey that is created before the stringmgr is changed will have an invalid locale and will reference an invlaid pointer and probably cause a crash.
As a workaround for 1.5.8 we don't set the default locale to LANG anymore but leave it as the hard-coded default en_US. It is up to the frontends to set the default locale if they want to.
We need to discuss on sword-devel how exactly we want to solve this.
Assigning to Joachim for 1.5.40 because StringMgr is his code.