On Thu, 18 Jul 2002 01:28:39 +0200 (Romance Daylight Time) Vadim Zeitlin 
<[EMAIL PROTECTED]> wrote:

Hi Vadim,

VZ>  now that virtual folders finally starts to work (there are still plenty of
VZ> bugs, probably, but at least you can see it in action) 

Here's one problem.

I just updated, and tried to make a search, but I got a crash in 
MailFolderVirt::GetHeaderInfo because, on line 393 (in revision 1.7 of 
VFolder.cpp) :
      hiDst->m_UId = msg->uidVirt;
I have hiDst == 0 !

The headers array has 9 null values, and there is a non-null value at index 9
(numbering from 0), which seems to correspond to the fact that seq=="10".
Other context is that hiSrc is valid, msg->uidVirt==10, and 
this->m_uidLast==10

I verified that there are actually 10 messages that should be found.

Do you see what could be wrong ?

Here is the call stack:

wxString::operator=(const wxString & {...}) line 619 + 6 bytes
HeaderInfo::operator=(const HeaderInfo & {...}) + 19 bytes
MailFolderVirt::GetHeaderInfo(ArrayHeaderInfo & {...}, const Sequence & {...}) line 393
HeaderInfoListImpl::GetItemByIndex(unsigned long 9) line 597
HeaderInfoList::GetItem(unsigned long 9) line 208 + 34 bytes
HeaderInfoList::operator[](unsigned long 9) line 211 + 19 bytes
HeaderInfoList_obj::operator[](unsigned long 9) line 394 + 21 bytes
wxFolderView::SelectInitialMessage() line 3350 + 12 bytes
wxFolderListCtrl::UpdateListing(HeaderInfoList * 0x012e2220) line 2234
wxFolderView::Update() line 3525
wxFolderView::ShowFolder(MailFolder * 0x012d1cb0) line 3700
wxFolderView::OpenFolder(MFolder * 0x012d0320, unsigned char 0) line 3854
wxFolderViewFrame::Create(MFolder * 0x012d0320, wxMFrame * 0x00e65d70, 
MailFolder::OpenMode Normal) line 4940 + 25 bytes
OpenFolderViewFrame(MFolder * 0x012d0320, wxWindow * 0x00e65d70, MailFolder::OpenMode 
Normal) line 5080 + 26 bytes
ShowSearchResults(MailFolder * 0x00e8c7c0, const UIdArray & {...}, wxFrame * 
0x00e65d70) line 5071 + 20 bytes
wxFolderView::OnASFolderResultEvent(MEventASFolderResultData & {...}) line 4816 + 25 
bytes
FolderView::OnMEvent(MEventData & {...}) line 97
wxFolderView::OnMEvent(MEventData & {...}) line 147
MEventManager::Dispatch(MEventData * 0x012d0ac0) line 179 + 18 bytes
MEventManager::DispatchPending() line 129 + 9 bytes
wxMApp::OnIdle(wxIdleEvent & {...}) line 518
wxEvtHandler::SearchEventTable(wxEventTable & {...}, wxEvent & {...}) line 930
wxEvtHandler::ProcessEvent(wxEvent & {...}) line 844 + 19 bytes
wxApp::ProcessIdle() line 995
wxApp::MainLoop() line 978 + 28 bytes
wxAppBase::OnRun() line 127 + 18 bytes
wxMApp::OnRun() line 1040
wxEntry(void * 0x00400000, void * 0x00000000, char * 0x00141f02, int 1, unsigned char 
1) line 737 + 16 bytes
WinMain(HINSTANCE__ * 0x00400000, HINSTANCE__ * 0x00000000, char * 0x00141f02, int 1) 
line 81 + 23 bytes
WinMainCRTStartup() line 330 + 54 bytes
KERNEL32! 77e7eb69()

-- 
Xavier Nodet
PGP fingerprint: EFE0 0E75 C4DC 2654 5C36  4E2D 107C 19DE 0646 1FE2



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to