Bug 251280 - KMail crash when adding a favorite folder
Summary: KMail crash when adding a favorite folder
Status: RESOLVED FIXED
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-09-15 10:37 UTC by Torgny Nyblom
Modified: 2010-12-12 11:57 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 Torgny Nyblom 2010-09-15 10:37:40 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.68 (4.6 >= 20100912) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-gentoo-r5 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Adding a favorite folder while the contents of that folder was being populated (might have been the first time the folder was shown)

- Custom settings of the application:
QSQLITE3 akonadi backend as it's the default in Gentoo nowdays.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fe59c210760 (LWP 27416))]

Thread 3 (Thread 0x7fe583793710 (LWP 27420)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe58eaad3dd in WTF::TCMalloc_PageHeap::scavengerThread (this=<value optimized out>) at wtf/FastMalloc.cpp:2378
#2  0x00007fe58eaad4e9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fe58f273834) at wtf/FastMalloc.cpp:1497
#3  0x00007fe5978a7c1a in start_thread (arg=<value optimized out>) at pthread_create.c:301
#4  0x00007fe599455a9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fe57d904710 (LWP 28190)):
#0  0x00007fe59944f1d3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fe599d5cdac in QProcessManager::run (this=0x7fe59a0b0f60) at io/qprocess_unix.cpp:245
#2  0x00007fe599c8ee3e in QThreadPrivate::start (arg=0x7fe59a0b0f60) at thread/qthread_unix.cpp:266
#3  0x00007fe5978a7c1a in start_thread (arg=<value optimized out>) at pthread_create.c:301
#4  0x00007fe599455a9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fe59c210760 (LWP 27416)):
[KCrash Handler]
#6  0x00007fe595dd5f84 in Akonadi::FavoriteCollectionsModel::Private::labelForCollection(long long) () from /usr/lib/libakonadi-kde.so.4
#7  0x00007fe595dd4c35 in saveConfig (this=<value optimized out>, collection=<value optimized out>) at /usr/src/debug/kde-base/kdepimlibs-9999/kdepimlibs-9999/akonadi/favoritecollectionsmodel.cpp:104
#8  Akonadi::FavoriteCollectionsModel::addCollection (this=<value optimized out>, collection=<value optimized out>) at /usr/src/debug/kde-base/kdepimlibs-9999/kdepimlibs-9999/akonadi/favoritecollectionsmodel.cpp:154
#9  0x00007fe595e4b8d7 in Akonadi::StandardActionManager::Private::slotAddToFavorites() () from /usr/lib/libakonadi-kde.so.4
#10 0x00007fe595e49b27 in Akonadi::StandardActionManager::qt_metacall (this=0x1e13720, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd4c835f0) at /usr/src/debug/kde-base/kdepimlibs-9999/kdepimlibs-9999_build/akonadi/standardactionmanager.moc:156
#11 0x00007fe599d9823f in QMetaObject::activate (sender=0x1dd1cc0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x10ad3730) at kernel/qobject.cpp:3272
#12 0x00007fe59a26f292 in QAction::triggered (this=0x7fffd4c82e70, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#13 0x00007fe59a27097b in QAction::activate (this=0x1dd1cc0, event=<value optimized out>) at kernel/qaction.cpp:1256
#14 0x00007fe59a6afe71 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1dd1cc0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#15 0x00007fe59a6b57ea in QMenuPrivate::activateAction (this=0x1bbf710, action=0x1dd1cc0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#16 0x00007fe59bd0010e in KMenu::mouseReleaseEvent (this=0x1bbf6d0, e=0x0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/widgets/kmenu.cpp:471
#17 0x00007fe59a2cc16d in QWidget::event (this=0x1bbf6d0, event=0x7fffd4c843c0) at kernel/qwidget.cpp:8158
#18 0x00007fe59a6b794b in QMenu::event (this=0x1bbf6d0, e=0x7fffd4c843c0) at widgets/qmenu.cpp:2410
#19 0x00007fe59a27697c in QApplicationPrivate::notify_helper (this=0x16085e0, receiver=0x1bbf6d0, e=0x7fffd4c843c0) at kernel/qapplication.cpp:4396
#20 0x00007fe59a27cd2b in QApplication::notify (this=0x7fffd4c868f0, receiver=0x1bbf6d0, e=0x7fffd4c843c0) at kernel/qapplication.cpp:3959
#21 0x00007fe59bc24ed6 in KApplication::notify (this=0x7fffd4c868f0, receiver=0x1bbf6d0, event=0x7fffd4c843c0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/kernel/kapplication.cpp:310
#22 0x00007fe599d8069b in QCoreApplication::notifyInternal (this=0x7fffd4c868f0, receiver=0x1bbf6d0, event=0x7fffd4c843c0) at kernel/qcoreapplication.cpp:732
#23 0x00007fe59a27b712 in sendEvent (receiver=0x1bbf6d0, event=0x7fffd4c843c0, alienWidget=0x0, nativeWidget=0x1bbf6d0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x1bbf6d0, event=0x7fffd4c843c0, alienWidget=0x0, nativeWidget=0x1bbf6d0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#25 0x00007fe59a2feb6e in QETWidget::translateMouseEvent (this=0x1bbf6d0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#26 0x00007fe59a2fd78a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd4c84b40) at kernel/qapplication_x11.cpp:3536
#27 0x00007fe59a3274e2 in x11EventSourceDispatch (s=0x160c040, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fe591c2c211 in g_main_dispatch (context=0x160adf0) at gmain.c:1960
#29 IA__g_main_context_dispatch (context=0x160adf0) at gmain.c:2513
#30 0x00007fe591c30068 in g_main_context_iterate (context=0x160adf0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#31 0x00007fe591c3021c in IA__g_main_context_iteration (context=0x160adf0, may_block=1) at gmain.c:2654
#32 0x00007fe599dac633 in QEventDispatcherGlib::processEvents (this=0x150a7a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#33 0x00007fe59a326e5e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd4c82e70, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fe599d7f3f2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007fe599d7f7d4 in QEventLoop::exec (this=0x7fffd4c84e60, flags=) at kernel/qeventloop.cpp:201
#36 0x00007fe59a6b2f55 in QMenu::exec (this=<value optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2054
#37 0x00007fe595e7b43f in Akonadi::EntityTreeView::contextMenuEvent (this=<value optimized out>, event=0x7fffd4c85cc0) at /usr/src/debug/kde-base/kdepimlibs-9999/kdepimlibs-9999/akonadi/entitytreeview.cpp:263
#38 0x00007fe59a2cbb73 in QWidget::event (this=0x8c0e080, event=0x7fffd4c85cc0) at kernel/qwidget.cpp:8325
#39 0x00007fe59a670d06 in QFrame::event (this=0x8c0e080, e=0x7fffd4c85cc0) at widgets/qframe.cpp:557
#40 0x00007fe59a7a668b in QAbstractItemView::viewportEvent (this=0x8c0e080, event=0x7fffd4c85cc0) at itemviews/qabstractitemview.cpp:1619
#41 0x00007fe59a7e4205 in QTreeView::viewportEvent (this=0x8c0e080, event=0x7fffd4c85cc0) at itemviews/qtreeview.cpp:1256
#42 0x00007fe599d7fee6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x199f3a0, event=0x7fffd4c85cc0) at kernel/qcoreapplication.cpp:847
#43 0x00007fe59a27694c in QApplicationPrivate::notify_helper (this=0x16085e0, receiver=0x199f3a0, e=0x7fffd4c85cc0) at kernel/qapplication.cpp:4392
#44 0x00007fe59a27c6d1 in QApplication::notify (this=<value optimized out>, receiver=0x199f3a0, e=0x7fffd4c85cc0) at kernel/qapplication.cpp:4038
#45 0x00007fe59bc24ed6 in KApplication::notify (this=0x7fffd4c868f0, receiver=0x199f3a0, event=0x7fffd4c85cc0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/kernel/kapplication.cpp:310
#46 0x00007fe599d8069b in QCoreApplication::notifyInternal (this=0x7fffd4c868f0, receiver=0x199f3a0, event=0x7fffd4c85cc0) at kernel/qcoreapplication.cpp:732
#47 0x00007fe59a2fe746 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4408
#48 0x00007fe59a2fd78a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd4c86470) at kernel/qapplication_x11.cpp:3536
#49 0x00007fe59a3274e2 in x11EventSourceDispatch (s=0x160c040, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007fe591c2c211 in g_main_dispatch (context=0x160adf0) at gmain.c:1960
#51 IA__g_main_context_dispatch (context=0x160adf0) at gmain.c:2513
#52 0x00007fe591c30068 in g_main_context_iterate (context=0x160adf0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#53 0x00007fe591c3021c in IA__g_main_context_iteration (context=0x160adf0, may_block=1) at gmain.c:2654
#54 0x00007fe599dac633 in QEventDispatcherGlib::processEvents (this=0x150a7a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#55 0x00007fe59a326e5e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd4c82e70, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007fe599d7f3f2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#57 0x00007fe599d7f7d4 in QEventLoop::exec (this=0x7fffd4c86790, flags=) at kernel/qeventloop.cpp:201
#58 0x00007fe599d8382b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#59 0x000000000040327c in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kde-base/kmail-9999/kmail-9999/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-12-12 00:33:26 UTC
Hej Torgny,

is this crash still valid in current trunk version?

Ciao,
Tobias
Comment 2 Torgny Nyblom 2010-12-12 07:46:53 UTC
Hi Tobias,

I'm afraid I can't tell since in the latest version I'm unable to add favorite folders at all.

Will try and debug when I've got the git stuff done :) 

/Torgny