Valentina crash when using one .localName setting with another system locale

jda jda at his.com
Mon Apr 15 12:02:26 CDT 2013


Hm, wasn't doing that before. But it doesn't help to move it before .Create. When I do, still crashes when I set the machine's locale to UK:

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib             	0x02458930 misaligned_stack_error_ + 0
1   ...are.carbonframeworktemplate	0x25754252 SYSTEM_DO_WRITE$LONGINT$POINTER$LONGINT$$LONGINT + 50
2   ...are.carbonframeworktemplate	0x25754816 SYSTEM_FILEWRITEFUNC$TEXTREC + 38
3   ...are.carbonframeworktemplate	0x2574ca6f SYSTEM_DOUNHANDLEDEXCEPTION + 95
4   ...are.carbonframeworktemplate	0x2574cdab FPC_RERAISE + 59
5   ...are.carbonframeworktemplate	0x2574ca6f SYSTEM_DOUNHANDLEDEXCEPTION + 95
6   ...are.carbonframeworktemplate	0x2574cdab FPC_RERAISE + 59
7   ...are.carbonframeworktemplate	0x2574ca6f SYSTEM_DOUNHANDLEDEXCEPTION + 95
8   ...are.carbonframeworktemplate	0x2574cdab FPC_RERAISE + 59
9   ...are.carbonframeworktemplate	0x2574ca6f SYSTEM_DOUNHANDLEDEXCEPTION + 95
10  ...are.carbonframeworktemplate	0x2574cdab FPC_RERAISE + 59
11  ...are.carbonframeworktemplate	0x2574ca6f SYSTEM_DOUNHANDLEDEXCEPTION + 95
12  ...are.carbonframeworktemplate	0x2574cdab FPC_RERAISE + 59

Jon


> Shouldn't you set the locale first before creating the database? Similar to DateFormat and DateSep.
> 
> On 15.04.2013, at 18:43, jda <jda at his.com> wrote:
> 
>>     myDB.Create( f, EVdbMode.kDscDatBlbInd , 4 * 1024 )
>>     myDB.localeName = "en_US"



More information about the Valentina mailing list