[V4Rb Client] VField.SetMethod crash

Charles Yeomans yeomans at desuetude.com
Tue Mar 16 12:07:41 CST 2004


My V4Rb Client code is crashing when I call VField.SetMethod.  Here's 
the offending code:

   me.pKey = new VULong("accounts_key", kV_Unique)
   me.pKey.SetMethod("recID")

and below is (some of) the crash log.

--------------
Charles Yeomans

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   Plugin                         	0x004a81e4 0x47c000 + 0x2c1e4
1   Plugin                         	0x004aa6f0 0x47c000 + 0x2e6f0
2   Plugin                         	0x0048b5d4 
Field_SetMethod__FP16REALobjectStructP16REALstringStruct + 0x74
3   main                           	0x010ec0cc 
boAccounts.Constructor%%o<boAccounts> + 0x3e0
4   main                           	0x01018d90 
cDatabase.Constructor%%o<cDatabase>sss + 0x244
5   main                           	0x0105cfe8 
DatabaseClass.Constructor%%o<DatabaseClass>sss + 0x14c
6   main                           	0x0100d77c App.DBConnect%%o<App> + 
0xa54
7   main                           	0x01018124 
App.FileConnectToDB_Action%b%o<App> + 0x6c
8   HXRuntime                      	0x013d566c 0x132b130 + 0xaa53c
9   HXRuntime                      	0x013c24a4 0x132b130 + 0x97374
10  com.apple.HIToolbox            	0x927d2384 DispatchEventToHandlers 
+ 0x150
11  com.apple.HIToolbox            	0x927d25f8 
SendEventToEventTargetInternal + 0x174
12  com.apple.HIToolbox            	0x927e4a88 SendEventToEventTarget + 
0x28
13  com.apple.HIToolbox            	0x927f9b3c 
SendHICommandEvent(unsigned long, HICommand const*, unsigned long, 
unsigned long, unsigned char, OpaqueEventTargetRef*, 
OpaqueEventTargetRef*, OpaqueEventRef**) + 0x170
14  com.apple.HIToolbox            	0x92891d60 
SendMenuItemSelectedEvent + 0x88
15  com.apple.HIToolbox            	0x9289394c 
FinishMenuSelection(MenuData*, MenuResult*, MenuResult*, unsigned long, 
unsigned long, unsigned long) + 0x80
16  com.apple.HIToolbox            	0x9285dc88 MenuSelectCore(Point, 
double, unsigned long, OpaqueMenuRef**, unsigned short*) + 0x164
17  com.apple.HIToolbox            	0x928840b8 MenuSelect + 0x60
18  HXRuntime                      	0x013c2fb8 0x132b130 + 0x97e88
19  HXRuntime                      	0x013c2ce8 0x132b130 + 0x97bb8
20  HXRuntime                      	0x013c1128 0x132b130 + 0x95ff8
21  HXRuntime                      	0x013c1384 0x132b130 + 0x96254
22  HXRuntime                      	0x013be030 0x132b130 + 0x92f00
23  main                           	0x012da194 Main + 0xa4
24  main                           	0x01008098 % main + 0x18
25  ...ple.CoreServices.CarbonCore 	0x902d9eb8 CCFM_LaunchApplication + 
0x1e8
26  Quantum Meruit.debug           	0x00008840 main + 0x168
27  Quantum Meruit.debug           	0x00008408 _start + 0x188
28  Quantum Meruit.debug           	0x0000827c start + 0x30

Thread 1:
0   libSystem.B.dylib              	0x9001a5ac syscall + 0xc
1   ...ple.CoreServices.OSServices 	0x9061f3fc BSD_waitevent + 0x2c
2   ...ple.CoreServices.OSServices 	0x9061bdf0 CarbonSelectThreadFunc + 
0xb0
3   libSystem.B.dylib              	0x900247e8 _pthread_body + 0x28

Thread 2:
0   libSystem.B.dylib              	0x90017048 
semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib              	0x9000e890 _pthread_cond_wait + 
0x270
2   ...ple.CoreServices.OSServices 	0x90626630 
CarbonOperationThreadFunc + 0x50
3   libSystem.B.dylib              	0x900247e8 _pthread_body + 0x28



More information about the Valentina mailing list