Bug 208702

Summary: Crash when jumping to next unread folder
Product: [Applications] kontact Reporter: Laurent RINEAU <laurent.rineau>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Laurent RINEAU 2009-09-27 18:14:00 UTC
Application that crashed: kontact
Version of the application: 4.3.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.i586 i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
I do not have that much details. I was reading my emails, with all my accounts using DIMAP. I typed Ctrl+Shift++, which  is the shortcut to jump to the first unread message of the next unread folder, and crash!


 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0x02639984 in KMail::MessageListView::StorageModel::initializeMessageItem (this=0xa597890, mi=0xcea52a0, row=0, bUseReceiver=false)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/storagemodel.cpp:402
#8  0x026632e1 in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJobPass1Fill (this=0x921e828, job=0xdd02ce8, tStart=@0xbfc2e5b8)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/model.cpp:2750
#9  0x02664adb in KMail::MessageListView::Core::Model::viewItemJobStepInternalForJob (this=0x921e828, job=0xdd02ce8, tStart=@0xbfc2e5b8)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/model.cpp:3392
#10 0x02665102 in KMail::MessageListView::Core::Model::viewItemJobStepInternal (this=0x921e828) at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/model.cpp:3764
#11 0x02665e0e in KMail::MessageListView::Core::Model::viewItemJobStep (this=0x921e828) at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/model.cpp:3952
#12 0x026671c7 in KMail::MessageListView::Core::Model::setStorageModel (this=0x921e828, storageModel=0xa597890, preSelectionMode=KMail::MessageListView::Core::PreSelectFirstNewOrUnreadCentered)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/model.cpp:806
#13 0x0268fdc7 in KMail::MessageListView::Core::View::setStorageModel (this=0x9219d88, storageModel=0xa597890, preSelectionMode=KMail::MessageListView::Core::PreSelectFirstNewOrUnreadCentered)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/view.cpp:173
#14 0x026979aa in KMail::MessageListView::Core::Widget::setStorageModel (this=0x9207290, storageModel=0xa597890, preSelectionMode=KMail::MessageListView::Core::PreSelectFirstNewOrUnreadCentered)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/core/widgetbase.cpp:308
#15 0x0263d92c in KMail::MessageListView::Widget::setFolder (this=0x9207290, fld=0x8e9c3d8, icon=@0xbfc2ea6c, preSelectionMode=KMail::MessageListView::Core::PreSelectFirstNewOrUnreadCentered)
    at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/widget.cpp:113
#16 0x02635fa8 in KMail::MessageListView::Pane::setCurrentFolder (this=0x8e2a8a8, fld=0x8e9c3d8, preferEmptyTab=false, 
    preSelectionMode=KMail::MessageListView::Core::PreSelectFirstNewOrUnreadCentered, overrideLabel=@0xbfc2ead4) at /usr/src/debug/kdepim-4.3.1/kmail/messagelistview/pane.cpp:218
#17 0x024fd8dc in KMMainWidget::folderSelected (this=0x91fa930, aFolder=0x8e9c3d8, forceJumpToUnread=false, preferNewTabForOpening=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.1/kmail/kmmainwidget.cpp:3081
#18 0x024fdd24 in KMMainWidget::slotFolderViewManagerFolderActivated (this=0x91fa930, fld=0x8e9c3d8, middleClick=<value optimized out>) at /usr/src/debug/kdepim-4.3.1/kmail/kmmainwidget.cpp:2897
#19 0x024ffece in KMMainWidget::qt_metacall (this=0x91fa930, _c=QMetaObject::InvokeMetaMethod, _id=161, _a=0xbfc2ec44) at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/kmmainwidget.moc:509
#20 0x02fe8843 in QMetaObject::activate (sender=0x8f049c8, from_signal_index=5, to_signal_index=5, argv=0xbfc2ec44) at kernel/qobject.cpp:3112
#21 0x02fe94a2 in QMetaObject::activate (sender=0x8f049c8, m=0x28db7f8, local_signal_index=1, argv=0xbfc2ec44) at kernel/qobject.cpp:3186
#22 0x02273c5f in KMail::FolderViewManager::folderActivated (this=0x8f049c8, _t1=0x8e9c3d8, _t2=false) at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/folderview.moc:89
#23 0x0227eade in KMail::FolderView::activateItemInternal (this=0x927a8f8, fvi=0x995b618, keepSelection=false, notifyManager=true, middleButton=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:1010
#24 0x02273833 in KMail::FolderView::activateItem (this=0x927a8f8, fvi=0x995b618, keepSelection=<value optimized out>, middleButton=<value optimized out>)
    at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:987
#25 0x02281b97 in KMail::FolderView::selectFolderIfUnread (this=0x927a8f8, fvi=0x995b618, confirm=false) at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:1900
#26 0x02281fd6 in KMail::FolderView::selectNextUnreadFolder (this=0x927a8f8, confirm=false) at /usr/src/debug/kdepim-4.3.1/kmail/folderview.cpp:1967
#27 0x024d8211 in KMMainWidget::slotNextUnreadFolder (this=0x91fa930) at /usr/src/debug/kdepim-4.3.1/kmail/kmmainwidget.cpp:4193
#28 0x02500865 in KMMainWidget::qt_metacall (this=0x91fa930, _c=QMetaObject::InvokeMetaMethod, _id=123, _a=0xbfc2ef98) at /usr/src/debug/kdepim-4.3.1/i586-redhat-linux-gnu/kmail/kmmainwidget.moc:471
#29 0x02fe8843 in QMetaObject::activate (sender=0x978a828, from_signal_index=5, to_signal_index=6, argv=0xbfc2ef98) at kernel/qobject.cpp:3112
#30 0x02fe8cb8 in QMetaObject::activate (sender=0x978a828, m=0x6d039b0, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfc2ef98) at kernel/qobject.cpp:3206
#31 0x0649e331 in QAction::triggered (this=0x978a828, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#32 0x0649f8c6 in QAction::activate (this=0x978a828, event=QAction::Trigger) at kernel/qaction.cpp:1160
#33 0x064a23d8 in QAction::event (this=0x8e3ab18, e=0xe484400) at kernel/qaction.cpp:1079
#34 0x034f8073 in KAction::event (this=0x978a828, event=0xbfc2f3e8) at /usr/src/debug/kdelibs-4.3.1/kdeui/actions/kaction.cpp:88
#35 0x064a4974 in QApplicationPrivate::notify_helper (this=0x891bab0, receiver=0x978a828, e=0xbfc2f3e8) at kernel/qapplication.cpp:4056
#36 0x064ac0e9 in QApplication::notify (this=0xbfc31324, receiver=0x978a828, e=0xbfc2f3e8) at kernel/qapplication.cpp:3603
#37 0x035df60a in KApplication::notify (this=0xbfc31324, receiver=0x978a828, event=0xbfc2f3e8) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#38 0x02fd2afb in QCoreApplication::notifyInternal (this=0xbfc31324, receiver=0x978a828, event=0xbfc2f3e8) at kernel/qcoreapplication.cpp:610
#39 0x064dd75d in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:213
#40 QShortcutMap::dispatchEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qshortcutmap.cpp:884
#41 0x064df616 in QShortcutMap::tryShortcutEvent (this=0x891bb50, o=0x9219d88, e=0xbfc2f794) at kernel/qshortcutmap.cpp:369
#42 0x064ad476 in QApplication::notify (this=0xbfc31324, receiver=0x9219d88, e=0xbfc2f794) at kernel/qapplication.cpp:3645
#43 0x035df60a in KApplication::notify (this=0xbfc31324, receiver=0x9219d88, event=0xbfc2f794) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#44 0x02fd2afb in QCoreApplication::notifyInternal (this=0xbfc31324, receiver=0x9219d88, event=0xbfc2f794) at kernel/qcoreapplication.cpp:610
#45 0x064a587e in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#46 qt_sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:4958
#47 0x065404f0 in QKeyMapper::sendKeyEvent (keyWidget=0x9219d88, grab=false, type=QEvent::KeyPress, code=43, modifiers={i = 100663296}, text=@0xbfc2f918, autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=21, nativeVirtualKey=43, nativeModifiers=5) at kernel/qkeymapper_x11.cpp:1861
#48 0x06542a05 in QKeyMapperPrivate::translateKeyEvent (this=0x8955058, keyWidget=0x9219d88, event=0xbfc30f8c, grab=false) at kernel/qkeymapper_x11.cpp:1831
#49 0x065187af in QApplication::x11ProcessEvent (this=0xbfc31324, event=0xbfc30f8c) at kernel/qapplication_x11.cpp:3438
#50 0x065445d2 in x11EventSourceDispatch (s=0x891f100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x02dea308 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#52 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#53 0x02ded9e0 in g_main_context_iterate (context=0x891e290, block=<value optimized out>, dispatch=1, self=0x89347b0) at gmain.c:2455
#54 0x02dedb13 in IA__g_main_context_iteration (context=0x891e290, may_block=1) at gmain.c:2518
#55 0x02ffd5dc in QEventDispatcherGlib::processEvents (this=0x88fca28, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#56 0x06543cb5 in QGuiEventDispatcherGlib::processEvents (this=0x88fca28, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#57 0x02fd10c9 in QEventLoop::processEvents (this=0xbfc31284, flags={i = 36}) at kernel/qeventloop.cpp:149
#58 0x02fd151a in QEventLoop::exec (this=0xbfc31284, flags={i = 0}) at kernel/qeventloop.cpp:201
#59 0x02fd399f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#60 0x064a47f7 in QApplication::exec () at kernel/qapplication.cpp:3525
#61 0x0804b2e6 in main (argc=3, argv=0xbfc31544) at /usr/src/debug/kdepim-4.3.1/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2009-09-27 18:21:37 UTC
Thank you, merging with bug 206968.

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