Bug 279177

Summary: kmail 4.7.0 crashed when switching between messages using the arrow keys
Product: [Applications] kontact Reporter: Craig Magina <craig.magina>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Craig Magina 2011-08-02 14:44:37 UTC
Application: kontact (4.7.0 )
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-7-generic x86_64
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I was reading through and deleteing e-mail using the keyboard.  To be more specific, it crashed after a few quick arrow key presses to go up and down the message list.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0cc26657a0 (LWP 3858))]

Thread 3 (Thread 0x7f0ca92e3700 (LWP 3859)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0cbeebed4c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0cbf873200) at wtf/FastMalloc.cpp:2495
#2  0x00007f0cbeebee79 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<value optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007f0cba2c9d8c in start_thread (arg=0x7f0ca92e3700) at pthread_create.c:304
#4  0x00007f0cbfbce1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0c58ac2700 (LWP 3973)):
#0  0x00007f0cbfbc1093 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0cb97fcac8 in g_main_context_poll (context=0x2f0e810, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3474
#2  g_main_context_iterate (context=0x2f0e810, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3156
#3  0x00007f0cb97fcf89 in g_main_context_iteration (context=0x2f0e810, may_block=1) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3224
#4  0x00007f0cc10047ae in QEventDispatcherGlib::processEvents (this=0x2ee45d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0cc0fd8c62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0cc0fd8e67 in QEventLoop::exec (this=0x7f0c58ac1db0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f0cc0ef02cf in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f0cc0fbbc2f in QInotifyFileSystemWatcherEngine::run (this=0x2f0d8a0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0cc0ef2d55 in QThreadPrivate::start (arg=0x2f0d8a0) at thread/qthread_unix.cpp:320
#10 0x00007f0cba2c9d8c in start_thread (arg=0x7f0c58ac2700) at pthread_create.c:304
#11 0x00007f0cbfbce1dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0cc26657a0 (LWP 3858)):
[KCrash Handler]
#6  MessageList::Core::Item::indexOfChildItem (this=0x0, item=0x2ba20e0) at ../../messagelist/core/item.cpp:185
#7  0x00007f0c642cc8ee in MessageList::Core::View::messageItemBefore (this=0x2b97c20, referenceItem=0x0, messageTypeFilter=MessageList::Core::MessageTypeAny, loop=true) at ../../messagelist/core/view.cpp:1301
#8  0x00007f0c642d3421 in MessageList::Core::View::selectPreviousMessageItem (this=0x2b97c20, messageTypeFilter=<value optimized out>, existingSelectionBehaviour=MessageList::Core::ClearExistingSelection, centerItem=true, loop=<value optimized out>) at ../../messagelist/core/view.cpp:1452
#9  0x00007f0c6509e2bd in KMMainWidget::qt_metacall (this=0x2b15d30, _c=QMetaObject::InvokeMetaMethod, _id=105, _a=0x7fff6e8c6ed0) at ./kmmainwidget.moc:452
#10 0x00007f0cc0fec6ea in QMetaObject::activate (sender=0x2c61b90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff6e8c6ed0) at kernel/qobject.cpp:3278
#11 0x00007f0cc0388892 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#12 0x00007f0cc0388a7f in QAction::activate (this=0x2c61b90, event=<value optimized out>) at kernel/qaction.cpp:1257
#13 0x00007f0cc0388bef in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183
#14 0x00007f0cc192760a in KAction::event (this=<value optimized out>, event=0x7fff6e8c7360) at ../../kdeui/actions/kaction.cpp:131
#15 0x00007f0cc038f154 in notify_helper (this=0x21ff8b0, receiver=0x2c61b90, e=0x7fff6e8c7360) at kernel/qapplication.cpp:4467
#16 QApplicationPrivate::notify_helper (this=0x21ff8b0, receiver=0x2c61b90, e=0x7fff6e8c7360) at kernel/qapplication.cpp:4439
#17 0x00007f0cc0393fc1 in QApplication::notify (this=0x7fff6e8c85f0, receiver=0x2c61b90, e=0x7fff6e8c7360) at kernel/qapplication.cpp:4346
#18 0x00007f0cc1a0dde6 in KApplication::notify (this=0x7fff6e8c85f0, receiver=0x2c61b90, event=0x7fff6e8c7360) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f0cc0fd9a6c in QCoreApplication::notifyInternal (this=0x7fff6e8c85f0, receiver=0x2c61b90, event=0x7fff6e8c7360) at kernel/qcoreapplication.cpp:731
#20 0x00007f0cc03c1149 in sendEvent (this=<value optimized out>, e=0x7fff6e8c7770) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff6e8c7770) at kernel/qshortcutmap.cpp:879
#22 0x00007f0cc03c261a in QShortcutMap::tryShortcutEvent (this=0x21ff9d8, o=<value optimized out>, e=0x7fff6e8c7770) at kernel/qshortcutmap.cpp:364
#23 0x00007f0cc0395842 in QApplication::notify (this=0x7fff6e8c85f0, receiver=0x2b97c20, e=0x7fff6e8c7770) at kernel/qapplication.cpp:3909
#24 0x00007f0cc1a0dde6 in KApplication::notify (this=0x7fff6e8c85f0, receiver=0x2b97c20, event=0x7fff6e8c7770) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f0cc0fd9a6c in QCoreApplication::notifyInternal (this=0x7fff6e8c85f0, receiver=0x2b97c20, event=0x7fff6e8c7770) at kernel/qcoreapplication.cpp:731
#26 0x00007f0cc0432649 in QKeyMapper::sendKeyEvent (keyWidget=0x2b97c20, grab=<value optimized out>, type=QEvent::KeyPress, code=16777234, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=113, nativeVirtualKey=65361, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#27 0x00007f0cc0432abb in QKeyMapperPrivate::translateKeyEvent (this=0x2241b60, keyWidget=0x2b97c20, event=0x7fff6e8c81b0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#28 0x00007f0cc040dbe7 in QApplication::x11ProcessEvent (this=0x7fff6e8c85f0, event=0x7fff6e8c81b0) at kernel/qapplication_x11.cpp:3577
#29 0x00007f0cc0436ac2 in x11EventSourceDispatch (s=0x2209060, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f0cb97fc5bd in g_main_dispatch (context=0x22036e0) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:2500
#31 g_main_context_dispatch (context=0x22036e0) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3083
#32 0x00007f0cb97fcdb8 in g_main_context_iterate (context=0x22036e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3161
#33 0x00007f0cb97fcf89 in g_main_context_iteration (context=0x22036e0, may_block=1) at /build/buildd/glib2.0-2.29.14/./glib/gmain.c:3224
#34 0x00007f0cc1004746 in QEventDispatcherGlib::processEvents (this=0x21d2fd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f0cc043672e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f0cc0fd8c62 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f0cc0fd8e67 in QEventLoop::exec (this=0x7fff6e8c8580, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007f0cc0fdd07b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x0000000000403629 in main (argc=1, argv=0x7fff6e8c8c18) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 264153.

Possible duplicates by query: bug 273338.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-08-02 15:20:19 UTC

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