Bug 151970 - crash when moving stuff from inbox to folders (both IMAP)
Summary: crash when moving stuff from inbox to folders (both IMAP)
Status: RESOLVED DUPLICATE of bug 191345
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: enterprise
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2007-11-07 09:10 UTC by Juha Tuomala
Modified: 2010-08-06 00:49 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juha Tuomala 2007-11-07 09:10:14 UTC
Version:           unknown (using KDE 3.5.8-7.fc8 Fedora, Fedora release 8 (Werewolf))
Compiler:          Target: x86_64-redhat-linux
OS:                Linux (x86_64) release 2.6.23.1-42.fc8

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912496405648 (LWP 11839)]
[New Thread 1115699536 (LWP 11843)]
[New Thread 1105209680 (LWP 11842)]
[New Thread 1094719824 (LWP 11841)]
[New Thread 1084229968 (LWP 11840)]
[KCrash handler]
#5  0x000000344682c1b4 in QMapPrivateBase::removeAndRebalance ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#6  0x0000003d5039548c in KMail::ImapAccountBase::removeJob (this=0x15c7910, 
    it=<value optimized out>) at /usr/lib64/qt-3.3/include/qmap.h:385
#7  0x0000003d503b5601 in KMFolderImap::slotListFolderResult (this=0x166f200, 
    job=0x1fd5b60) at kmfolderimap.cpp:1272
#8  0x0000003d503b641d in KMFolderImap::qt_invoke (this=0x166f200, _id=27, 
    _o=0x7fff19ea72a0) at kmfolderimap.moc:340
#9  0x0000003446563a59 in QObject::activate_signal ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#10 0x0000003449197122 in KIO::Job::result (this=<value optimized out>, 
    t0=0x1fd5b60) at jobclasses.moc:162
#11 0x00000034491cff5f in KIO::Job::emitResult (this=0x1fd5b60) at job.cpp:235
#12 0x00000034491ed87a in KIO::SimpleJob::slotFinished (this=0x1fd5b60)
    at job.cpp:601
#13 0x00000034491edb77 in KIO::ListJob::slotFinished (this=0x1fd5b60)
    at job.cpp:2129
#14 0x00000034491a8623 in KIO::SimpleJob::slotError (this=0x1fd5b60, 
    error=<value optimized out>, errorText=<value optimized out>)
    at job.cpp:612
#15 0x00000034491cfa8c in KIO::SimpleJob::qt_invoke (this=0x1fd5b60, _id=14, 
    _o=0x7fff19ea76c0) at jobclasses.moc:424
#16 0x00000034491fa13d in KIO::ListJob::qt_invoke (this=0x1fd5b60, _id=14, 
    _o=0x7fff19ea76c0) at jobclasses.moc:1775
#17 0x00000034465639c0 in QObject::activate_signal ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#18 0x0000003449196676 in KIO::SlaveInterface::error (
    this=<value optimized out>, t0=<value optimized out>, t1=@0x7fff19ea7950)
    at slaveinterface.moc:214
#19 0x00000034491e294d in KIO::SlaveInterface::dispatch (this=0x227cbc0, 
    _cmd=102, rawdata=@0x7fff19ea79f0) at slaveinterface.cpp:280
#20 0x00000034491f7dfe in KIO::SlaveInterface::dispatch (this=0x227cbc0)
    at slaveinterface.cpp:173
#21 0x00000034491a316b in KIO::Slave::gotInput (this=0x24a1ef0)
    at slave.cpp:300
#22 0x00000034491db898 in KIO::Slave::qt_invoke (this=0x227cbc0, _id=4, 
    _o=0x7fff19ea7b30) at slave.moc:113
#23 0x0000003446563a59 in QObject::activate_signal ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#24 0x00000034465645d8 in QObject::activate_signal ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#25 0x0000003446580e9b in QSocketNotifier::event ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#26 0x00000034465029a5 in QApplication::internalNotify ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#27 0x0000003446503c70 in QApplication::notify ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#28 0x00000034477c3678 in KApplication::notify (this=0x7fff19ea8310, 
    receiver=0x2242960, event=0x7fff19ea7ea0) at kapplication.cpp:550
#29 0x00000034464f7589 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#30 0x00000034464b0eee in QEventLoop::processEvents ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#31 0x000000344651a151 in QEventLoop::enterLoop ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#32 0x000000344651a032 in QEventLoop::exec ()
   from /usr/lib64/qt-3.3/lib/libqt-mt.so.3
#33 0x0000000000402914 in main (argc=7, argv=<value optimized out>)
    at main.cpp:110
#34 0x0000003ac081e074 in __libc_start_main () from /lib64/libc.so.6
#35 0x0000000000402669 in _start ()


Kmail 1.9.6 (enterprise 0.20071012.724442) (Using KDE 3.5.8-7.fc8 Fedora)
Comment 1 Juha Tuomala 2007-11-07 09:11:35 UTC
anyway, it looks that the actual move succeeded so this most likely is not IMAP related as trace also implies.
Comment 2 Ruchir Brahmbhatt 2009-04-06 17:35:49 UTC
Is this issue still reproducible? Can you please give more details to reproduce the crash, i.e. steps to reproduce?
Comment 3 Ruchir Brahmbhatt 2009-04-07 18:36:40 UTC
Please give more information about account type and steps to reproduce.
Comment 4 Juha Tuomala 2009-04-14 18:58:17 UTC
I've online IMAP folders, more than one connection. SSL protected. x86_64 arch.

Those are hard to reproduce, they come and go when they like. Try to squeeze the juice from what's available.
Comment 5 Ruchir Brahmbhatt 2009-04-15 12:03:56 UTC
I could just reproduced on kmail 1.11.2.

Account: Gmail IMAP.

Steps:
1. Move one mail from inbox to other folder(0test in my case) using drag/drop.
2. Move another mail from inbox to other folder(0test in my case) using right click.
3. Repeat step 1. Boom.

Backtrace:
Application: KMail (kmail), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb3b20700 (LWP 16460))]

Thread 1 (Thread 0xb3b20700 (LWP 16460)):
[KCrash Handler]
#6  KMail::FolderJob::msgList (this=0x88ef078) at /usr/include/QtCore/qatomic_i386.h:116
#7  0xb743973b in KMAcctImap::ignoreJobsForMessage (this=0x8211480, msg=0x8aa0cc0) at /usr/src/debug/kdepim-4.2.2/kmail/kmacctimap.cpp:215
#8  0xb744dee5 in KMFolderImap::ignoreJobsForMessage (this=0x822ea30, msg=0x8aa0cc0) at /usr/src/debug/kdepim-4.2.2/kmail/kmfolderimap.cpp:1562
#9  0xb7547814 in KMMoveCommand::execute (this=0x8aa9bb0) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:2086
#10 0xb7535c12 in KMCommand::slotPostTransfer (this=0x8aa9bb0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:276
#11 0xb753fd94 in KMCommand::qt_metacall (this=0x8aa9bb0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfb640cc) at /usr/src/debug/kdepim-4.2.2/build/kmail/kmcommands.moc:86
#12 0xb754028a in KMMoveCommand::qt_metacall (this=0x8aa9bb0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfb640cc) at /usr/src/debug/kdepim-4.2.2/build/kmail/kmcommands.moc:1662
#13 0xb6a5ec88 in QMetaObject::activate (sender=0x8aa9bb0, from_signal_index=4, to_signal_index=4, argv=0xbfb640cc) at kernel/qobject.cpp:3069
#14 0xb6a60412 in QMetaObject::activate (sender=0x8aa9bb0, m=0xb79269d4, local_signal_index=0, argv=0xbfb640cc) at kernel/qobject.cpp:3143
#15 0xb7531773 in KMCommand::messagesTransfered (this=0x8aa9bb0, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.2.2/build/kmail/kmcommands.moc:100
#16 0xb7549b94 in KMCommand::transferSelectedMsgs (this=0x8aa9bb0) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:370
#17 0xb7549d83 in KMCommand::slotStart (this=0x8aa9bb0) at /usr/src/debug/kdepim-4.2.2/kmail/kmcommands.cpp:268
#18 0xb753fda3 in KMCommand::qt_metacall (this=0x8aa9bb0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb642a8) at /usr/src/debug/kdepim-4.2.2/build/kmail/kmcommands.moc:85
#19 0xb754028a in KMMoveCommand::qt_metacall (this=0x8aa9bb0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb642a8) at /usr/src/debug/kdepim-4.2.2/build/kmail/kmcommands.moc:1662
#20 0xb6a5ec88 in QMetaObject::activate (sender=0x88ef110, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#21 0xb6a60412 in QMetaObject::activate (sender=0x88ef110, m=0xb6b3e908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#22 0xb6a640f7 in QSingleShotTimer::timeout (this=0x88ef110) at .moc/release-shared/qtimer.moc:76
#23 0xb6a6421c in QSingleShotTimer::timerEvent (this=0x88ef110) at kernel/qtimer.cpp:298
#24 0xb6a5912f in QObject::event (this=0x88ef110, e=0xbfb64750) at kernel/qobject.cpp:1082
#25 0xb5ef8eec in QApplicationPrivate::notify_helper (this=0x8078470, receiver=0x88ef110, e=0xbfb64750) at kernel/qapplication.cpp:4084
#26 0xb5f011ae in QApplication::notify (this=0xbfb64a98, receiver=0x88ef110, e=0xbfb64750) at kernel/qapplication.cpp:3631
#27 0xb7d32ded in KApplication::notify (this=0xbfb64a98, receiver=0x88ef110, event=0xbfb64750) at /usr/src/debug/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#28 0xb6a489db in QCoreApplication::notifyInternal (this=0xbfb64a98, receiver=0x88ef110, event=0xbfb64750) at kernel/qcoreapplication.cpp:602
#29 0xb6a78026 in QTimerInfoList::activateTimers (this=0x807ab7c) at kernel/qcoreapplication.h:213
#30 0xb6a744d0 in timerSourceDispatch (source=0x807ab48) at kernel/qeventdispatcher_glib.cpp:164
#31 0xb42c9d88 in IA__g_main_context_dispatch (context=0x807a290) at gmain.c:1814
#32 0xb42cd2fb in g_main_context_iterate (context=0x807a290, block=1, dispatch=1, self=0x8078248) at gmain.c:2448
#33 0xb42cd478 in IA__g_main_context_iteration (context=0x807a290, may_block=1) at gmain.c:2511
#34 0xb6a74428 in QEventDispatcherGlib::processEvents (this=0x805d8d0, flags={i = -1078572808}) at kernel/qeventdispatcher_glib.cpp:323
#35 0xb5f98ac5 in QGuiEventDispatcherGlib::processEvents (this=0x805d8d0, flags={i = -1078572760}) at kernel/qguieventdispatcher_glib.cpp:202
#36 0xb6a46ffa in QEventLoop::processEvents (this=0xbfb649a0, flags={i = -1078572696}) at kernel/qeventloop.cpp:149
#37 0xb6a4743a in QEventLoop::exec (this=0xbfb649a0, flags={i = -1078572632}) at kernel/qeventloop.cpp:200
#38 0xb6a498e9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#39 0xb5ef8d67 in QApplication::exec () at kernel/qapplication.cpp:3553
#40 0x0804a5e0 in main (argc=) at /usr/src/debug/kdepim-4.2.2/kmail/main.cpp:146
Comment 6 Constantin Berzan 2009-07-14 08:27:06 UTC
Backtrace from comment #5 looks like a duplicate of 163071.  The original bug report shows a different backtrace though.
Comment 7 Björn Ruberg 2010-08-06 00:47:46 UTC
*** Bug 245566 has been marked as a duplicate of this bug. ***
Comment 8 Björn Ruberg 2010-08-06 00:49:02 UTC

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