Bug 296831 - KMail crash when moving then marking as read
Summary: KMail crash when moving then marking as read
Status: RESOLVED DUPLICATE of bug 283272
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 19:25 UTC by Simon
Modified: 2012-03-31 22:47 UTC (History)
1 user (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 Simon 2012-03-26 19:25:01 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.1 (4.8.1) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.3.0-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
- What I was doing when the application crashed:
I was moving some mails to an other folder then marking these mails as read when the crash occurred.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5935b0a780 (LWP 28305))]

Thread 5 (Thread 0x7f591b478700 (LWP 28363)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f59275819fc in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f5927581b29 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f5930ce0e6c in start_thread (arg=0x7f591b478700) at pthread_create.c:301
#4  0x00007f5932e6fb1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f591ab77700 (LWP 28364)):
#0  0x00007f5932e66fe3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f592b64782b in g_poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at gpoll.c:132
#2  0x00007f592b63ad86 in g_main_context_poll (n_fds=1, fds=0x2c9e9c0, priority=<optimized out>, timeout=-1, context=0x2cd2c00) at gmain.c:3402
#3  g_main_context_iterate (context=0x2cd2c00, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#4  0x00007f592b63afa5 in g_main_context_iteration (context=0x2cd2c00, may_block=1) at gmain.c:3152
#5  0x00007f59337e8ccf in QEventDispatcherGlib::processEvents (this=0x2cd98f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f59337b8b82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f59337b8dd7 in QEventLoop::exec (this=0x7f591ab76e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f59336b8c87 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f59336bbcab in QThreadPrivate::start (arg=0x2cd2350) at thread/qthread_unix.cpp:298
#10 0x00007f5930ce0e6c in start_thread (arg=0x7f591ab77700) at pthread_create.c:301
#11 0x00007f5932e6fb1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f59196d7700 (LWP 28365)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f59336bc11f in wait (time=30000, this=0x2d9c790) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2d9c708, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f59336af56f in QThreadPoolThread::run (this=0x2dafd40) at concurrent/qthreadpool.cpp:141
#4  0x00007f59336bbcab in QThreadPrivate::start (arg=0x2dafd40) at thread/qthread_unix.cpp:298
#5  0x00007f5930ce0e6c in start_thread (arg=0x7f59196d7700) at pthread_create.c:301
#6  0x00007f5932e6fb1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f58d3878700 (LWP 28501)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f59336bc11f in wait (time=30000, this=0x2bd56d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x378acc8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f59336af56f in QThreadPoolThread::run (this=0x3779a40) at concurrent/qthreadpool.cpp:141
#4  0x00007f59336bbcab in QThreadPrivate::start (arg=0x3779a40) at thread/qthread_unix.cpp:298
#5  0x00007f5930ce0e6c in start_thread (arg=0x7f58d3878700) at pthread_create.c:301
#6  0x00007f5932e6fb1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5935b0a780 (LWP 28305)):
[KCrash Handler]
#6  ref (this=0x1) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QByteArray (a=..., this=0x7fffad442300) at /usr/include/qt4/QtCore/qbytearray.h:440
#8  MarkAsCommand::markMessages (this=0x385fea0) at /usr/src/debug/kde-base/kdepimlibs-4.8.1/kdepimlibs-4.8.1/akonadi/kmime/markascommand.cpp:107
#9  0x00007f592f218ff8 in MarkAsCommand::slotFetchDone (this=0x385fea0, job=<optimized out>) at /usr/src/debug/kde-base/kdepimlibs-4.8.1/kdepimlibs-4.8.1/akonadi/kmime/markascommand.cpp:76
#10 0x00007f592f21911e in MarkAsCommand::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-base/kdepimlibs-4.8.1/kdepimlibs-4.8.1_build/akonadi/kmime/markascommand_p.moc:51
#11 0x00007f59337cdb21 in QMetaObject::activate (sender=0x3492ca0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffad442510) at kernel/qobject.cpp:3547
#12 0x00007f5934f1c862 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#13 0x00007f5934f1c8a0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#14 0x00007f592f567357 in Akonadi::JobPrivate::delayedEmitResult (this=<optimized out>) at /usr/src/debug/kde-base/kdepimlibs-4.8.1/kdepimlibs-4.8.1/akonadi/job.cpp:144
#15 0x00007f592f567ceb in Akonadi::Job::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-base/kdepimlibs-4.8.1/kdepimlibs-4.8.1_build/akonadi/job.moc:68
#16 0x00007f59337d2ce6 in QObject::event (this=0x3492ca0, e=<optimized out>) at kernel/qobject.cpp:1195
#17 0x00007f5933cd7864 in notify_helper (e=0x5074c50, receiver=0x3492ca0, this=0x272b6d0) at kernel/qapplication.cpp:4550
#18 QApplicationPrivate::notify_helper (this=0x272b6d0, receiver=0x3492ca0, e=0x5074c50) at kernel/qapplication.cpp:4522
#19 0x00007f5933cdc6e3 in QApplication::notify (this=0x7fffad442f80, receiver=0x3492ca0, e=0x5074c50) at kernel/qapplication.cpp:4411
#20 0x00007f59355174b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007f59337b9d9c in QCoreApplication::notifyInternal (this=0x7fffad442f80, receiver=0x3492ca0, event=0x5074c50) at kernel/qcoreapplication.cpp:876
#22 0x00007f59337bd63a in sendEvent (event=0x5074c50, receiver=0x3492ca0) at src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25ca7b0) at kernel/qcoreapplication.cpp:1500
#24 0x00007f59337e88a3 in sendPostedEvents () at src/corelib/kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=0x272eda0) at kernel/qeventdispatcher_glib.cpp:279
#26 0x00007f592b63a81c in g_main_dispatch (context=0x272dce0) at gmain.c:2441
#27 g_main_context_dispatch (context=0x272dce0) at gmain.c:3011
#28 0x00007f592b63addb in g_main_context_iterate (context=0x272dce0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#29 0x00007f592b63afa5 in g_main_context_iteration (context=0x272dce0, may_block=1) at gmain.c:3152
#30 0x00007f59337e8ccf in QEventDispatcherGlib::processEvents (this=0x25ca060, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#31 0x00007f5933d7a48e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f59337b8b82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f59337b8dd7 in QEventLoop::exec (this=0x7fffad442e60, flags=...) at kernel/qeventloop.cpp:204
#34 0x00007f59337bd935 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0x0000000000402c13 in ?? ()
#36 0x00007f5932dbbfad in __libc_start_main (main=0x4021e0, argc=3, ubp_av=0x7fffad4433d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffad4433c8) at libc-start.c:226
#37 0x00000000004030f5 in _start ()

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

Possible duplicates by query: bug 294364, bug 290636, bug 290602, bug 287004, bug 283272.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-03-27 07:00:46 UTC
Reproductible ?
Comment 2 Christophe Marin 2012-03-31 22:47:49 UTC

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