Bug 247512 - Crash when message rules move mail between IMAP folders with message highlighted
Summary: Crash when message rules move mail between IMAP folders with message highlighted
Status: RESOLVED DUPLICATE of bug 163071
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 14:36 UTC by David Mears
Modified: 2010-08-12 14:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Mears 2010-08-12 14:36:09 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I had just added a new rule to sort mail into one of my subfolders.  I highlighted several new messages, that included two that were responsive to the rule (to test the rule).  I then had it run it's rules on the highlighted messages.  It crashed when moving the last highlighted message to it's new folder.  Possibly because what it was highlighting no longer existed in the list?

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f73d047d760 (LWP 23181))]

Thread 5 (Thread 0x7f73ac60b710 (LWP 23208)):
#0  0x00007f73c873d39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f73ce8942bb in wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f73b3c843f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x68d010, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f73b3c86e35 in waitForAvailableJob (this=0x8e5660, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f73b3c86e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f73b3c86e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f73b3c86e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f73b3c847ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f73ac60ae30, parent=0x68d010, th=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:87
#10 0x00007f73b3c84878 in ThreadWeaver::Thread::run (this=0x1e56c70) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:142
#11 0x00007f73ce893bf5 in QThreadPrivate::start (arg=0x1e56c70) at thread/qthread_unix.cpp:248
#12 0x00007f73c8738a4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f73cd61282d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f73abe0a710 (LWP 23220)):
#0  0x00007f73c873d39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f73ce8942bb in wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f73b3c843f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x68d010, th=0x1e55750) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f73b3c86e35 in waitForAvailableJob (this=0x8e5660, th=0x1e55750) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e55750) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f73b3c847ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f73abe09e30, parent=0x68d010, th=0x1e55750) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f73b3c84878 in ThreadWeaver::Thread::run (this=0x1e55750) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f73ce893bf5 in QThreadPrivate::start (arg=0x1e55750) at thread/qthread_unix.cpp:248
#9  0x00007f73c8738a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f73cd61282d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f73ab609710 (LWP 23223)):
#0  0x00007f73c873d39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f73ce8942bb in wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f73b3c843f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x68d010, th=0x1417040) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f73b3c86e35 in waitForAvailableJob (this=0x8e5660, th=0x1417040) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1417040) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f73b3c86e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1417040) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f73b3c847ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f73ab608e30, parent=0x68d010, th=0x1417040) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f73b3c84878 in ThreadWeaver::Thread::run (this=0x1417040) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f73ce893bf5 in QThreadPrivate::start (arg=0x1417040) at thread/qthread_unix.cpp:248
#10 0x00007f73c8738a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f73cd61282d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f73aae08710 (LWP 23227)):
#0  0x00007f73c873d39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f73ce8942bb in wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x10a55e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f73b3c843f6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x68d010, th=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f73b3c86e35 in waitForAvailableJob (this=0x8e5660, th=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f73b3c86e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f73b3c86e4e in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e5660, th=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f73b3c847ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f73aae07e30, parent=0x68d010, th=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:87
#9  0x00007f73b3c84878 in ThreadWeaver::Thread::run (this=0x1e71490) at /usr/src/debug/kdelibs-4.5.0/threadweaver/Weaver/Thread.cpp:142
#10 0x00007f73ce893bf5 in QThreadPrivate::start (arg=0x1e71490) at thread/qthread_unix.cpp:248
#11 0x00007f73c8738a4f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f73cd61282d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f73d047d760 (LWP 23181)):
[KCrash Handler]
#6  ref (this=0x20f0ef0) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x20f0ef0) at /usr/include/QtCore/qlist.h:114
#8  KMail::FolderJob::msgList (this=0x20f0ef0) at /usr/src/debug/kdepim-4.4.5/kmail/folderjob.cpp:120
#9  0x00007f73b40d12d3 in KMAcctImap::ignoreJobsForMessage (this=0x991600, msg=0x3670820) at /usr/src/debug/kdepim-4.4.5/kmail/kmacctimap.cpp:217
#10 0x00007f73b41de70f in KMMoveCommand::execute (this=0x368d7c0) at /usr/src/debug/kdepim-4.4.5/kmail/kmcommands.cpp:2200
#11 0x00007f73b41d3c4a in KMCommand::slotPostTransfer (this=0x368d7c0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.4.5/kmail/kmcommands.cpp:291
#12 0x00007f73b41d9593 in KMCommand::qt_metacall (this=0x368d7c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24ae3980)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/kmcommands.moc:93
#13 0x00007f73b41de010 in KMMoveCommand::qt_metacall (this=0x368d7c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24ae3980)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/kmcommands.moc:1971
#14 0x00007f73ce98ea1f in QMetaObject::activate (sender=0x368d7c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff24ae3980) at kernel/qobject.cpp:3295
#15 0x00007f73b41c908e in KMCommand::messagesTransfered (this=<value optimized out>, _t1=KMCommand::OK) at /usr/src/debug/kdepim-4.4.5/build/kmail/kmcommands.moc:108
#16 0x00007f73b41d0ca4 in KMCommand::transferSelectedMsgs (this=0x368d7c0) at /usr/src/debug/kdepim-4.4.5/kmail/kmcommands.cpp:389
#17 0x00007f73b41d9088 in KMCommand::slotStart (this=0x368d7c0) at /usr/src/debug/kdepim-4.4.5/kmail/kmcommands.cpp:283
#18 0x00007f73b41d9576 in KMCommand::qt_metacall (this=0x368d7c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24ae3bd0)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/kmcommands.moc:92
#19 0x00007f73b41de010 in KMMoveCommand::qt_metacall (this=0x368d7c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff24ae3bd0)
    at /usr/src/debug/kdepim-4.4.5/build/kmail/kmcommands.moc:1971
#20 0x00007f73ce98ea1f in QMetaObject::activate (sender=0x54028f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#21 0x00007f73ce993dbf in QSingleShotTimer::timerEvent (this=0x54028f0) at kernel/qtimer.cpp:308
#22 0x00007f73ce98c22e in QObject::event (this=0x54028f0, e=0x7fff24ae4380) at kernel/qobject.cpp:1212
#23 0x00007f73cdd6c4d4 in QApplicationPrivate::notify_helper (this=0x643430, receiver=0x54028f0, e=0x7fff24ae4380) at kernel/qapplication.cpp:4302
#24 0x00007f73cdd74aca in QApplication::notify (this=<value optimized out>, receiver=0x54028f0, e=0x7fff24ae4380) at kernel/qapplication.cpp:4185
#25 0x00007f73cf2a00b6 in KApplication::notify (this=0x7fff24ae47c0, receiver=0x54028f0, event=0x7fff24ae4380) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#26 0x00007f73ce97ae4c in QCoreApplication::notifyInternal (this=0x7fff24ae47c0, receiver=0x54028f0, event=0x7fff24ae4380) at kernel/qcoreapplication.cpp:726
#27 0x00007f73ce9a60c9 in sendEvent (this=0x6405f0) at kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x6405f0) at kernel/qeventdispatcher_unix.cpp:618
#29 0x00007f73ce9a2fd4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#30 0x00007f73c5fcaa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f73c5fcb270 in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f73c5fcb510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f73ce9a367f in QEventDispatcherGlib::processEvents (this=0x613b00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007f73cde0d14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f73ce97a292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f73ce97a495 in QEventLoop::exec (this=0x7fff24ae4710, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f73ce97e88b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x000000000040417e in _start ()

This bug may be a duplicate of or related to bug 246069.

Possible duplicates by query: bug 246817, bug 246112, bug 246069, bug 244057, bug 243750.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-12 14:44:56 UTC

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