Hello,

I have some old messages, and when I try to open them, dovecot dies:
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Error: Maildir filename has 
wrong S value, renamed the file from /ho
me/nerijus/Maildir/.Linux_old.fetchmail/cur/1023547815.11888_0.nerijus,S=4761:2,S
 to /home/nerijus/Maildir/.Linux_ol
d.fetchmail/cur/1023547815.11888_0.nerijus,S=4714:2,S
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Error: Corrupted index cache 
file /home/nerijus/Maildir/.Linux_old.f
etchmail/dovecot.index.cache: Broken physical size for mail UID 17 in mailbox 
Linux_old.fetchmail: read(/home/neriju
s/Maildir/.Linux_old.fetchmail/cur/1023547815.11888_0.nerijus,S=4761:2,S) 
failed: Cached message size larger than ex
pected (4761 > 4714, box=Linux_old.fetchmail, UID=17, cached 
Message-Id=<20020608103849.a26...@thyrsus.com>)
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Error: 
read(/home/nerijus/Maildir/.Linux_old.fetchmail/cur/102354781
5.11888_0.nerijus,S=4761:2,S) failed: Cached message size larger than expected 
(4761 > 4714, box=Linux_old.fetchmail
, UID=17, cached Message-Id=<20020608103849.a26...@thyrsus.com>) (uid=17, 
box=Linux_old.fetchmail)
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Internal error occurred. Refer 
to server log for more information. [
2016-03-25 13:22:51] in=2063 out=63058

I get an assert in M:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000005f4b01 in MessageCC::GetBody (this=0xfc0a10) at 
.src/mail/MessageCC.cpp:738
738        ASSERT_MSG( m_Body && m_Envelope, _T("failed to get body and 
envelope!") );
(gdb) bt
#0  0x00000000005f4b01 in MessageCC::GetBody() (this=0xfc0a10) at 
.src/mail/MessageCC.cpp:738
#1  0x00000000005f5467 in MessageCC::CheckBody() const (this=0xfc0a10) at 
/a/M/M/include/MessageCC.h:176
#2  0x00000000005f3669 in MessageCC::CheckMIME() const (this=0xfc0a10) at 
.src/mail/MessageCC.cpp:507
#3  0x00000000005f374c in MessageCC::GetTopMimePart() const (this=0xfc0a10) at 
.src/mail/MessageCC.cpp:532
#4  0x000000000048c2ac in MessageView::Update() (this=0xee6400) at 
.src/classes/MessageView.cpp:3060
#5  0x0000000000491233 in MessageView::DoShowMessage(Message*) (this=0xee6400, 
mailMessage=0xfc0a10)
    at .src/classes/MessageView.cpp:3978
#6  0x00000000005110e1 in wxMessageView::DoShowMessage(Message*) 
(this=0xee6400, mailMessage=0xfc0a10)
    at .src/gui/wxMessageView.cpp:225
#7  0x00000000004852c8 in 
MessageView::OnASFolderResultEvent(MEventASFolderResultData&) (this=0xee6400, 
event=...) at .src/classes/MessageView.cpp:1132
#8  0x00000000004850da in MessageView::OnMEvent(MEventData&) (this=0xee6400, 
event=...)
    at .src/classes/MessageView.cpp:1079
#9  0x0000000000496efd in MEventManager::Dispatch(MEventData*) 
(dataptr=0x117f8d0) at .src/classes/MEvent.cpp:196
#10 0x0000000000496b4a in MEventManager::ForceDispatchPending() () at 
.src/classes/MEvent.cpp:146
#11 0x0000000000496ade in MEventManager::DispatchPending() () at 
.src/classes/MEvent.cpp:123
#12 0x00000000004b6110 in wxMApp::OnIdle(wxIdleEvent&) (this=0xc47820, 
event=...) at .src/gui/wxMApp.cpp:608
#13 0x00007ffff63f9389 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void 
(wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0xc47820, handler=0xc47820, 
func=
    (void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x4b60cc 
<wxMApp::OnIdle(wxIdleEvent&)>, event=...)
    at ../wxWidgets/src/common/appbase.cpp:657
#14 0x00007ffff63f93fc in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, 
wxEventFunctor&, wxEvent&) const (this=0xc47820, handler=0xc47820, functor=..., 
event=...) at ../wxWidgets/src/common/appbase.cpp:669
#15 0x00007ffff6511864 in 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) (entry=..., handler=0xc47820, event=...) at 
../wxWidgets/src/common/event.cpp:1381
#16 0x00007ffff651063f in wxEventHashTable::HandleEvent(wxEvent&, 
wxEvtHandler*) (this=0xba31c0 <wxMApp::sm_eventHashTable>, event=..., 
self=0xc47820) at ../wxWidgets/src/common/event.cpp:989
#17 0x00007ffff6511d61 in wxEvtHandler::TryHereOnly(wxEvent&) (this=0xc47820, 
event=...)
    at ../wxWidgets/src/common/event.cpp:1578
#18 0x00007ffff651381d in wxEvtHandler::TryBeforeAndHere(wxEvent&) 
(this=0xc47820, event=...)
    at ../wxWidgets/include/wx/event.h:3656
#19 0x00007ffff6511b85 in wxEvtHandler::ProcessEventLocally(wxEvent&) 
(this=0xc47820, event=...)
    at ../wxWidgets/src/common/event.cpp:1511
#20 0x00007ffff6511b1d in wxEvtHandler::ProcessEvent(wxEvent&) (this=0xc47820, 
event=...)
    at ../wxWidgets/src/common/event.cpp:1484
#21 0x00007ffff63f8a8c in wxAppConsoleBase::ProcessIdle() (this=0xc47820)
    at ../wxWidgets/src/common/appbase.cpp:434
---Type <return> to continue, or q <return> to quit---
#22 0x00007ffff6f64e66 in wxAppBase::ProcessIdle() (this=0xc47820) at 
../wxWidgets/src/common/appcmn.cpp:373
#23 0x00007ffff6e9a6c8 in wxApp::DoIdle() (this=0xc47820) at 
../wxWidgets/src/gtk/app.cpp:151
#24 0x00007ffff6e9a52e in wxapp_idle_callback(gpointer) () at 
../wxWidgets/src/gtk/app.cpp:99
#25 0x00007ffff27dee3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#26 0x00007ffff27df1d0 in g_main_context_iterate.isra () at 
/lib64/libglib-2.0.so.0
#27 0x00007ffff27df4f2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#28 0x00007ffff497ae57 in gtk_main () at /lib64/libgtk-x11-2.0.so.0
#29 0x00007ffff6eb096f in wxGUIEventLoop::DoRun() (this=0x104b530) at 
../wxWidgets/src/gtk/evtloop.cpp:65
#30 0x00007ffff64350aa in wxEventLoopBase::Run() (this=0x104b530) at 
../wxWidgets/src/common/evtloopcmn.cpp:76
#31 0x00007ffff63f8831 in wxAppConsoleBase::MainLoop() (this=0xc47820) at 
../wxWidgets/src/common/appbase.cpp:380
#32 0x00007ffff63f855d in wxAppConsoleBase::OnRun() (this=0xc47820) at 
../wxWidgets/src/common/appbase.cpp:301
#33 0x00007ffff6f64c07 in wxAppBase::OnRun() (this=0xc47820) at 
../wxWidgets/src/common/appcmn.cpp:311
#34 0x00000000004b7c70 in wxMApp::OnRun() (this=0xc47820) at 
.src/gui/wxMApp.cpp:1263
#35 0x00007ffff6468f50 in wxEntry(int&, wchar_t**) (argc=@0x7ffff67d8130: 1, 
argv=0xc46600)
    at ../wxWidgets/src/common/init.cpp:503
#36 0x00007ffff6469012 in wxEntry(int&, char**) (argc=@0x7fffffffe10c: 1, 
argv=0x7fffffffe1f8)
    at ../wxWidgets/src/common/init.cpp:515
#37 0x00000000004b58b3 in main(int, char**) (argc=1, argv=0x7fffffffe1f8) at 
.src/gui/wxMApp.cpp:341

Usually after a few continues M crashes.

Regards,
Nerijus

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to