[V4RB, Vserver 2.3, OS X] - Crash on Vcursor.DeleteRecord()

Russ Tyndall fitzbew at nc.rr.com
Wed May 10 08:14:21 CDT 2006


Using V4RB 2.3b10 and Vserver 2.3, both on Mac OS X.4.6:

I'm getting this crash about one time out of five-ten times or so I call
Vcursor.deleterecord().

The whole application crashes into Crash Reporter.

Vserver subsequently logs a message saying that the cursor was not
destroyed, so Vserver is destroying it.

The record being deleted when the crash occurs *is* successfully deleted
(gone from the db).  My code also checks to make sure V4RB believes that the
cursor is writeable and contains a record, is not Nil, etc..

All the crash logs look mostly identical, at least the top 15-20 lines.

PID:    225
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x000c2000

Thread 0 Crashed:
0   MSL_All_Carbon.Shlb                0x0456a568 0x4555000 + 87400
1   vshared_carbon_cw.shlb             0x04604358
put_String__Q23fbl15Value_text_nullFPCcPCcPQ23fbl11I_Converter + 84
2   vshared_carbon_cw.shlb             0x04600104
put_String__Q23fbl12Value_stringFPCcPCc + 28
3   vclient_carbon_cw.shlb             0x04c3d4c4 0x4c19000 + 148676
4   vclient_carbon_cw.shlb             0x04c43c28 0x4c19000 + 175144
5   vclient_carbon_cw.shlb             0x04c42c30 0x4c19000 + 171056
6   vclient_carbon_cw.shlb             0x04c2846c 0x4c19000 + 62572
7   Plugin                             0x044f3ae0
Cursor_DeleteRecord__FP16REALobjectStruct + 220
8   main                               0x0050d694 0x405000 + 1083028
9   main                               0x004557a0 0x405000 + 329632
10  <Unknown memory fragment>          0x01075dcc 0x1008000 + 449996
11  <Unknown memory fragment>          0x010e4378 0x1008000 + 902008
12  <Unknown memory fragment>          0x010e13cc 0x1008000 + 889804
13  <Unknown memory fragment>          0x010e197c 0x1008000 + 891260
14  <Unknown memory fragment>          0x011a8408 0x1008000 + 1704968
15  <Unknown memory fragment>          0x011a7494 0x1008000 + 1701012
16  <Unknown memory fragment>          0x011a68b8 0x1008000 + 1697976
17  com.apple.HIToolbox                0x9321d794
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) +
692
18  com.apple.HIToolbox                0x9321ceec
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*) + 372
19  com.apple.HIToolbox                0x93223c8c SendEventToEventTarget +
40
20  com.apple.HIToolbox                0x93331cf8
HandleTextInputEvent(OpaqueEventRef*) + 56

-- 
Russ Tyndall
Wake Forest, NC



More information about the Valentina mailing list