Follow up to Mantis Issue 4711

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Wed Feb 10 14:33:16 CST 2010


On 2/10/10 7:42 PM, "Beatrix Willius" <bwillius at gmx.de> wrote:

Hi Beatrix,

> after I had changed my code from using theCursor.Database to giving the
> database as parameter I'm now getting crash reports at the same line of code
> with the following crash log:
> 
> 0   libvshared_fat_release.dylib  0x0e2003e8 fbl::String::String(unsigned
> short const*, int) + 38
> 1   V4RB.rbx_0.dylib              0x0e155225
> Database_GetTableByName(REALobjectStruct*, REALstringStruct*) + 221
> 2   com.mothsoftware.mailarchiverx 0x005944aa
> VDatabase.Table%o<VTable>%o<VDatabase>s + 111
> 3   com.mothsoftware.mailarchiverx 0x0082a5fd
> WriteMessageToValentina.Constructor%%o<WriteMessageToValentina>o<VDatabase>o<M
> ailFields> + 1810
> 4   com.mothsoftware.mailarchiverx 0x007fd402 MailParser.parse%b%o<MailParser>
> + 13033
> 5   com.mothsoftware.mailarchiverx 0x008a12ea
> ArchiveThread.DoWork%%o<ArchiveThread> + 2305
> 6   com.mothsoftware.mailarchiverx 0x0089c91a
> ThreadPoolThread.Event_Run%%o<ThreadPoolThread> + 236
> 7   rbframework.dylib             0x00feea5d threadRun + 633
> 8   ...ple.CoreServices.CarbonCore 0x9020f03b CooperativeThread + 309
> 9   libSystem.B.dylib             0x945c6fbd _pthread_start + 345
> 10  libSystem.B.dylib             0x945c6e42 thread_start + 34
> 
> The code is:


Valentina.DebugLevel = 3     <<<<<<<<<<<<< lets produce log to see
 
>   if theArchive = nil or currentMailFields = nil then Return
>   
>   dim theTable as VTable = theArchive.Table("Message")
>   if theTable = nil then Return
>   
>   'set the fields
>   theTable.SetBlank
>   theTable.Field("ContentDescription").setString("ContentDescription")
>   theTable.Field("ContentDisposition").setString("ContentDisposition")
> 'lots of other fields
> 
>   'and now add this to Valentina
>   RecID = theTable.AddRecord
>   if RecID > 0 then
>     'okay
>   else
>     Globals.theErrorLog.logitem "Write Message to Valentina: " +
> str(theArchive.ErrNumber) + "   " + theArchive.ErrString, ""
>   end if
> 
> What the heck could cause this??? Do you have an idea what I could change
> (except moving to SQL)? This crash I'm sure I haven seen, yet. Just last
> evening I archived about 30.000 mails without any crash. Could it be a timing
> issue? This bug is very urgent for me.

Timing?
Only if think about 10 min demo timeout may be ...


So you say that it works works works the same code many times
Then suddenly crashes?


And as I understand it is hard give us something to reproduce, yes?



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list