Bug 192662 - crash - deleting email (imap) when another delete queue is being processed
Summary: crash - deleting email (imap) when another delete queue is being processed
Status: RESOLVED DUPLICATE of bug 163071
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-14 15:07 UTC by Michal Hlavinka
Modified: 2009-05-15 00:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace and backtrace full (15.44 KB, text/plain)
2009-05-14 15:11 UTC, Michal Hlavinka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Hlavinka 2009-05-14 15:07:29 UTC
Version:           4.2.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Fedora RPMs

When deleting some smails in imap folder, these emails are processed in a queue. When you try to delete one another email before the queue is processed, kmail crashes.
Comment 1 Michal Hlavinka 2009-05-14 15:11:23 UTC
Created attachment 33660 [details]
backtrace and backtrace full
Comment 2 Dario Andres 2009-05-15 00:15:12 UTC
Pasted backtrace from comment 1:
---

(gdb) bt
#0  0x000000360360efab in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
#1  0x00000030a14699e7 in KCrash::defaultCrashHandler () from /usr/lib64/libkdeui.so.5
#2  <signal handler called>
#3  0x00000030aa4662c3 in KMAcctImap::ignoreJobsForMessage (this=0xc69310, msg=0x22924b0) at /usr/src/debug/kdepim-4.2.2/kmail/kmacctimap.cpp:215
#4  0x00000030aa563ff7 in KMMoveCommand::execute (this=0x2239440) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:2086
#5  0x00000030aa552e42 in KMCommand::slotPostTransfer (this=0x2239440, result=KMCommand::OK) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:276
#6  0x00000030aa55ca6e in KMCommand::qt_metacall (this=0x2239440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff85654120)
    at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:87
#7  0x00000030aa55cd95 in KMMoveCommand::qt_metacall (this=0x7fff85653d50, _c=35863592, _id=37331520, _a=0x51) at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1706
#8  0x0000003fe83592b2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#9  0x00000030aa54fd1e in KMCommand::messagesTransfered (this=0x7fff85653d50, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:102
#10 0x00000030aa564be0 in KMCommand::transferSelectedMsgs (this=0x2239440) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:370
#11 0x00000030aa564d96 in KMCommand::slotStart (this=0x2239440) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:268
#12 0x00000030aa55ca82 in KMCommand::qt_metacall (this=0x2239440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff85654340)
    at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:86
#13 0x00000030aa55cd95 in KMMoveCommand::qt_metacall (this=0x7fff85653d50, _c=35863592, _id=37331520, _a=0x51) at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1706
#14 0x0000003fe83592b2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#15 0x0000003fe835e5ef in ?? () from /usr/lib64/libQtCore.so.4
#16 0x0000003fe8353593 in QObject::event () from /usr/lib64/libQtCore.so.4
#17 0x000000309f78f46d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#18 0x000000309f7976ea in QApplication::notify () from /usr/lib64/libQtGui.so.4
#19 0x00000030a1406c7b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#20 0x0000003fe83437dc in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#21 0x0000003fe8370899 in ?? () from /usr/lib64/libQtCore.so.4
#22 0x0000003fe836cfad in ?? () from /usr/lib64/libQtCore.so.4
#23 0x0000003fe4e377bb in g_main_dispatch () at gmain.c:2144
#24 IA__g_main_context_dispatch (context=0x7ab2a0) at gmain.c:2697
#25 0x0000003fe4e3af8d in g_main_context_iterate (context=0x7ab2a0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#26 0x0000003fe4e3b14b in IA__g_main_context_iteration (context=0x7ab2a0, may_block=1) at gmain.c:2841
#27 0x0000003fe836cf0f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#28 0x000000309f82675f in ?? () from /usr/lib64/libQtGui.so.4
#29 0x0000003fe8342082 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#30 0x0000003fe834244d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#31 0x0000003fe8344714 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#32 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.2/kmail/main.cpp:146

------------------------------------

(gdb) bt full
#0  0x000000360360efab in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.                                                                                                  
#1  0x00000030a14699e7 in KCrash::defaultCrashHandler () from /usr/lib64/libkdeui.so.5                      
No symbol table info available.                                                                             
#2  <signal handler called>                                                                                 
No locals.                                                                                                  
#3  0x00000030aa4662c3 in KMAcctImap::ignoreJobsForMessage (this=0xc69310, msg=0x22924b0) at /usr/src/debug/kdepim-4.2.2/kmail/kmacctimap.cpp:215
        job = (class KMail::ImapJob *) 0x225d8f0                                                                                                 
#4  0x00000030aa563ff7 in KMMoveCommand::execute (this=0x2239440) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:2086                       
        srcFolder = (class KMFolder *) 0xb70e20                                                                                                  
        idx = 1347                                                                                                                               
        undo = true                                                                                                                              
        folderDeleteList = {{d = 0x3fe8636860, e = 0x3fe8636860}}                                                                                
        msg = (class KMMessage *) 0x22924b0                                                                                                      
        rc = <value optimized out>                                                                                                               
        index = 54                                                                                                                               
        list = {{p = {static shared_null = {ref = {_q_value = 23452}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x3fe8636840}, d = 0x3fe8636840}}
        undoId = -1                                                                                                                                                     
#5  0x00000030aa552e42 in KMCommand::slotPostTransfer (this=0x2239440, result=KMCommand::OK) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:276                    
        msg = <value optimized out>                                                                                                                                     
#6  0x00000030aa55ca6e in KMCommand::qt_metacall (this=0x2239440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff85654120)                       
    at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:87                                                                                      
No locals.                                                                                                                                                              
#7  0x00000030aa55cd95 in KMMoveCommand::qt_metacall (this=0x7fff85653d50, _c=35863592, _id=37331520, _a=0x51) at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1706
No locals.                                                                                                                                                                                     
#8  0x0000003fe83592b2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                                                                                                              
No symbol table info available.                                                                                                                                                                
#9  0x00000030aa54fd1e in KMCommand::messagesTransfered (this=0x7fff85653d50, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:102               
        _a = {0x0, 0x7fff8565411c}                                                                                                                                                             
#10 0x00000030aa564be0 in KMCommand::transferSelectedMsgs (this=0x2239440) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:370                                                             
        complete = false                                                                                                                                                                       
        totalSize = 0                                                                                                                                                                          
#11 0x00000030aa564d96 in KMCommand::slotStart (this=0x2239440) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:268                                                                        
        mb = <value optimized out>                                                                                                                                                             
#12 0x00000030aa55ca82 in KMCommand::qt_metacall (this=0x2239440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff85654340)                                              
    at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:86                                                                                                             
No locals.                                                                                                                                                                                     
#13 0x00000030aa55cd95 in KMMoveCommand::qt_metacall (this=0x7fff85653d50, _c=35863592, _id=37331520, _a=0x51) at /usr/src/debug/kdepim-4.2.2/x86_64-redhat-linux-gnu/kmail/kmcommands.moc:1706
No locals.                                                                                                                                                                                     
#14 0x0000003fe83592b2 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                                                                                                              
No symbol table info available.                                                                                                                                                                
#15 0x0000003fe835e5ef in ?? () from /usr/lib64/libQtCore.so.4                                                                                                                                 
No symbol table info available.
#16 0x0000003fe8353593 in QObject::event () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#17 0x000000309f78f46d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
No symbol table info available.
#18 0x000000309f7976ea in QApplication::notify () from /usr/lib64/libQtGui.so.4
No symbol table info available.
#19 0x00000030a1406c7b in KApplication::notify () from /usr/lib64/libkdeui.so.5
No symbol table info available.
#20 0x0000003fe83437dc in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#21 0x0000003fe8370899 in ?? () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#22 0x0000003fe836cfad in ?? () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#23 0x0000003fe4e377bb in g_main_dispatch () at gmain.c:2144
No locals.
---Type <return> to continue, or q <return> to quit---
#24 IA__g_main_context_dispatch (context=0x7ab2a0) at gmain.c:2697
No locals.
#25 0x0000003fe4e3af8d in g_main_context_iterate (context=0x7ab2a0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = 13
        allocated_nfds = <value optimized out>
        fds = (GPollFD *) 0x23bd060
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#26 0x0000003fe4e3b14b in IA__g_main_context_iteration (context=0x7ab2a0, may_block=1) at gmain.c:2841
        retval = <value optimized out>
#27 0x0000003fe836cf0f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#28 0x000000309f82675f in ?? () from /usr/lib64/libQtGui.so.4
No symbol table info available.
#29 0x0000003fe8342082 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#30 0x0000003fe834244d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#31 0x0000003fe8344714 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
No symbol table info available.
#32 0x0000000000402b5b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.2.2/kmail/main.cpp:146
        about = {<KAboutData> = {d = 0x7785b0}, <No data fields>}
        app = {<KPIM::PimApplication> = {<> = {<No data fields>}, <No data fields>}, mDelayedInstanceCreation = false, mEventLoopReached = true}
        kmailKernel = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x3fe862e120, stringdata = 0x30aa817860 "KMKernel", data = 0x30aa818120, extradata = 0x0}},
  the_inboxFolder = 0x9d8b80, the_outboxFolder = 0x9da1c0, the_sentFolder = 0x9f62f0, the_trashFolder = 0xa08490, the_draftsFolder = 0x7d1870, the_templatesFolder = 0xa21e30,
  the_folderMgr = 0x7d0aa0, the_imapFolderMgr = 0x7d3850, the_dimapFolderMgr = 0xa6a4e0, the_searchFolderMgr = 0xa68d50, the_undoStack = 0x81d9a0, the_acctMgr = 0xa20860, the_filterMgr = 0xa20300,
  the_popFilterMgr = 0xa27b50, the_filterActionDict = 0xa282e0, mIdentityManager = 0x7d3200, the_msgSender = 0xbf6640, the_msgTagMgr = 0x7d0420, mPutJobs = {{d = 0x3fe8636860, e = 0x3fe8636860}},
  the_previousVersion = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17269}, alloc = 0, size = 0, data = 0x3fe86368fa, clean = 0, simpletext = 0, righttoleft = 0,
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 443}, alloc = 0, size = 0, data = 0x3fe863691a, clean = 0, simpletext = 0, righttoleft = 0,
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7d00f0, static codecForCStrings = 0x0}, the_firstStart = false, the_startingUp = false, the_shuttingDown = false,
  the_server_is_ready = true, closed_by_user = true, the_firstInstance = false, mMailCheckAborted = false, mConfig = {d = 0x79f620}, netCodec = 0x782950, mXmlGuiInstance = <incomplete type>,
  mConfigureDialog = 0x0, mBackgroundTasksTimer = 0x7d0130, mICalIface = 0x817950, mJobScheduler = 0x8177d0, mWin = 0x7d5690, mMailService = 0xa6c4b0, mTimeOfLastMessageCountChange = 1242305750,
  mContextMenuShown = false, systemTrayApplets = {{p = {static shared_null = {ref = {_q_value = 23452}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7d10c0}, d = 0x7d10c0}},
  the_weaver = 0xa24770, mWallet = 0x1847480, mAddMessageMsgIds = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 23452}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {
              0x0}}, d = 0x3fe8636840}, d = 0x3fe8636840}}, <No data fields>}, mAddMessageLastFolder = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17269}, alloc = 0,
      size = 0, data = 0x3fe86368fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 443}, alloc = 0,
      size = 0, data = 0x3fe863691a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3fe86368e0, static codecForCStrings = 0x0},
  mAddMsgCurrentFolder = 0x7fff85654f70, folderAdaptor = 0x0}
        ret = <value optimized out>
Comment 3 Dario Andres 2009-05-15 00:17:51 UTC
Marking as duplicate of bug 163071
Thanks

*** This bug has been marked as a duplicate of bug 163071 ***