Opened 7 years ago

#347 new Bug

Mulberry crashes on LInux when deleting more than one IMAP folder at a time

Reported by: MartinDietze Owned by: Cyrus Daboo
Priority: major Milestone: unassigned
Component: Application Version:
Severity: Crash/data loss Keywords:
Cc: Operating System: Linux
OS Version:

Description

Steps to reproduce:

  • open an IMAP folder tree, select more than one folder (press Ctrl)
  • Select "Delete Mailbox" from the right-button context menu

Version:

URL: http://svn.mulberrymail.com/mulberry/Mulberry/branches/v4.1d1
Repository Root: http://svn.mulberrymail.com/mulberry
Repository UUID: a91246af-f21b-0410-bd1c-c3c7fc455132
Revision: 354
Node Kind: directory
Schedule: normal
Last Changed Author: cyrusdaboo
Last Changed Rev: 350
Last Changed Date: 2010-07-27 13:14:23 +0200 (Tue, 27 Jul 2010)

In gdb, I get this backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0807bf7e in cdstring (this=0xbfffe548, copy=...)

at ../Sources_Common/Utilities/cdstring.h:94

94 { _init(); _allocate(copy._str); }
(gdb) bt
#0 0x0807bf7e in cdstring (this=0xbfffe548, copy=...)

at ../Sources_Common/Utilities/cdstring.h:94

#1 0x084ac6c8 in CTreeNodeList::NodeRenamed? (this=0x9101040, node=0x15,

new_name=...) at ../Sources_Common/Mail/Mailbox/CTreeNodeList.cp:450

#2 0x082869cb in CServerTable::GetLogonState? (this=0x91b9a30,

enabled=@0xbfffe5bf, pushed=@0xbfffe5be)
at ../Sources_Common/Application/Server/CServerTableCommon.cp:465

#3 0x08283e81 in CServerTable::OnUpdateLoginBtn? (this=0x91b9a30,

pCmdUI=0xbfffe614) at Sources/Application/Server?/CServerTable.cp:568

#4 0x08282de2 in CServerTable::UpdateCommand? (this=0x91b9a30, cmd=1298949029,

cmdui=0xbfffe614) at Sources/Application/Server?/CServerTable.cp:114

#5 0x083f9e46 in CToolbar::UpdateControl? (this=0x9193ab0, ctrl=0x91940c8,

cmd=1298949029, enable=true, show=false, caption=true)
at Sources/Support/Toolbars?/CToolbar.cp:613

#6 0x083fcc8b in CToolbar::UpdateControlState? (this=0x9193ab0,

ctrl=0x91940c8, cmd=1298949029, caption=true)
at Sources/Support/Toolbars?/CToolbar.h:165

#7 0x083fc959 in CToolbar::DoUpdateToolbarState? (this=0x9193ab0)

at Sources/Support/Toolbars?/CToolbar.cp:1283

#8 0x083fc79a in CToolbar::UpdateToolbarState? (this=0x9193ab0)

at Sources/Support/Toolbars?/CToolbar.cp:1249

#9 0x083f9a58 in CToolbar::ListenTo_Message (this=0x9193ab0, msg=1112961891,

param=0x91b8678) at Sources/Support/Toolbars?/CToolbar.cp:534

#10 0x0856f35b in CBroadcaster::Broadcast_Message (this=0x91b870c,

msg=1112961891, param=0x91b8678)
at ../Sources_Common/Utilities/CBroadcaster.cp:65

#11 0x083df78a in CTableView::ListenTo_Message (this=0x91b8678,

msg=1413772131, param=0x91b9a30)
at Sources/Application/Windows?/CTableView.cp:69

#12 0x08274f0d in CServerView::ListenTo_Message (this=0x91b8678,

msg=1413772131, param=0x91b9a30)
at ../Sources_Common/Application/Server/CServerViewCommon.cp:58

#13 0x0856f35b in CBroadcaster::Broadcast_Message (this=0x91b9b04,

msg=1413772131, param=0x91b9a30)
at ../Sources_Common/Utilities/CBroadcaster.cp:65

#14 0x083e6cfc in CTable::DoSelectionChanged? (this=0x91b9a30)

at Sources/Support/Table?/CTable.cp:1369

#15 0x08283863 in CServerTable::DoSelectionChanged? (this=0x91b9a30)

at Sources/Application/Server?/CServerTable.cp:438

#16 0x083e7bb2 in CTableDragAndDrop::SelectionChanged? (this=0x91b9a30)

at Sources/Support/Table?/CTableDragAndDrop.cp:129

#17 0x0858cb3c in LTableMultiSelector::RemoveRows? (this=0x91ba3f0,

inHowMany=1, inFromRow=13)
at Sources/PP_Sources/Tables/UNX_LTableMultiSelector.cp:753

#18 0x08278030 in CServerBrowse::RemoveRows? (this=0x91b9a30, inHowMany=1,

inFromRow=21, inRefresh=true)
at Sources/Application/Server?/CServerBrowse.cp:679

#19 0x0827f6ac in CServerBrowse::DeletedNode? (this=0x91b9a30, list=0x9101040,

mbox_index=6)
at ../Sources_Common/Application/Server/CServerBrowseCommon.cp:2194

#20 0x08279096 in CServerBrowse::ListenTo_Message (this=0x91b9a30,

msg=1953653870, param=0xbfffeaa8)
at ../Sources_Common/Application/Server/CServerBrowseCommon.cp:141

#21 0x0856f35b in CBroadcaster::Broadcast_Message (this=0x9101040,

msg=1953653870, param=0xbfffeaa8)
at ../Sources_Common/Utilities/CBroadcaster.cp:65

#22 0x084ac5a1 in CTreeNodeList::RemoveNode? (this=0x9101040, node=0xb683bf60,

delete_it=true) at ../Sources_Common/Mail/Mailbox/CTreeNodeList.cp:416

#23 0x08444541 in CMboxProtocol::RemoveMbox? (this=0x9100f28, mbox=0xb683bf60)

at ../Sources_Common/Mail/Protocols/CMboxProtocol.cp:2291

#24 0x084443c1 in CMboxProtocol::DeleteMbox? (this=0x9100f28, mbox=0xb683bf60,

remove=true) at ../Sources_Common/Mail/Protocols/CMboxProtocol.cp:2265

#25 0x0849a8c2 in CMbox::Delete (this=0xb683bf60)

at ../Sources_Common/Mail/Mailbox/CMbox.cp:1276

#26 0x08513786 in CDeleteMailboxTask::Work (this=0xb683a338)

at ../Sources_Common/Tasks/CTaskClasses.cp:283

#27 0x0851129a in CTaskBase::DoWork? (this=0xb683a338)

at ../Sources_Common/Tasks/CTaskQueue.cp:111

#28 0x08511112 in CTaskQueue::DoNextWork? (this=0x906c940)

at ../Sources_Common/Tasks/CTaskQueue.cp:38

#29 0x0808cf23 in CPeriodicCheck::Perform (this=0x913d248, delta=50,

maxSleepTime=0xbfffeca0)
at Sources/Application/General?/CPeriodicCheck.cp:70

#30 0x086b4662 in JXApplication::PerformPermanentTasks? (this=0x909c510)

at code/JXApplication.cpp:1175

#31 0x086b382f in JXApplication::HandleOneEvent? (this=0x909c510)

at code/JXApplication.cpp:546

#32 0x086b34b8 in JXApplication::Run (this=0x909c510)

at code/JXApplication.cpp:391

#33 0x0807609f in main (argc=1, argv=0xbfffeea4) at Sources/xmul.cp:113

Change History (0)

Note: See TracTickets for help on using tickets.