[Bug 251831] New: KMail crash when selecting "update" from folder context menu

Alex Merry kde at randomguy3.me.uk
Mon Sep 20 15:26:56 BST 2010


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

           Summary: KMail crash when selecting "update" from folder
                    context menu
           Product: kmail2
           Version: 2.0.89
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kde at randomguy3.me.uk


Application: kmail (2.0.89)
KDE Platform Version: 4.5.68 (4.6 >= 20100912) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I had the inbox of one of my accounts selected.  I right-clicked it, and
selected "Update Folder", and it crashed.

ASSERT: "collection.isValid()" in file
/home/kde-devel/src/KDE/kdepimlibs/akonadi/standardactionmanager.cpp, line 454

It also happens on other folders in other accounts (including Local Folders).

I've had similar crashes when selecting "Add to Favourites".  The other options
in the context menu (that bring up dialogs, for example) don't seem to cause
crashes.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f4b550e7710 (LWP 6789)):
#0  0x00007f4b69949b2d in nanosleep () from /lib/libc.so.6
#1  0x00007f4b699499bf in sleep () from /lib/libc.so.6
#2  0x00007f4b62c36dbf in WTF::TCMalloc_PageHeap::scavengerThread() () from
/usr/lib/libQtWebKit.so.4
#3  0x00007f4b62c36e69 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib/libQtWebKit.so.4
#4  0x00007f4b6a3aecb0 in start_thread () from /lib/libpthread.so.0
#5  0x00007f4b699787ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4b7020c760 (LWP 6781)):
[KCrash Handler]
#6  0x00007f4b698dc565 in raise () from /lib/libc.so.6
#7  0x00007f4b698dd9e6 in abort () from /lib/libc.so.6
#8  0x00007f4b6a6343af in qt_message_output (msgType=<value optimized out>,
buf=<value optimized out>) at global/qglobal.cpp:2266
#9  0x00007f4b6a63453d in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f4b6a77ef68 "ASSERT:
\"%s\" in file %s, line %d", ap=0x7fff013462c0) at global/qglobal.cpp:2312
#10 0x00007f4b6a6346d5 in qFatal (msg=<value optimized out>) at
global/qglobal.cpp:2495
#11 0x00007f4b6cce9189 in
Akonadi::StandardActionManager::Private::selectedCollections (this=0x1e66c20)
at /home/kde-devel/src/KDE/kdepimlibs/akonadi/standardactionmanager.cpp:454
#12 0x00007f4b6cce9779 in
Akonadi::StandardActionManager::Private::slotSynchronizeCollection
(this=0x1e66c20) at
/home/kde-devel/src/KDE/kdepimlibs/akonadi/standardactionmanager.cpp:491
#13 0x00007f4b6cce61c1 in Akonadi::StandardActionManager::qt_metacall
(this=0x1e69200, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff01346620) at
/home/kde-devel/build/KDE/kdepimlibs/akonadi/standardactionmanager.moc:153
#14 0x00007f4b6a736def in QMetaObject::activate (sender=0x1e7ef40, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff01346620)
at kernel/qobject.cpp:3287
#15 0x00007f4b6b3cc222 in QAction::triggered (this=<value optimized out>,
_t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007f4b6b3cc41a in QAction::activate (this=0x1e7ef40, event=<value
optimized out>) at kernel/qaction.cpp:1255
#17 0x00007f4b6b7f4503 in QMenuPrivate::activateCausedStack (this=0x1fa6440,
causedStack=..., action=0x1e7ef40, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1002
#18 0x00007f4b6b7fa51a in QMenuPrivate::activateAction (this=0x1fa6440,
action=0x1e7ef40, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1094
#19 0x00007f4b6fc8a9c9 in KMenu::mouseReleaseEvent (this=0x1fa6400,
e=0x7fff01347480) at
/home/kde-devel/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:471
#20 0x00007f4b6b422522 in QWidget::event (this=0x1fa6400, event=0x7fff01347480)
at kernel/qwidget.cpp:8044
#21 0x00007f4b6b7fb76b in QMenu::event (this=0x1fa6400, e=0x7fff01347480) at
widgets/qmenu.cpp:2421
#22 0x00007f4b6b3d2ae4 in QApplicationPrivate::notify_helper (this=0x1929080,
receiver=0x1fa6400, e=0x7fff01347480) at kernel/qapplication.cpp:4302
#23 0x00007f4b6b3d744a in QApplication::notify (this=<value optimized out>,
receiver=0x1fa6400, e=0x7fff01347480) at kernel/qapplication.cpp:3867
#24 0x00007f4b6fb98995 in KApplication::notify (this=0x7fff01349aa0,
receiver=0x1fa6400, event=0x7fff01347480) at
/home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#25 0x00007f4b6a722d8c in QCoreApplication::notifyInternal
(this=0x7fff01349aa0, receiver=0x1fa6400, event=0x7fff01347480) at
kernel/qcoreapplication.cpp:726
#26 0x00007f4b6b3d3a35 in sendEvent (receiver=0x1fa6400, event=0x7fff01347480,
alienWidget=0x0, nativeWidget=0x1fa6400, buttonDown=0x7f4b6be7ef88,
lastMouseReceiver=..., spontaneous=true) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x1fa6400,
event=0x7fff01347480, alienWidget=0x0, nativeWidget=0x1fa6400,
buttonDown=0x7f4b6be7ef88, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:2967
#28 0x00007f4b6b44e8b4 in QETWidget::translateMouseEvent (this=0x1fa6400,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4314
#29 0x00007f4b6b44d059 in QApplication::x11ProcessEvent (this=0x7fff01349aa0,
event=0x7fff01347c30) at kernel/qapplication_x11.cpp:3513
#30 0x00007f4b6b472942 in x11EventSourceDispatch (s=0x192cb50, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f4b600c2b23 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#32 0x00007f4b600c3300 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x00007f4b600c359d in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#34 0x00007f4b6a74b87f in QEventDispatcherGlib::processEvents (this=0x1438600,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007f4b6b47260e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f4b6a722172 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f4b6a7223ac in QEventLoop::exec (this=0x7fff01347f30, flags=...) at
kernel/qeventloop.cpp:201
#38 0x00007f4b6b7f7c25 in QMenu::exec (this=<value optimized out>, p=...,
action=0x0) at widgets/qmenu.cpp:2063
#39 0x00007f4b6cd1d198 in Akonadi::EntityTreeView::contextMenuEvent
(this=0x1c26b50, event=0x7fff01348e60) at
/home/kde-devel/src/KDE/kdepimlibs/akonadi/entitytreeview.cpp:263
#40 0x00007f4b6b422273 in QWidget::event (this=0x1c26b50, event=0x7fff01348e60)
at kernel/qwidget.cpp:8211
#41 0x00007f4b6b7bb0f6 in QFrame::event (this=0x1c26b50, e=0x7fff01348e60) at
widgets/qframe.cpp:557
#42 0x00007f4b6b8c7693 in QAbstractItemView::viewportEvent (this=0x1c26b50,
event=0x7fff01348e60) at itemviews/qabstractitemview.cpp:1615
#43 0x00007f4b6b90bae2 in QTreeView::viewportEvent (this=0x1c26b50,
event=0x7fff01348e60) at itemviews/qtreeview.cpp:1248
#44 0x00007f4b6a722f17 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized
out>, receiver=0x1c25770, event=0x7fff01348e60) at
kernel/qcoreapplication.cpp:841
#45 0x00007f4b6b3d2ab1 in QApplicationPrivate::notify_helper (this=0x1929080,
receiver=0x1c25770, e=0x7fff01348e60) at kernel/qapplication.cpp:4298
#46 0x00007f4b6b3d6d8b in QApplication::notify (this=<value optimized out>,
receiver=0x1c25770, e=0x7fff01348e60) at kernel/qapplication.cpp:3946
#47 0x00007f4b6fb98995 in KApplication::notify (this=0x7fff01349aa0,
receiver=0x1c25770, event=0x7fff01348e60) at
/home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#48 0x00007f4b6a722d8c in QCoreApplication::notifyInternal
(this=0x7fff01349aa0, receiver=0x1c25770, event=0x7fff01348e60) at
kernel/qcoreapplication.cpp:726
#49 0x00007f4b6b44e6bb in sendSpontaneousEvent (this=<value optimized out>,
event=<value optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#50 QETWidget::translateMouseEvent (this=<value optimized out>, event=<value
optimized out>) at kernel/qapplication_x11.cpp:4385
#51 0x00007f4b6b44d059 in QApplication::x11ProcessEvent (this=0x7fff01349aa0,
event=0x7fff01349640) at kernel/qapplication_x11.cpp:3513
#52 0x00007f4b6b472942 in x11EventSourceDispatch (s=0x192cb50, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x00007f4b600c2b23 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#54 0x00007f4b600c3300 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x00007f4b600c359d in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#56 0x00007f4b6a74b87f in QEventDispatcherGlib::processEvents (this=0x1438600,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#57 0x00007f4b6b47260e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007f4b6a722172 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007f4b6a7223ac in QEventLoop::exec (this=0x7fff01349940, flags=...) at
kernel/qeventloop.cpp:201
#60 0x00007f4b6a7267bb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1003
#61 0x0000000000403594 in main (argc=1, argv=0x7fff01349c38) at
/home/kde-devel/src/KDE/kdepim/kmail/main.cpp:145

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