Follow up to Mantis Issue 4711
Beatrix Willius
bwillius at gmx.de
Wed Feb 10 11:42:25 CST 2010
Hi Ruslan and team,
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<MailFields> + 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:
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.
Mit freundlichen Grüßen/Regards
Trixi Willius
http://www.mothsoftware.com
Mail Archiver X: archive, clean and search email
http://www.beatrixwillius.de
Fractals, 3d landscapes etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20100210/c0829ba6/attachment-0001.html
More information about the Valentina
mailing list