[ANN] Valentina 4.0b12 UPLOADED for 3 platforms

Ivan Smahin ivan_smahin at paradigmasoft.com
Thu Dec 18 04:24:43 CST 2008


Hello william,

Wednesday, December 17, 2008, 3:08:28 PM, you wrote:

> Still have the problem on close of database from RunRev that I
> reported in Mantis even with newest build. 


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

> Thread 0 Crashed:


> The following is what causes the crash (and doesn't on the 10.5 mac) :

> on DatabaseClose
>    get shutdown()
>    get DBClose( false )
> end DatabaseClose

> function DBClose isDestructing
>    get VDatabase_Close( gDatabase )
>    if isDestructing = true then
>       put VDatabase_Destructor( gDatabase ) into gDatabase
>    end if
> end DBClose


> function shutdown
>     get VConnection_Close( gConnection )
>     get VServer_Destructor( serverRef )
>     get Valentina_ShutDownClient()
>  end shutdown


Why do you call shutdown() before DBClose()???
No Valentina methods ( except ValentinaInitClient() ) should be called
after Valentina_ShutDownClient()

I think it is a reason of the crash.




-- 
Best regards,
Ivan Smahin 
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina-beta mailing list