crash while checking mail

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
Hello,

I quite often get the following situation - I see (in a biff) that
I have a new mail. The same folder is selected in M (M does
not see new message(s) yet), and I press F5 (Check mail).
Then M takes 100% CPU and starts to eat memory. Sometimes
I am quick to switch to console from where M was started and
press Ctrl-C, sometimes kernel kills M (after a few minutes, during
this time X is unresponsive).  I suspect it happens when M was
already checking for a new mail and I pressed F5. Today I ran
M in gdb and was able to Ctrl-C (interrupt) M and take a bt:

Program received signal SIGINT, Interrupt.
[Switching to Thread 16384 (LWP 11545)]
0x405b8f9d in wxStringBase::append(unsigned, char) (this=0xbfffeac0, 
    n=810034154, ch=32 ' ') at ../wxWindows/src/common/string.cpp:339
339             m_pchData[len + i] = ch;
(gdb) bt
#0  0x405b8f9d in wxStringBase::append(unsigned, char) (this=0xbfffeac0, 
    n=810034154, ch=32 ' ') at ../wxWindows/src/common/string.cpp:339
#1  0x405b8b58 in wxStringBase (this=0xbfffeac0, n=810034154, ch=32 ' ')
    at ../wxWindows/src/common/string.cpp:225
#2  0x405bf350 in wxString (this=0xbfffeac0, ch=32 ' ', nRepeat=810034154)
    at string.h:664
#3  0x081a7862 in wxFolderListCtrl::OnGetItemText(long, long) const (
    this=0x84a1510, item=68, column=2) at .src/gui/wxFolderView.cpp:3014
#4  0x402eddab in wxListMainWindow::CacheLineData(unsigned) (this=0x84a1740, 
    line=68) at ../wxWindows/src/generic/listctrl.cpp:2243
#5  0x402fa5db in wxListMainWindow::GetLine(unsigned) const (this=0x84a1740, 
    n=68) at ../wxWindows/src/generic/listctrl.cpp:787
#6  0x402ef277 in wxListMainWindow::OnPaint(wxPaintEvent&) (this=0x84a1740)
    at ../wxWindows/src/generic/listctrl.cpp:2661
#7  0x405503d4 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x83c93c0, handler=0x84a1740, func=
      {__pfn = 0x402eeece <wxListMainWindow::OnPaint(wxPaintEvent&)>, __delta = 0}, event=@0xbfffef10) at ../wxWindows/src/common/appbase.cpp:303
#8  0x405ed4cd in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x404aeec0, handler=0x84a1740, 
    event=@0xbfffef10) at ../wxWindows/src/common/event.cpp:1169
#9  0x405ec45a in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (
    this=0x404aee98, event=@0xbfffef10, self=0x84a1740)
    at ../wxWindows/src/common/event.cpp:837
#10 0x405ed6e0 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x84a1740, 
    event=@0xbfffef10) at ../wxWindows/src/common/event.cpp:1231
#11 0x402cce3d in wxWindow::GtkSendPaintEvents() (this=0x84a1740)
    at ../wxWindows/src/gtk/window.cpp:4022
#12 0x402cc878 in wxWindow::GtkUpdate() (this=0x84a1740)
    at ../wxWindows/src/gtk/window.cpp:3920
#13 0x402ca50b in wxWindow::OnInternalIdle() (this=0x84a1740)
    at ../wxWindows/src/gtk/window.cpp:3126
#14 0x4033e955 in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x83c93c0, win=0x84a1740, event=@0xbffff280)
    at ../wxWindows/src/common/appcmn.cpp:416
#15 0x4033e9ff in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x83c93c0, win=0x84a1510, event=@0xbffff280)
    at ../wxWindows/src/common/appcmn.cpp:430
#16 0x4033e9ff in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x83c93c0, win=0x849e5c8, event=@0xbffff280)
    at ../wxWindows/src/common/appcmn.cpp:430
#17 0x4033e9ff in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x83c93c0, win=0x84a10e8, event=@0xbffff280)
    at ../wxWindows/src/common/appcmn.cpp:430
#18 0x4033e9ff in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) (
    this=0x83c93c0, win=0x842d4f0, event=@0xbffff280)
    at ../wxWindows/src/common/appcmn.cpp:430
#19 0x4033e87f in wxAppBase::ProcessIdle() (this=0x83c93c0)
    at ../wxWindows/src/common/appcmn.cpp:396
#20 0x402973a1 in wxapp_idle_callback () at ../wxWindows/src/gtk/app.cpp:256
#21 0x40a7db1f in g_timeout_add () from /usr/lib/libglib-1.2.so.0
#22 0x40a7c95b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#23 0x40a7ce47 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#24 0x40a7d0f5 in g_main_run () from /usr/lib/libglib-1.2.so.0
#25 0x4098a53f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#26 0x402b1c2a in wxEventLoop::Run() (this=0x84afd90)
    at ../wxWindows/src/gtk/evtloop.cpp:87
#27 0x4033e4c7 in wxAppBase::MainLoop() (this=0x83c93c0)
    at ../wxWindows/src/common/appcmn.cpp:262
#28 0x4033e633 in wxAppBase::OnRun() (this=0x83c93c0)
    at ../wxWindows/src/common/appcmn.cpp:330
#29 0x081cf33f in wxMApp::OnRun() (this=0x83c93c0) at .src/gui/wxMApp.cpp:1113
#30 0x40591f71 in wxEntry(int&, char**) (argc=@0xbffff530, argv=0xbffff584)
    at ../wxWindows/src/common/init.cpp:410
#31 0x081cde01 in main (argc=1, argv=0xbffff584) at .src/gui/wxMApp.cpp:343

I see a few repeating SendIdleEvents, is it normal?

Regards,
Nerijus


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.