25 minutes between crashes. Getting better.

Zav - Alex Zavatone zavpublic at mac.com
Sun May 4 16:21:01 CDT 2003


Crash in the debugger within the following code:

on ReadFromUserDatabase
   put "creating 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


   myCrsRef = new(xtra "VCursor", myDBref, mySQLString)--myBaseTableRef)

Not reproducable.

**********

Date/Time:  2003-05-04 16:10:54 -0700
OS Version: 10.2.5 (Build 6L29)
Host:       Zavs-Ti.local.

Command:    Director MX
PID:        1326

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

Thread 0 Crashed:
  #0   0x0707b5f0 in MoaDestroy_VDataBase
  #1   0x00657d4c in 0x657d4c
  #2   0x0707b200 in Release__23VDataBase_IMoaMmXScriptFv
  #3   0x006c9fd8 in 0x6c9fd8
  #4   0x007d1fa8 in 0x7d1fa8
  #5   0x007d2634 in 0x7d2634
  #6   0x007cbf6c in 0x7cbf6c
  #7   0x007cb774 in 0x7cb774
  #8   0x007c471c in 0x7c471c
  #9   0x007c12c4 in 0x7c12c4
  #10  0x007d55ec in 0x7d55ec
  #11  0x006d182c in 0x6d182c
  #12  0x006d62ec in 0x6d62ec
  #13  0x00745634 in 0x745634
  #14  0x00691d18 in 0x691d18
  #15  0x003ebe60 in 0x3ebe60
  #16  0x004bd110 in 0x4bd110
  #17  0x004ba3f8 in 0x4ba3f8
  #18  0x0034a3b4 in 0x34a3b4
  #19  0x002ded9c in 0x2ded9c
  #20  0x002df8dc in 0x2df8dc
  #21  0x002e5058 in 0x2e5058
  #22  0x002e5fb8 in 0x2e5fb8
  #23  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: 0x0707b5f0 srr1: 0x0200f030                vrsave: 0x00000000
    xer: 0x00000000   lr: 0x0707b5d8  ctr: 0x00657cb0   mq: 0x00000000
     r0: 0x0707b5d8   r1: 0xbffff040   r2: 0x071d0000   r3: 0x03f4a130
     r4: 0x00000001   r5: 0x00164f9c   r6: 0x00000001   r7: 0xffffffff
     r8: 0x00046010   r9: 0xa0220a00  r10: 0x03f5b010  r11: 0xa00044b0
    r12: 0x00912e44  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
    r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
    r20: 0xbffffe94  r21: 0x033caba4  r22: 0x033caac4  r23: 0x03f1a79b
    r24: 0x008ff90c  r25: 0x03ecc9f0  r26: 0x00000000  r27: 0x00000000
    r28: 0x0702b460  r29: 0x03ca8374  r30: 0x03355b04  r31: 0x03ca8374

-- 
- Zav
Lost in the translation.


More information about the Valentina mailing list