Bug 251033 - kmail crash when adding folder to favorites
Summary: kmail crash when adding folder to favorites
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 02:31 UTC by Justin
Modified: 2010-12-13 20:33 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 Justin 2010-09-13 02:31:47 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.34-gentoo-r2 x86_64
Distribution: "Gentoo Base System release 1.12.13"

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

adding a folder from an IMAP account (gmail account to be specific) to the favorites.  The folder is in favorites when I restart KMail, it just crashes when added.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2516.0-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fd228c54780 (LWP 24868))]

Thread 2 (Thread 0x7fd20cbc7710 (LWP 24879)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd21ade906c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fd21b5ba780) at wtf/FastMalloc.cpp:2378
#2  0x00007fd21ade90a9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7fd21b5c8854) at wtf/FastMalloc.cpp:1497
#3  0x00007fd2241ef8e4 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fd225daf1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd228c54780 (LWP 24868)):
[KCrash Handler]
#6  0x00007fd225d10165 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fd225d11580 in *__GI_abort () at abort.c:92
#8  0x00007fd2265d8f64 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007fd2265d90fe in qt_message (msgType=QtFatalMsg, msg=0x7fd22674ff50 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff114d7b80) at global/qglobal.cpp:2305
#10 0x00007fd2265d92b5 in qFatal (msg=0x6124 <Address 0x6124 out of bounds>) at global/qglobal.cpp:2488
#11 0x00007fd222b6842f in Akonadi::StandardActionManager::Private::slotAddToFavorites() () from /usr/lib/libakonadi-kde.so.4
#12 0x00007fd222b63c6e in Akonadi::StandardActionManager::qt_metacall (this=0xa80940, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff114d7e60)
    at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999_build/akonadi/standardactionmanager.moc:156
#13 0x00007fd2266fbeca in QMetaObject::activate (sender=0xa86310, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3272
#14 0x00007fd226be98f2 in QAction::triggered (this=0x6124, _t1=false) at .moc/debug-shared/moc_qaction.cpp:263
#15 0x00007fd226beacc3 in QAction::activate (this=0xa86310, event=<value optimized out>) at kernel/qaction.cpp:1256
#16 0x00007fd2270a790a in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0xa86310, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#17 0x00007fd2270add7a in QMenuPrivate::activateAction (this=0xbbd080, action=0xa86310, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#18 0x00007fd228701402 in KMenu::mouseReleaseEvent (this=0xbbd040, e=0x7fff114d8ce0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/widgets/kmenu.cpp:471
#19 0x00007fd226c4ecab in QWidget::event (this=0xbbd040, event=0x7fff114d8ce0) at kernel/qwidget.cpp:8200
#20 0x00007fd2270af54b in QMenu::event (this=0xbbd040, e=0x7fff114d8ce0) at widgets/qmenu.cpp:2410
#21 0x00007fd226bf155c in QApplicationPrivate::notify_helper (this=0x64a7d0, receiver=0xbbd040, e=0x7fff114d8ce0) at kernel/qapplication.cpp:4405
#22 0x00007fd226bfa36c in QApplication::notify (this=0x7fff114db2f0, receiver=0xbbd040, e=0x7fff114d8ce0) at kernel/qapplication.cpp:3968
#23 0x00007fd2286380f0 in KApplication::notify (this=0x7fff114db2f0, receiver=0xbbd040, event=0x7fff114d8ce0)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:310
#24 0x00007fd2266e178b in QCoreApplication::notifyInternal (this=0x7fff114db2f0, receiver=0xbbd040, event=0x7fff114d8ce0) at kernel/qcoreapplication.cpp:732
#25 0x00007fd226bf6989 in QCoreApplication::sendEvent (receiver=0xbbd040, event=0x7fff114d8ce0, alienWidget=0x0, nativeWidget=0xbbd040, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0xbbd040, event=0x7fff114d8ce0, alienWidget=0x0, nativeWidget=0xbbd040, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:3067
#27 0x00007fd226c84a2d in QETWidget::translateMouseEvent (this=0xbbd040, event=<value optimized out>) at kernel/qapplication_x11.cpp:4344
#28 0x00007fd226c834d9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff114d9460) at kernel/qapplication_x11.cpp:3536
#29 0x00007fd226cae9e2 in x11EventSourceDispatch (s=0x64e0f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fd21e810db9 in g_main_dispatch (context=0x64d070) at gmain.c:2149
#31 g_main_context_dispatch (context=0x64d070) at gmain.c:2702
#32 0x00007fd21e814c40 in g_main_context_iterate (context=0x64d070, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2780
#33 0x00007fd21e814de2 in g_main_context_iteration (context=0x64d070, may_block=1) at gmain.c:2843
#34 0x00007fd226710ffe in QEventDispatcherGlib::processEvents (this=0x64a650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#35 0x00007fd226cae326 in QGuiEventDispatcherGlib::processEvents (this=0x6124, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fd2266e0392 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007fd2266e075d in QEventLoop::exec (this=0x7fff114d97a0, flags=) at kernel/qeventloop.cpp:201
#38 0x00007fd2270ab38b in QMenu::exec (this=0xbbd040, p=<value optimized out>, action=<value optimized out>) at widgets/qmenu.cpp:2054
#39 0x00007fd222b8e744 in Akonadi::EntityTreeView::contextMenuEvent (this=<value optimized out>, event=0x7fff114da6c0)
    at /var/tmp/portage/kde-base/kdepimlibs-9999/work/kdepimlibs-9999/akonadi/entitytreeview.cpp:263
#40 0x00007fd226c4e888 in QWidget::event (this=0x701120, event=0x7fff114da6c0) at kernel/qwidget.cpp:8367
#41 0x00007fd2270657de in QFrame::event (this=0x701120, e=0x7fff114da6c0) at widgets/qframe.cpp:557
#42 0x00007fd2271ae54b in QAbstractItemView::viewportEvent (this=0x701120, event=0x7fff114da6c0) at itemviews/qabstractitemview.cpp:1619
#43 0x00007fd2271f0ba4 in QTreeView::viewportEvent (this=0x701120, event=0x7fff114da6c0) at itemviews/qtreeview.cpp:1256
#44 0x00007fd2266e1440 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x60f120, event=0x7fff114da6c0) at kernel/qcoreapplication.cpp:847
#45 0x00007fd226bf154c in QApplicationPrivate::notify_helper (this=0x64a7d0, receiver=0x60f120, e=0x7fff114da6c0) at kernel/qapplication.cpp:4401
#46 0x00007fd226bf9e17 in QApplication::notify (this=<value optimized out>, receiver=0x60f120, e=0x7fff114da6c0) at kernel/qapplication.cpp:4047
#47 0x00007fd2286380f0 in KApplication::notify (this=0x7fff114db2f0, receiver=0x60f120, event=0x7fff114da6c0)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:310
#48 0x00007fd2266e178b in QCoreApplication::notifyInternal (this=0x7fff114db2f0, receiver=0x60f120, event=0x7fff114da6c0) at kernel/qcoreapplication.cpp:732
#49 0x00007fd226c845a3 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4415
#50 0x00007fd226c834d9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff114dae70) at kernel/qapplication_x11.cpp:3536
#51 0x00007fd226cae9e2 in x11EventSourceDispatch (s=0x64e0f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#52 0x00007fd21e810db9 in g_main_dispatch (context=0x64d070) at gmain.c:2149
#53 g_main_context_dispatch (context=0x64d070) at gmain.c:2702
#54 0x00007fd21e814c40 in g_main_context_iterate (context=0x64d070, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2780
#55 0x00007fd21e814de2 in g_main_context_iteration (context=0x64d070, may_block=1) at gmain.c:2843
#56 0x00007fd226710ffe in QEventDispatcherGlib::processEvents (this=0x64a650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#57 0x00007fd226cae326 in QGuiEventDispatcherGlib::processEvents (this=0x6124, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007fd2266e0392 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#59 0x00007fd2266e075d in QEventLoop::exec (this=0x7fff114db1a0, flags=) at kernel/qeventloop.cpp:201
#60 0x00007fd2266e2ffb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#61 0x0000000000403193 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-9999/work/kmail-9999/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-12-11 23:06:34 UTC
Hej Justin,

can you still reproduce this issue in current version (4.6beta)?
If so, can you attach the console output of kmail2 when it crashes?

Ciao,
Tobias
Comment 2 Justin 2010-12-13 20:33:52 UTC
Sorry for the slow response, looks like it's fixed and good to go.  I had to clean out the kmail2rc file's [FavoriteCollections] section for some reason before I could add any other Favorites, but I can add and subtract favorites without crash or restart.  I had not tried until today but in Version 2.0.89 (KDE 4.6 Beta2) it's fixed.  Thank you.