25 minutes between crashes. Getting better.
Zav - Alex Zavatone
zavpublic at mac.com
Sun May 4 16:43:00 CDT 2003
Valentina appears to crash when entering commands in the message
window if it has not been inited
It would be oh so nice if it did not do this.
The following code instantly causes Valentina to crash Director if
Valentina has not been inited.
on ReadFromUserDatabase
put "Reading from user database"
myDBPath = the moviepath & "username.vdb"
myDBTable = "Users"
myDB = new( xtra "VDatabase")-- NEW INSTANCE OF THE XTRA
OpenDataBase(myDB, myDBPath,1) -- CREATE DATABASE FROM SCRATCH
myBaseTableRef = GetBaseObjectName(myDB, 1) -- Get the TABLE ****
The baseRef OBJ is the table
-- ...then your addField stuff.
userField = "Username"
passwordField = "Password"
hintField = "Hint"
-- create a cursor object
myDBref = myDB.GetRef()
--
mySQLString = "SELECT * FROM" && myDBTable && "where" && userField
&& "=" && "*"
myCursorRef = new(xtra "VCursor", myDBref, mySQLString)--myBaseTableRef)
Date/Time: 2003-05-04 16:39:06 -0700
OS Version: 10.2.5 (Build 6L29)
Host: Zavs-Ti.local.
Command: Director MX
PID: 1332
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
#0 0x0706f2b0 in
DB_OpenDatabase__FP23VDataBase_IMoaMmXScriptP13MoaMmCallInfo
#1 0x0707a7a4 in Call__23VDataBase_IMoaMmXScriptFP13MoaMmCallInfo
#2 0x006c9da4 in 0x6c9da4
#3 0x007d23cc in 0x7d23cc
#4 0x007d2444 in 0x7d2444
#5 0x007d2524 in 0x7d2524
#6 0x007c09a8 in 0x7c09a8
#7 0x007c36f0 in 0x7c36f0
#8 0x007c12c4 in 0x7c12c4
#9 0x007d55ec in 0x7d55ec
#10 0x006d182c in 0x6d182c
#11 0x006d62ec in 0x6d62ec
#12 0x00745634 in 0x745634
#13 0x00691d18 in 0x691d18
#14 0x003ebe60 in 0x3ebe60
#15 0x004bd110 in 0x4bd110
#16 0x004ba3f8 in 0x4ba3f8
#17 0x0034a3b4 in 0x34a3b4
#18 0x002ded9c in 0x2ded9c
#19 0x002df8dc in 0x2df8dc
#20 0x002e5058 in 0x2e5058
#21 0x002e5fb8 in 0x2e5fb8
#22 0x00335db8 in 0x335db8
Thread 1:
#0 0x90073c48 in mach_msg_trap
#1 0x90005f90 in mach_msg
#2 0x901489f0 in __CFRunLoopRun
#3 0x90180f58 in CFRunLoopRunSpecific
#4 0x94d9c1c0 in _ZN10HALRunLoop9OwnThreadEPv
#5 0x94d911b0 in _ZN9CAPThread5EntryEPS_
#6 0x90020d48 in _pthread_body
PPC Thread State:
srr0: 0x0706f2b0 srr1: 0x0200f030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x0706f2a0 ctr: 0x9005e2d8 mq: 0x00000000
r0: 0x0706f2a0 r1: 0xbfffed80 r2: 0x071cf000 r3: 0x00000000
r4: 0xbfffedf0 r5: 0xbfffef38 r6: 0x00000001 r7: 0x6e616d65
r8: 0x00046010 r9: 0xa0220a00 r10: 0x034d9010 r11: 0xa00044b0
r12: 0x9005e2d8 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0xbffffe94 r21: 0x033cabc4 r22: 0x033caac4 r23: 0x03af0233
r24: 0x008ff90c r25: 0x06fd6ba4 r26: 0xbfffef38 r27: 0xbffff138
r28: 0x03e7d104 r29: 0x071e0430 r30: 0x071f3b74 r31: 0xbfffed80
--
- Zav
Lost in the translation.
More information about the Valentina
mailing list