I had a spam in my New Mail folder to delete. Clicked the Delete button with
my mouse and got the following:
I am also wondering if the MailFolderCmn.cpp and the FolderView.cpp debug
references below have something in common. I wonder if both are not somehow
timing related ie we are trying to do something before something else (upon
which a dependency relies) has completed.
While I am not in favour of a proliferation of sections of the code becoming
critical sections that must complete before anything else can be done, I'm
wondering if this may not be necessary in a few more cases.
(gdb) run M
Starting program: /usr/local/bin/M M
[New Thread 16384 (LWP 1713)]
[[Debug] 12:41:46: .src/mail/MailFolderCmn.cpp(2223): assert "0" failed: error in msg
status change logic
[Debug] 12:42:06: Failed to update status for 'Trash'
[Debug] 12:42:06: .src/gui/wxFolderView.cpp(530): assert "wxAssertFailure" failed:
invalid listctrl index
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 16384 (LWP 1713)]
0x4088a481 in kill () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4088a481 in kill () from /lib/i686/libc.so.6
#1 0x40cb7acd in pthread_kill () from /lib/i686/libpthread.so.0
#2 0x40cb7deb in raise () from /lib/i686/libpthread.so.0
#3 0x4088a224 in raise () from /lib/i686/libc.so.6
#4 0x4056a92f in wxTrap() () at ../src/common/appbase.cpp:539
#5 0x40316b96 in wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) (
this=0x8414290, [EMAIL PROTECTED]) at ../src/common/appcmn.cpp:528
#6 0x4056acdd in ShowAssertDialog (
szFile=0x82f55c2 ".src/gui/wxFolderView.cpp", nLine=530,
szCond=0x82f55b2 "wxAssertFailure",
szMsg=0x82f6f12 "invalid listctrl index", traits=0x8414290)
at ../src/common/appbase.cpp:705
#7 0x4056a623 in wxAppConsole::OnAssert(char const*, int, char const*, char const*)
(this=0x83d9320, file=0x82f55c2 ".src/gui/wxFolderView.cpp", line=530,
cond=0x82f55b2 "wxAssertFailure", msg=0x82f6f12 "invalid listctrl index")
at ../src/common/appbase.cpp:408
#8 0x4026dce9 in wxApp::OnAssert(char const*, int, char const*, char const*) (
this=0x83d9320, file=0x82f55c2 ".src/gui/wxFolderView.cpp", line=530,
cond=0x82f55b2 "wxAssertFailure", msg=0x82f6f12 "invalid listctrl index")
at ../src/gtk/app.cpp:649
#9 0x081cf9aa in ?? ()
#10 0x4056a9e6 in wxOnAssert(char const*, int, char const*, char const*) (
szFile=0x82f55c2 ".src/gui/wxFolderView.cpp", nLine=530,
szCond=0x82f55b2 "wxAssertFailure",
---Type <return> to continue, or q <return> to quit---
szMsg=0x82f6f12 "invalid listctrl index") at ../src/common/appbase.cpp:585
#11 0x4056a962 in wxAssert(int, char const*, int, char const*, char const*) (
cond=0, szFile=0x82f55c2 ".src/gui/wxFolderView.cpp", nLine=530,
szCond=0x82f55b2 "wxAssertFailure",
szMsg=0x82f6f12 "invalid listctrl index") at ../src/common/appbase.cpp:552
#12 0x081afe07 in ?? ()
#13 0x081a526e in ?? ()
#14 0x4056a339 in wxAppConsole::HandleEvent(wxEvtHandler*, void
(wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x83d9320, handler=0x8460b08, func=
{__pfn = 0x81a51ce, __delta = 0}, [EMAIL PROTECTED])
at ../src/common/appbase.cpp:288
#15 0x40600f44 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) ([EMAIL PROTECTED], handler=0x8460b08,
[EMAIL PROTECTED]) at ../src/common/event.cpp:1164
#16 0x4060032e in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (
this=0x83bb610, [EMAIL PROTECTED], self=0x8460b08)
at ../src/common/event.cpp:837
#17 0x40601160 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8460b08,
[EMAIL PROTECTED]) at ../src/common/event.cpp:1226
#18 0x402c7d20 in wxListMainWindow::SendNotify(unsigned, int, wxPoint) (
this=0x8460f30, line=147, command=10049, point={x = -1, y = -1})
at ../src/generic/listctrl.cpp:2766
#19 0x402c6d36 in wxListMainWindow::HighlightLine(unsigned, bool) (
this=0x8460f30, line=147, highlight=true)
---Type <return> to continue, or q <return> to quit---
at ../src/generic/listctrl.cpp:2444
#20 0x402ca8f8 in wxListMainWindow::SetItemState(long, long, long) (
this=0x8460f30, litem=147, state=4, stateMask=4)
at ../src/generic/listctrl.cpp:3664
#21 0x402cd866 in wxGenericListCtrl::SetItemState(long, long, long) (
this=0x8460b08, item=147, state=4, stateMask=4)
at ../src/generic/listctrl.cpp:4760
#22 0x402d16b1 in wxListView::Select(long, bool) (this=0x8460b08, n=147,
on=true) at ../include/wx/listctrl.h:58
#23 0x081ad0d2 in ?? ()
#24 0x0814057b in ?? ()
#25 0x081afab9 in ?? ()
#26 0x081521cf in ?? ()
#27 0x0815201c in ?? ()
#28 0x08151fa8 in ?? ()
#29 0x081cf92c in ?? ()
#30 0x4056a339 in wxAppConsole::HandleEvent(wxEvtHandler*, void
(wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x83d9320, handler=0x83d9320, func=
{__pfn = 0x81cf8f4, __delta = 0}, [EMAIL PROTECTED])
at ../src/common/appbase.cpp:288
#31 0x40600f44 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) ([EMAIL PROTECTED], handler=0x83d9320,
[EMAIL PROTECTED]) at ../src/common/event.cpp:1164
#32 0x4060032e in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (
---Type <return> to continue, or q <return> to quit---
this=0x83bbc98, [EMAIL PROTECTED], self=0x83d9320)
at ../src/common/event.cpp:837
#33 0x40601160 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x83d9320,
[EMAIL PROTECTED]) at ../src/common/event.cpp:1226
#34 0x40316781 in wxAppBase::ProcessIdle() (this=0x83d9320)
at ../src/common/appcmn.cpp:402
#35 0x4026d377 in wxapp_idle_callback () at ../src/gtk/app.cpp:252
(gdb)
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers