V4RB 2.0 b16 uploaded

Erik Mueller-Harder valentina-list at vermontsoftworks.com
Thu Sep 16 14:57:29 CDT 2004


> New build is read.

I'm having some troubles with this.  My own app crashes when I perform =20=

a .FindNotNulls on a VarChar field.  Same results whether the db fields =20=

are all encoded in UTF-16 or in UTF-8.

So I tried the Field_Find project, and it crashes when I click on "Add =20=

10."  (Actually, it's at

	mPerson.Field("fld_Long").value =3D inLong

the first time that "AddOneRecord" is called).


Here's the V4RB_log, followed by the OS crash report:

Valentina_Init...
	PARAM: inCacheSize =3D 8388608
	PARAM: inMacSN->CString() =3D ""
	PARAM: inWinSN->CString() =3D ""
return

Valentina_SetDebugLevel...
	PARAM: inLevel =3D 2
return

Valentina_GetCacheSize...
return (int) AllocatedSize =3D 8392704

Database_Ctor...
	PARAM: instance =3D 26418148
return

Database_Ctor1...
	PARAM: instance =3D 26418148
	PARAM: inStorageType =3D 0
return

Database_Create...
	PARAM: inDatabase =3D 26418148
	PARAM: inMode =3D 4
	PARAM: inSegmentSize =3D 32768
	PARAM: inNativeOS =3D 0
	PARAM: pLocation->get_Path() =3D "Gigi =20
HD:Users:erikmh:Development:V4RB_2:Examples:API_way:Field_Find:=20
DataBase1.vdb"
return

Database_CreateTable...
Table_Ctor...
	PARAM: instance =3D 26421936
	VAR: gCreateInCtor =3D 0
	VAR: gDatabase.get() =3D 114279156
return

return object =3D 26421936

Table_CreateLongField...
	PARAM: inTable =3D 26421936
	PARAM: inName =3D "fld_long"
	PARAM: inType =3D 8
	PARAM: inFlags =3D 0
return object =3D 26423412

Table_CreateStringField...
	PARAM: inMaxLength =3D 40
	PARAM: inTable =3D 26421936
	PARAM: inName =3D "fld_string"
	PARAM: inType =3D 19
	PARAM: inFlags =3D 0
return object =3D 26423752

Table_GetRecordCount...
	PARAM: inTable =3D 26421936
return res =3D 0

Table_GetFieldByName...
	PARAM: inTable =3D 26421936
	PARAM: inName =3D "fld_Long"
return object =3D 26423412

Field_SetValue...
	PARAM: inFld =3D 26423412
	PARAM: inValue =3D 26549240

-----------------------------------------

Date/Time:      2004-09-16 14:49:36 -0400
OS Version:     10.3.5 (Build 7M34)
Report Version: 2

Command: My Application.debug
Path:    =20
/Users/erikmh/Development/V4RB_2/Examples/API_way/Field_Find/My =20
Application.debug
Version: ??? (???)
PID:     948
Thread:  0

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

Thread 0 Crashed:
0   Kernel_Carbon_Debug.shlb       	0x020761b8 =20
get_Value__Q23fbl9Field_ImpFQ23fbl12EValueAccess + 0x58
1   Kernel_Carbon_Debug.shlb       	0x02076074 =20
put_Value__Q23fbl9Field_ImpFQ23fbl26smart_ptr<CQ23fbl7I_Value> + 0x2c
2   Plugin                         	0x00684d14 =20
Field_SetValue__FP16REALobjectStructlP16REALobjectStruct + 0xc8
3   main                           	0x00408174 =20
Window1.Window1.AddOneRecord%%o<Window1>is + 0x118
4   main                           	0x00409c08 =20
Window1.Window1.Add10_Action%%o<Window1> + 0xd4
5   RBFramework                    	0x0048cc7c 0x4161d0 + 0x76aac
6   RBFramework                    	0x0044008c 0x4161d0 + 0x29ebc
7   RBFramework                    	0x00434b00 0x4161d0 + 0x1e930
8   RBFramework                    	0x004df974 0x4161d0 + 0xc97a4
9   <<00000000>> 	0x927d1fc8 0 + 0x927d1fc8
10  <<00000000>> 	0x927d223c 0 + 0x927d223c
11  <<00000000>> 	0x927e46e4 0 + 0x927e46e4
12  <<00000000>> 	0x927f96dc 0 + 0x927f96dc
13  <<00000000>> 	0x92910ed4 0 + 0x92910ed4
14  <<00000000>> 	0x928a9da0 0 + 0x928a9da0
15  <<00000000>> 	0x92895378 0 + 0x92895378
16  <<00000000>> 	0x928d65a8 0 + 0x928d65a8
17  RBFramework                    	0x00435644 0x4161d0 + 0x1f474
18  RBFramework                    	0x004354bc 0x4161d0 + 0x1f2ec
19  RBFramework                    	0x0043544c 0x4161d0 + 0x1f27c
20  RBFramework                    	0x004e18dc 0x4161d0 + 0xcb70c
21  RBFramework                    	0x0044d7c8 0x4161d0 + 0x375f8
22  RBFramework                    	0x00521368 0x4161d0 + 0x10b198
23  RBFramework                    	0x004afffc 0x4161d0 + 0x99e2c
24  RBFramework                    	0x004af8f8 0x4161d0 + 0x99728
25  RBFramework                    	0x004adcc8 0x4161d0 + 0x97af8
26  RBFramework                    	0x004adf44 0x4161d0 + 0x97d74
27  RBFramework                    	0x004aadc0 0x4161d0 + 0x94bf0
28  main                           	0x00411af4 Main + 0xd8
29  main                           	0x00405098 % main + 0x18
30  ...ple.CoreServices.CarbonCore 	0x902d9d58 =
CCFM_LaunchApplication + =20
0x1e8
31  My Application.debug           	0x00008840 main + 0x168
32  My Application.debug           	0x00008408 _start + 0x188
33  My Application.debug           	0x0000827c start + 0x30

Thread 1:
0   libSystem.B.dylib              	0x9001a4ac syscall + 0xc
1   ...ple.CoreServices.OSServices 	0x906200cc BSD_waitevent + 0x2c
2   ...ple.CoreServices.OSServices 	0x9061cac0 =
CarbonSelectThreadFunc + =20
0xb0
3   libSystem.B.dylib              	0x900246e8 _pthread_body + 0x28

Thread 2:
0   libSystem.B.dylib              	0x90016f48 =20
semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib              	0x9000e790 _pthread_cond_wait + =20=

0x270
2   ...ple.CoreServices.OSServices 	0x90627300 =20
CarbonOperationThreadFunc + 0x50
3   libSystem.B.dylib              	0x900246e8 _pthread_body + 0x28

PPC Thread State:
   srr0: 0x020761b8 srr1: 0x0200f030                vrsave: 0x00000000
     cr: 0x24022288  xer: 0x00000004   lr: 0x020761b4  ctr: 0x02076048
     r0: 0x00000002   r1: 0xbfffeee0   r2: 0x010d3000   r3: 0x00000000
     r4: 0x01932ab0   r5: 0x00000002   r6: 0x00000001   r7: 0x00000000
     r8: 0x00000a74   r9: 0xffffffff  r10: 0x902985a4  r11: 0xa0281558
    r12: 0x010db3a0  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
    r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
    r20: 0x00000002  r21: 0x00000000  r22: 0x00319e80  r23: 0x00374700
    r24: 0xbffff410  r25: 0xffffd96e  r26: 0x00000000  r27: 0x01933074
    r28: 0x01951bf8  r29: 0x01932ab0  r30: 0xbfffeff4  r31: 0xbfffeee0

Binary Images Description:
     0x1000 -     0x9fff My Application.debug =20
	/Users/erikmh/Development/V4RB_2/Examples/API_way/Field_Find/My =20=

Application.debug
    0xae000 -    0xae12f icudt26b_cw.shlb 	PEF binary: =
icudt26b_cw.shlb
    0xc3000 -    0xdd8ee icuio26_cw.shlb 	PEF binary: =
icuio26_cw.shlb
   0x287000 -   0x2d29b1 CarbonLibpwpc 	PEF binary: CarbonLibpwpc
   0x2d29c0 -   0x2eacad Apple;Carbon;Multimedia 	PEF binary: =20
Apple;Carbon;Multimedia
   0x2ec1f0 -   0x2edf7b Apple;Carbon;Networking 	PEF binary: =20
Apple;Carbon;Networking
   0x311f70 -   0x312022 CFMPriv_CoreFoundation 	PEF binary: =20
CFMPriv_CoreFoundation
   0x312220 -   0x3122d5 CFMPriv_DVComponentGlue 	PEF binary: =20
CFMPriv_DVComponentGlue
   0x312510 -   0x3125b3 CFMPriv_QuickTime 	PEF binary: =
CFMPriv_QuickTime
   0x312630 -   0x3126a7 CFMPriv_System 	PEF binary: =
CFMPriv_System
   0x312950 -   0x312a20 CFMPriv_CarbonSound 	PEF binary: =20
CFMPriv_CarbonSound
   0x312aa0 -   0x312b73 CFMPriv_CommonPanels 	PEF binary: =20
CFMPriv_CommonPanels
   0x312c50 -   0x312d0b CFMPriv_Help 	PEF binary: CFMPriv_Help
   0x312d10 -   0x312dda CFMPriv_HIToolbox 	PEF binary: =
CFMPriv_HIToolbox
   0x312e60 -   0x312f36 CFMPriv_HTMLRendering 	PEF binary: =20
CFMPriv_HTMLRendering
   0x312fb0 -   0x313083 CFMPriv_ImageCapture 	PEF binary: =20
CFMPriv_ImageCapture
   0x313110 -   0x3131f5 CFMPriv_NavigationServices 	PEF binary: =20
CFMPriv_NavigationServices
   0x313270 -   0x313346 CFMPriv_OpenScripting=F0MacBLib 	PEF =
binary: =20
CFMPriv_OpenScripting=F0MacBLib
   0x313420 -   0x3134de CFMPriv_Print 	PEF binary: CFMPriv_Print
   0x313500 -   0x3135cd CFMPriv_SecurityHI 	PEF binary: =20
CFMPriv_SecurityHI
   0x313650 -   0x313732 CFMPriv_SpeechRecognition 	PEF binary: =20
CFMPriv_SpeechRecognition
   0x3137b0 -   0x313883 CFMPriv_CarbonCore 	PEF binary: =20
CFMPriv_CarbonCore
   0x313900 -   0x3139d3 CFMPriv_OSServices 	PEF binary: =20
CFMPriv_OSServices
   0x313ab0 -   0x313b72 CFMPriv_AE 	PEF binary: CFMPriv_AE
   0x313b80 -   0x313c45 CFMPriv_ATS 	PEF binary: CFMPriv_ATS
   0x313cc0 -   0x313d97 CFMPriv_ColorSync 	PEF binary: =
CFMPriv_ColorSync
   0x313e20 -   0x313f03 CFMPriv_FindByContent 	PEF binary: =20
CFMPriv_FindByContent
   0x313f80 -   0x31405a CFMPriv_HIServices 	PEF binary: =20
CFMPriv_HIServices
   0x3140d0 -   0x3141b0 CFMPriv_LangAnalysis 	PEF binary: =20
CFMPriv_LangAnalysis
   0x314240 -   0x314326 CFMPriv_LaunchServices 	PEF binary: =20
CFMPriv_LaunchServices
   0x314400 -   0x3144d7 CFMPriv_PrintCore 	PEF binary: =
CFMPriv_PrintCore
   0x3144e0 -   0x3145a2 CFMPriv_QD 	PEF binary: CFMPriv_QD
   0x3146a0 -   0x314789 CFMPriv_SpeechSynthesis 	PEF binary: =20
CFMPriv_SpeechSynthesis
   0x405000 -   0x4161cf main 	PEF binary: main
   0x4161d0 -   0x5eb567 RBFramework 	PEF binary: RBFramework
   0x669000 -   0x6aec60 Plugin 	PEF binary: Plugin
   0x6af000 -   0x75677f icuuc26_cw.shlb 	PEF binary: =
icuuc26_cw.shlb
   0x774000 -   0x780b2a Plugin 	PEF binary: Plugin
  0x1008000 -  0x10cace8 icuin26_cw.shlb 	PEF binary: =
icuin26_cw.shlb
  0x2008000 -  0x27be5b4 Kernel_Carbon_Debug.shlb 	PEF binary: =20
Kernel_Carbon_Debug.shlb
  0x27be5c0 -  0x2807694 MSL_All_Carbon.Shlb 	PEF binary: =20
MSL_All_Carbon.Shlb
  0x5b8a000 -  0x5ba5fff ??? 	/Library/PreferencePanes/Default Folder =20=

X.prefPane/Contents/Resources/Default Folder =20
X.bundle/Contents/Resources/Mach-O Patcher.bundle/Contents/MacOS/Mach-O =20=

Patcher
  0x7505000 -  0x7507fff com.apple.textencoding.unicode =20
1.6.4	/System/Library/TextEncodings/Unicode =20
Encodings.bundle/Contents/MacOS/Unicode Encodings
0x8be30000 - 0x8be31fff DVComponentGlue =20
	/System/Library/Frameworks/DVComponentGlue.framework/Versions/A/=20=

DVComponentGlue
0x8fe00000 - 0x8fe4ffff dyld 	/usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib 	=
/usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.5 =20
(299.32)	=
/System/Library/Frameworks/CoreFoundation.framework/Versions/=20
A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore =20
10.3.5	/System/Library/Frameworks/CoreServices.framework/Versions/A/=20
Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.5 =20
(???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices =20
3.0.1	/System/Library/Frameworks/CoreServices.framework/Versions/A/=20
Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 =20
(???)	/System/Library/Frameworks/CoreServices.framework/Versions/A/=20
CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio =20
2.1.2	/System/Library/Frameworks/CoreAudio.framework/Versions/A/=20
CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration =20
2.0.3	/System/Library/PrivateFrameworks/DiskArbitration.framework/=20
Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 =20
(???)	/System/Library/Frameworks/ApplicationServices.framework/=20
Versions/A/ApplicationServices
0x90910000 - 0x90983fff com.apple.DesktopServices =20
1.2.2	/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/=20=

Versions/A/DesktopServicesPriv
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 =20
(???)	/System/Library/Frameworks/SystemConfiguration.framework/=20
Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 =20
(???)	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 =20
(63.2)	/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager =20
3.8	=
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/=20
CarbonSound.framework/Versions/A/CarbonSound
0x912e0000 - 0x912f7fff com.apple.LangAnalysis =20
1.5.4	/System/Library/Frameworks/ApplicationServices.framework/=20
Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91320000 - 0x913defff ColorSync =20
	=
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/=20
Frameworks/ColorSync.framework/Versions/A/ColorSync
0x91460000 - 0x91473fff com.apple.speech.synthesis.framework =20
3.2	=
/System/Library/Frameworks/ApplicationServices.framework/Versions/=20
A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914a0000 - 0x91509fff com.apple.htmlrendering =20
1.1.2	/System/Library/Frameworks/Carbon.framework/Versions/A/=20
Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.65 =20
(???)	/System/Library/Frameworks/ApplicationServices.framework/=20
Versions/A/Frameworks/QD.framework/Versions/A/QD



More information about the Valentina-beta mailing list