<HTML>
<HEAD>
<TITLE>Crash on AddRecord</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana"><SPAN STYLE='font-size:12.0px'>Hello Ruslan,<BR>
<BR>
Could you help me with a crash I have when I issue the command <BR>
newRecID = myVCursor.AddRecord<BR>
<BR>
The crash occur with V4RB 4.8, 4.9 and 5<BR>
The crash does NOT occur with V4RB 4.3<BR>
<BR>
I don’t know where I can search to solve this crash.<BR>
<BR>
The cursor is construct with the parameters :<BR>
myVCursor = myDB.SQLselect( theQuery,<BR>
EVCursorLocation.kServerSide,<BR>
EVLockType.kNoLocks,<BR>
EVCursorDirection.kRandom)<BR>
followed by<BR>
myVCursor.SetBlank(EVValueAccess.forAdd)<BR>
<BR>
myDB is a local Database (no server)<BR>
The diagnose don’t show me any problem<BR>
<BR>
Tested on a Mac OS 10.6.6, not tested on Windows.<BR>
<BR>
The relevant part (I think) of the crashLog is the following<BR>
<BR>
Exception Type: EXC_BAD_ACCESS (SIGBUS)<BR>
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000<BR>
...<BR>
0 libicucore.A.dylib 0x95758c71 ucol_getMaxExpansion + 90<BR>
1 libicucore.A.dylib 0x95760679 usearch_getOffset + 1119<BR>
2 libvkernel_fat_release.dylib 0x191eafc2 fbl::ENode_Func_Locate::AssignPattern(unsigned short const*, unsigned int) + 48<BR>
3 libvkernel_fat_release.dylib 0x191ed2ce fbl::ENode_Func_Locate::long_val(unsigned int) + 400<BR>
4 libvkernel_fat_release.dylib 0x191eb03a fbl::ENode_Func_Locate::llong_val(unsigned int) + 24<BR>
5 libvkernel_fat_release.dylib 0x19414011 fbl::AssignToValue(fbl::smart_ptr<fbl::I_Value>, fbl::smart_ptr<fbl::I_ENode>, unsigned int) + 203<BR>
6 libvkernel_fat_release.dylib 0x191ba8a5 fbl::Method_SQL::Evaluate(unsigned int, fbl::smart_ptr<fbl::I_Value>) + 221<BR>
7 libvkernel_fat_release.dylib 0x19279df7 fbl::policyMethodYes::DoMethod(fbl::FldStorage*, unsigned int, fbl::I_Value*) + 109<BR>
8 libvkernel_fat_release.dylib 0x1927fec0 fbl::FldStorageMaster_T<fbl::policyFileNo, fbl::policyNullNo, fbl::policyMethodYes>::ReadValue(unsigned int, fbl::smart_ptr<fbl::I_Value>) + 62<BR>
9 libvkernel_fat_release.dylib 0x19258a42 fbl::Field_Imp::ReadValue(unsigned int) + 60<BR>
10 libvkernel_fat_release.dylib 0x192ad861 fbl::Table::ReEvaluateAllMethods(unsigned int) + 101<BR>
11 libvkernel_fat_release.dylib 0x192ad936 fbl::Table::AddRecord_WithOut_Triggers_ex() + 156<BR>
12 libvkernel_fat_release.dylib 0x192acc0b fbl::Table::AddRecord_WithOut_OnEachStatement_Triggers_ex() + 187<BR>
13 libvkernel_fat_release.dylib 0x192acdfd fbl::Table::AddRecord() + 461<BR>
14 libvkernel_fat_release.dylib 0x192b60af fbl::Table_Indirect::AddRecord() + 229<BR>
15 libvkernel_fat_release.dylib 0x192c5b30 fbl::vsql::Cursor::AddRecord() + 258<BR>
16 ..._macho_ub_4_8_1.rbx_0.dylib 0x04d44c0c Cursor_AddRecord(REALobjectStruct*) + 114<BR>
<BR>
Thank you<BR>
<BR>
François Van Lerberghe<BR>
Rue Thier Monty, 15 A<BR>
4570 Marchin<BR>
Belgique<BR>
</SPAN></FONT>
</BODY>
</HTML>