Bug 259799 - KMail crashed when pressing CTRL+U
Summary: KMail crashed when pressing CTRL+U
Status: RESOLVED DUPLICATE of bug 258041
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 02:32 UTC by Alex Merry
Modified: 2010-12-20 12:40 UTC (History)
0 users

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 Alex Merry 2010-12-14 02:32:15 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.86 (4.6 >= 20101210) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I had an email selected, and pressed CTRL+U to mark it as unread.  This made KMail crash.

Selecting Mark As -> Unread from the context menu on the message works fine.


kmail2(8683) KMKernel::slotProgressItemCompletedOrCanceled: Last resource finished syncing, mail check done
kmail2(8683)/libakonadi Akonadi::StandardMailActionManager::Private::slotMarkAllAs: Mark all as:  "U"
ASSERT: "mTargetStatus.statusFlags().size() == 1" in file /home/kde-devel/src/KDE/kdepimlibs/akonadi/kmime/markascommand.cpp,
 line 104

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f43e4bd5760 (LWP 8683))]

Thread 3 (Thread 0x7f43c7e79710 (LWP 8690)):
#0  0x00007f43deceb40c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f43d7211994 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f43dece6cb0 in start_thread () from /lib/libpthread.so.0
#3  0x00007f43de2af9dd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f43c1dc7710 (LWP 8737)):
#0  0x00007f43de2a92d3 in select () from /lib/libc.so.6
#1  0x00007f43df0386dd in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f43def6f52e in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f43dece6cb0 in start_thread () from /lib/libpthread.so.0
#4  0x00007f43de2af9dd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f43e4bd5760 (LWP 8683)):
[KCrash Handler]
#6  0x00007f43de213595 in raise () from /lib/libc.so.6
#7  0x00007f43de214a16 in abort () from /lib/libc.so.6
#8  0x00007f43def674ff in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f43def6768d in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f43def67825 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007f43dacc25f8 in MarkAsCommand::markMessages (this=0x2784f70) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/kmime/markascommand.cpp:104
#12 0x00007f43dacc22f7 in MarkAsCommand::slotFetchDone (this=0x2784f70, job=0x27dfeb0) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/kmime/markascommand.cpp:75
#13 0x00007f43dacc2c1a in MarkAsCommand::qt_metacall (this=0x2784f70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff93e13910) at /home/kde-devel/build/KDE/kdepimlibs/akonadi/kmime/markascommand_p.moc:74
#14 0x00007f43df06d31f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007f43e3ef7867 in KJob::result (this=0x27dfeb0, _t1=0x27dfeb0) at /home/kde-devel/build/KDE/kdelibs/kdecore/kjob.moc:194
#16 0x00007f43e3ef6cd5 in KJob::emitResult (this=0x27dfeb0) at /home/kde-devel/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:312
#17 0x00007f43e1639e38 in Akonadi::JobPrivate::delayedEmitResult (this=0x240ea80) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/job.cpp:144
#18 0x00007f43e163afd8 in Akonadi::Job::qt_metacall (this=0x27dfeb0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x2434c40) at /home/kde-devel/build/KDE/kdepimlibs/akonadi/job.moc:91
#19 0x00007f43e1627887 in Akonadi::ItemFetchJob::qt_metacall (this=0x27dfeb0, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x2434c40) at /home/kde-devel/build/KDE/kdepimlibs/akonadi/itemfetchjob.moc:73
#20 0x00007f43df06c17a in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0x00007f43dfd182b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f43dfd1cdca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f43e455e605 in KApplication::notify (this=0x7fff93e14510, receiver=0x27dfeb0, event=0x2a29070) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0x00007f43df057e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007f43df05b6c5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#26 0x00007f43df082d73 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f43d3ba1bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007f43d3ba23d0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007f43d3ba266d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007f43df082f0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f43dfdbd1ae in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f43df057232 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007f43df05747c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007f43df05b97b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0x0000000000403594 in main (argc=3, argv=0x7fff93e146a8) at /home/kde-devel/src/KDE/kdepim/kmail/main.cpp:145

Possible duplicates by query: bug 258554, bug 258041.

Reported using DrKonqi
Comment 1 Torgny Nyblom 2010-12-20 12:40:49 UTC

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