VCursor.Database crashes

Ivan Smahin ivan_smahin at paradigmasoft.com
Fri Jan 29 02:13:30 CST 2010


Hello Beatrix,

Thursday, January 28, 2010, 7:21:23 PM, you wrote:

> Hi Ruslan and Team,

> I'm getting crash reports regarding VCursor.Database crashing:

> Thread 12 Crashed:
> 0 libvkernel_fat_release.dylib 0x06690d9c  
> fbl::vsql::Cursor::get_Database() const + 32
> 1 V4RB.rbx_0.dylib 0x062811d4 Cursor_GetDatabase(REALobjectStruct*,  
> int) + 144
> 2 com.mothsoftware.mailarchiverx 0x0065d9bc VCursor.Database.Get 
> %o<VDatabase>%o<VCursor>i4 + 116
> 3 com.mothsoftware.mailarchiverx 0x0088da04  
> WriteMailboxToValentina.Constructor% 
> %o<WriteMailboxToValentina>so<VCursor>s + 376
> 4 com.mothsoftware.mailarchiverx 0x0086832c MailParser.parse%b 
> %o<MailParser> + 1148
> 5 com.mothsoftware.mailarchiverx 0x0090c7d0 ArchiveThread.DoWork% 
> %o<ArchiveThread> + 1972
> 6 com.mothsoftware.mailarchiverx 0x009078b8 ThreadPoolThread.Event_Run%
> %o<ThreadPoolThread> + 292
> 7 rbframework.dylib 0x00ffad74 threadRun + 608
> 8 ...ple.CoreServices.CarbonCore 0x96cfadf0 CooperativeThread + 344
> 9 libSystem.B.dylib 0x93b920c4 _pthread_start + 316

I will try to reproduce it.
But please, provide more info - what kind of cursor (Client or server)?
Under vServer or locally?

> The code seems to be quite simple:

>    if hasCursor = nil then Return
>    theCursor = hasCursor
>    ValentinaDB = new VDatabase
>    ValentinaDB = theCursor.Database
>    theMailApplication = hasMailApplication

Why do you create a db instance first:
  ValentinaDB = new VDatabase
and then replace it with another db instance?
  ValentinaDB = theCursor.Database





-- 
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 mailing list