[Bug 280188] New: Crash when moving multiple mail

András Manţia amantia at kde.org
Tue Aug 16 14:36:10 BST 2011


https://bugs.kde.org/show_bug.cgi?id=280188

           Summary: Crash when moving multiple mail
           Product: kmail2
           Version: 4.8 pre
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: amantia at kde.org


Application: kmail (4.8 pre)
KDE Platform Version: 4.7.40 (4.7.40 (KDE 4.8 >= 20110623) (Compiled from
sources)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.7-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
Go into a folder, filter the mails with the filter lineedit above the message
list. Now select all the mails shown and move to a different folder. Most of
the time it crashes after the move is performed.

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7f2ac3352700 (LWP 32533)):
#0  0x00007f2ad84dd38c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f2ad0abab63 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/opt/qt4/lib/libQtWebKit.so.4
#2  0x00007f2ad0aba138 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /opt/qt4/lib/libQtWebKit.so.4
#3  0x00007f2ad84d8a3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2ad7ac267d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2ac2a51700 (LWP 32534)):
#0  0x00007f2ad7ab9503 in poll () from /lib64/libc.so.6
#1  0x00007f2acd0ea114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f2acd0ea650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#3  0x00007f2ad88e7e82 in QEventDispatcherGlib::processEvents (this=0xf3eb60,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2ad88ac642 in QEventLoop::processEvents (this=0x7f2ac2a50dc0,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2ad88ac796 in QEventLoop::exec (this=0x7f2ac2a50dc0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f2ad878f7bd in QThread::exec (this=0xf3fc50) at
thread/qthread.cpp:498
#7  0x00007f2ad878f95c in QThread::run (this=0xf3fc50) at
thread/qthread.cpp:565
#8  0x00007f2ad8792031 in QThreadPrivate::start (arg=0xf3fc50) at
thread/qthread_unix.cpp:331
#9  0x00007f2ad84d8a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2ad7ac267d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2ac0ebf700 (LWP 32567)):
#0  0x00007f2ad84dd6f9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f2ad8793521 in QWaitConditionPrivate::wait (this=0x142f300,
time=30000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f2ad87932e5 in QWaitCondition::wait (this=0x17aeca8,
mutex=0x17aeca0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f2ad87815d9 in QThreadPoolThread::run (this=0x17ac870) at
concurrent/qthreadpool.cpp:140
#4  0x00007f2ad8792031 in QThreadPrivate::start (arg=0x17ac870) at
thread/qthread_unix.cpp:331
#5  0x00007f2ad84d8a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2ad7ac267d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2adecf4760 (LWP 32528)):
[KCrash Handler]
#6  0x00007f2ad876f262 in QBasicAtomicInt::operator int (this=0x400c) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:85
#7  0x00007f2ad88c6bdb in QObject::~QObject (this=0x37f2480, __in_chrg=<value
optimized out>) at kernel/qobject.cpp:831
#8  0x00007f2ade7374d0 in KMenu::KMenuPrivate::~KMenuPrivate (this=0x37f2480,
__in_chrg=<value optimized out>) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/widgets/kmenu.cpp:121
#9  0x00007f2ade737502 in KMenu::KMenuPrivate::~KMenuPrivate (this=0x37f2480,
__in_chrg=<value optimized out>) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/widgets/kmenu.cpp:124
#10 0x00007f2ade7376f0 in KMenu::~KMenu (this=0x10561f0, __in_chrg=<value
optimized out>) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/widgets/kmenu.cpp:166
#11 0x00007f2ade737738 in KMenu::~KMenu (this=0x10561f0, __in_chrg=<value
optimized out>) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/widgets/kmenu.cpp:167
#12 0x00007f2adb0ab5b5 in Akonadi::StandardActionManager::Private::enableAction
(this=0x10b7d20, type=Akonadi::StandardActionManager::CopyCollectionToMenu,
enable=true) at
/home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/standardactionmanager.cpp:286
#13 0x00007f2adb0ab4cf in Akonadi::StandardActionManager::Private::enableAction
(this=0x10b7d20, type=12, enable=true) at
/home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/standardactionmanager.cpp:272
#14 0x00007f2adb0a9e1c in Akonadi::StandardActionManager::qt_metacall
(this=0x1027ce0, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0x7fffe3429480)
at
/home/andris/development/build/kde-trunk/kdepimlibs/akonadi/standardactionmanager.moc:211
#15 0x00007f2ad88b6cb3 in QMetaObject::metacall (object=0x1027ce0,
cl=QMetaObject::InvokeMetaMethod, idx=51, argv=0x7fffe3429480) at
kernel/qmetaobject.cpp:237
#16 0x00007f2ad88b9942 in QMetaMethod::invoke (this=0x7fffe3429960,
object=0x1027ce0, connectionType=Qt::DirectConnection, returnValue=...,
val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=...,
val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#17 0x00007f2ad88b8bea in QMetaObject::invokeMethod (obj=0x1027ce0,
member=0x7f2adb0e90da "enableAction", type=Qt::DirectConnection, ret=...,
val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=...,
val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#18 0x00007f2adafa834e in QMetaObject::invokeMethod (obj=0x1027ce0,
member=0x7f2adb0e90da "enableAction", type=Qt::DirectConnection, val0=...,
val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=...,
val9=...) at
/home/andris/development/sources/kde-trunk/qt-copy/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:410
#19 0x00007f2adafa7cbc in Akonadi::ActionStateManager::enableAction
(this=0x10b7d78, action=12, state=true) at
/home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/actionstatemanager.cpp:352
#20 0x00007f2adafa68c1 in Akonadi::ActionStateManager::updateState
(this=0x10b7d78, collections=..., items=...) at
/home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/actionstatemanager.cpp:167
#21 0x00007f2adb0aca21 in
Akonadi::StandardActionManager::Private::updateActions (this=0x10b7d20) at
/home/andris/development/sources/kde-trunk/kdepimlibs/akonadi/standardactionmanager.cpp:432
#22 0x00007f2adb0a9948 in Akonadi::StandardActionManager::qt_metacall
(this=0x1027ce0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffe342a220) at
/home/andris/development/build/kde-trunk/kdepimlibs/akonadi/standardactionmanager.moc:165
#23 0x00007f2ad88b6cb3 in QMetaObject::metacall (object=0x1027ce0,
cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x7fffe342a220) at
kernel/qmetaobject.cpp:237
#24 0x00007f2ad88cbd8f in QMetaObject::activate (sender=0xe50bf0,
m=0x7f2ada47c120, local_signal_index=0, argv=0x7fffe342a220) at
kernel/qobject.cpp:3278
#25 0x00007f2ad9e0c399 in QItemSelectionModel::selectionChanged (this=0xe50bf0,
_t1=..., _t2=...) at .moc/debug-shared/moc_qitemselectionmodel.cpp:152
#26 0x00007f2ad9e065fa in QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved
(this=0x1031160, parent=..., start=966, end=966) at
itemviews/qitemselectionmodel.cpp:671
#27 0x00007f2ad9e0c266 in QItemSelectionModel::qt_metacall (this=0xe50bf0,
_c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffe342a880) at
.moc/debug-shared/moc_qitemselectionmodel.cpp:136
#28 0x00007f2ad88b6cb3 in QMetaObject::metacall (object=0xe50bf0,
cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0x7fffe342a880) at
kernel/qmetaobject.cpp:237
#29 0x00007f2ad88cbd8f in QMetaObject::activate (sender=0x100e8e0,
m=0x7f2ad8c383a0, local_signal_index=6, argv=0x7fffe342a880) at
kernel/qobject.cpp:3278
#30 0x00007f2ad892a0d5 in QAbstractItemModel::rowsAboutToBeRemoved
(this=0x100e8e0, _t1=..., _t2=966, _t3=966) at
.moc/debug-shared/moc_qabstractitemmodel.cpp:188
#31 0x00007f2ad88a3389 in QAbstractItemModel::beginRemoveRows (this=0x100e8e0,
parent=..., first=966, last=966) at kernel/qabstractitemmodel.cpp:2449
#32 0x00007f2ad3f8a24c in MessageList::Core::Item::takeChildItem
(this=0xe52920, model=0x100e8e0, child=0x1ec8850) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/item.cpp:594
#33 0x00007f2ad3fa029a in
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJobPass1Cleanup
(this=0x10fa4c0, job=0x568e170, tStart=...) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/model.cpp:3037
#34 0x00007f2ad3fa0da5 in
MessageList::Core::ModelPrivate::viewItemJobStepInternalForJob (this=0x10fa4c0,
job=0x568e170, tStart=...) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/model.cpp:3396
#35 0x00007f2ad3fa1154 in
MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x10fa4c0) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/model.cpp:3752
#36 0x00007f2ad3fa1bfc in MessageList::Core::ModelPrivate::viewItemJobStep
(this=0x10fa4c0) at
/home/andris/development/sources/kde-trunk/kdepim/messagelist/core/model.cpp:3967
#37 0x00007f2ad3fa3d16 in MessageList::Core::Model::qt_metacall
(this=0x100e8e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fffe342b140) at
/home/andris/development/build/kde-trunk/kdepim/messagelist/model.moc:90
#38 0x00007f2ad88b6cb3 in QMetaObject::metacall (object=0x100e8e0,
cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0x7fffe342b140) at
kernel/qmetaobject.cpp:237
#39 0x00007f2ad88cbd8f in QMetaObject::activate (sender=0x10fa4f8,
m=0x7f2ad8c38ba0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#40 0x00007f2ad892b1a1 in QTimer::timeout (this=0x10fa4f8) at
.moc/debug-shared/moc_qtimer.cpp:134
#41 0x00007f2ad88d4d8b in QTimer::timerEvent (this=0x10fa4f8, e=0x7fffe342bb40)
at kernel/qtimer.cpp:271
#42 0x00007f2ad88c75bb in QObject::event (this=0x10fa4f8, e=0x7fffe342bb40) at
kernel/qobject.cpp:1181
#43 0x00007f2ad971bbae in QApplicationPrivate::notify_helper (this=0x65fb30,
receiver=0x10fa4f8, e=0x7fffe342bb40) at kernel/qapplication.cpp:4481
#44 0x00007f2ad97191d2 in QApplication::notify (this=0x7fffe342bfd0,
receiver=0x10fa4f8, e=0x7fffe342bb40) at kernel/qapplication.cpp:3881
#45 0x00007f2ade642bd9 in KApplication::notify (this=0x7fffe342bfd0,
receiver=0x10fa4f8, event=0x7fffe342bb40) at
/home/andris/development/sources/kde-trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
#46 0x00007f2ad88aeadf in QCoreApplication::notifyInternal
(this=0x7fffe342bfd0, receiver=0x10fa4f8, event=0x7fffe342bb40) at
kernel/qcoreapplication.cpp:787
#47 0x00007f2ad970c637 in QCoreApplication::sendEvent (receiver=0x10fa4f8,
event=0x7fffe342bb40) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#48 0x00007f2ad88eb133 in QTimerInfoList::activateTimers (this=0x663530) at
kernel/qeventdispatcher_unix.cpp:603
#49 0x00007f2ad88e7392 in timerSourceDispatch (source=0x6634d0) at
kernel/qeventdispatcher_glib.cpp:184
#50 0x00007f2acd0e9bd3 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#51 0x00007f2acd0ea3b0 in ?? () from /lib64/libglib-2.0.so.0
#52 0x00007f2acd0ea650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#53 0x00007f2ad88e7e5f in QEventDispatcherGlib::processEvents (this=0x611f50,
flags=...) at kernel/qeventdispatcher_glib.cpp:422
#54 0x00007f2ad97f4b2e in QGuiEventDispatcherGlib::processEvents
(this=0x611f50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f2ad88ac642 in QEventLoop::processEvents (this=0x7fffe342be90,
flags=...) at kernel/qeventloop.cpp:149
#56 0x00007f2ad88ac796 in QEventLoop::exec (this=0x7fffe342be90, flags=...) at
kernel/qeventloop.cpp:201
#57 0x00007f2ad88af1d2 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#58 0x00007f2ad9718d4a in QApplication::exec () at kernel/qapplication.cpp:3755
#59 0x000000000040332e in main (argc=<value optimized out>, argv=<value
optimized out>) at
/home/andris/development/sources/kde-trunk/kdepim/kmail/main.cpp:145

Possible duplicates by query: bug 279683, bug 261776.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list