Crash when updating a record

Beatrix Willius bwillius at gmx.de
Fri Jun 8 07:03:15 CDT 2012


Hi guys,

what is crasing here? This is still Valentina 4.9.1

The offending code seems to be

    'update the body
    if theNewBodyHtml = "" then
      theCursor.field("MessageBodyHtml").setString AttachmentUtilities.ConvertTextToHtml(theNewBody)
    else
      theCursor.field("MessageBodyHtml").setString theNewBodyHtml
    end if
    theCursor.field("MessageBody").setString theNewBody
    theCursor.UpdateRecord
    theCursor.SetBlank
    
Both fields were empty before this. Can't reproduce this issue.

Thread 4 Crashed:
0   libvkernel_fat_release.dylib  	0x08fcfd0f fbl::Index_String_Page::get_ValueArraySize() const + 61
1   libvkernel_fat_release.dylib  	0x08fd0a93 fbl::Index_String_Page::SetPointersTo(char*, bool) + 87
2   libvkernel_fat_release.dylib  	0x08fc9268 fbl::Index_NotUnique_Page::SetMorePointers() + 44
3   libvkernel_fat_release.dylib  	0x08fa1af3 fbl::Page::Lock(fbl::EVAccessType) + 147
4   libvkernel_fat_release.dylib  	0x08fcffdf fbl::Index_String_Page::Lock(fbl::EVAccessType) + 33
5   libvkernel_fat_release.dylib  	0x08fa1972 fbl::Page::GoToPhysicalPage(unsigned int) + 80
6   libvkernel_fat_release.dylib  	0x08fa1a29 fbl::Page::GoToLogicalPage(unsigned int) + 165
7   libvkernel_fat_release.dylib  	0x08fd42bb fbl::Index_Page_imp::GoToLogicalPage(unsigned int) + 33
8   libvkernel_fat_release.dylib  	0x08fd48e1 fbl::Index_Page_imp::Split(fbl::TIndexContext&) + 153
9   libvkernel_fat_release.dylib  	0x08fd41f8 fbl::Index_Page_imp::AddPair(fbl::TIndexContext&) + 34
10  libvkernel_fat_release.dylib  	0x08fc25de fbl::Index_Imp::AddPair_on_locked(fbl::smart_ptr<fbl::I_Value const>, unsigned int) + 230
11  libvkernel_fat_release.dylib  	0x08fcf064 fbl::Index_String::AddPair_on_locked_words(fbl::smart_ptr<fbl::I_Value const>, unsigned int) + 462
12  libvkernel_fat_release.dylib  	0x08fcf1d6 fbl::Index_String::AddPair(fbl::smart_ptr<fbl::I_Value const>, unsigned int) + 228
13  libvkernel_fat_release.dylib  	0x08cb301f fbl::VText::AddToIndex(unsigned int) + 273
14  libvkernel_fat_release.dylib  	0x08cdb751 fbl::AddRecordToIndex_OneField(fbl::smart_ptr<fbl::I_FieldEx>, unsigned int, bool) + 79
15  libvkernel_fat_release.dylib  	0x08cdb928 fbl::Table::AddRecordToIndex(unsigned int, fbl::smart_ptr<fbl::BitSet>) + 212
16  libvkernel_fat_release.dylib  	0x08ce22bc fbl::Table::UpdateRecord_WithOut_OnEachStatement_Triggers_ex(unsigned int) + 878
17  libvkernel_fat_release.dylib  	0x08cde52d fbl::Table::UpdateRecord(unsigned int) + 487
18  libvkernel_fat_release.dylib  	0x08ce770e fbl::Table_Indirect::UpdateRecord(unsigned int) + 400
19  libvkernel_fat_release.dylib  	0x08cf2339 fbl::vsql::Cursor::UpdateRecord(unsigned int) + 241
20  V4RB.rbx_0.dylib              	0x0896fe64 Cursor_UpdateRecord(REALobjectStruct*) + 122
21  com.mothsoftware.mailarchiverx	0x00720aa3 VCursor.UpdateRecord%%o<VCursor> + 48
22  com.mothsoftware.mailarchiverx	0x00a55a4f AttachmentsAndMimeCleaner.execute%%o<AttachmentsAndMimeCleaner> + 16631
23  com.mothsoftware.mailarchiverx	0x00d25bb3 MailParser.parse%i4%o<MailParser> + 13074
24  com.mothsoftware.mailarchiverx	0x00cc01b5 ArchiveThread.DoWork%%o<ArchiveThread> + 2509
25  com.mothsoftware.mailarchiverx	0x00cbc915 ArchiveThread.Event_Run%%o<ArchiveThread> + 56
26  rbframework.dylib             	0x01358147 ThreadYieldAsNeeded() + 283
27  libsystem_c.dylib             	0x99311ed9 _pthread_start + 335
28  libsystem_c.dylib             	0x993156de thread_start + 34

Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals



Mit freundlichen Grüßen/Regards

Trixi Willius

http://www.mothsoftware.com
Mail Archiver X: The email archiving solution for professionals



More information about the Valentina mailing list