I pressed the Ctrl key to select another message in an IMAP folder. Reproducible: Didn't try Steps to Reproduce: 1. Press the Ctrl key to select another message in an IMAP folder. Actual Results: 1. NULL pointer dereference in MessageViewer::MailWebView::showAccessKeys: -- Backtrace: Application: Akonadi Console (akonadiconsole), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". 81 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7fbda5f1d880 (LWP 6078))] Thread 5 (Thread 0x7fbd85670700 (LWP 6084)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fbd9c6a8f76 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fbd9d1715a0 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571 #2 0x00007fbd9c6a8fa9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767 #3 0x00007fbda052d0db in start_thread (arg=0x7fbd85670700) at pthread_create.c:309 #4 0x00007fbda0b2b90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 4 (Thread 0x7fbd446d0700 (LWP 6085)): #0 0x00007fbd9723dffa in g_mutex_get_impl (mutex=0x7fbd3c0009a0) at gthread-posix.c:124 #1 0x00007fbd9723e2b9 in g_mutex_unlock (mutex=mutex@entry=0x7fbd3c0009a0) at gthread-posix.c:232 #2 0x00007fbd971fdf1b in g_main_context_query (context=context@entry=0x7fbd3c0009a0, max_priority=2147483647, timeout=timeout@entry=0x7fbd446cfbec, fds=fds@entry=0x7fbd3c002bb0, n_fds=n_fds@entry=2) at gmain.c:3474 #3 0x00007fbd971fe572 in g_main_context_iterate (context=context@entry=0x7fbd3c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3695 #4 0x00007fbd971fe70c in g_main_context_iteration (context=0x7fbd3c0009a0, may_block=1) at gmain.c:3774 #5 0x00007fbda14bfd76 in QEventDispatcherGlib::processEvents (this=0x7fbd3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427 #6 0x00007fbda1491d0f in QEventLoop::processEvents (this=this@entry=0x7fbd446cfd20, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007fbda1492005 in QEventLoop::exec (this=this@entry=0x7fbd446cfd20, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007fbda1390fef in QThread::exec (this=this@entry=0x14ed350) at thread/qthread.cpp:536 #9 0x00007fbda1473513 in QInotifyFileSystemWatcherEngine::run (this=0x14ed350) at io/qfilesystemwatcher_inotify.cpp:256 #10 0x00007fbda139368f in QThreadPrivate::start (arg=0x14ed350) at thread/qthread_unix.cpp:338 #11 0x00007fbda052d0db in start_thread (arg=0x7fbd446d0700) at pthread_create.c:309 #12 0x00007fbda0b2b90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 3 (Thread 0x7fbd43bf0700 (LWP 6087)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fbd9c41b2cd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7fbd84dd9398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128 #2 0x00007fbd9c6d0ad6 in WTF::wtfThreadEntryPoint (param=0x1826ff0) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196 #3 0x00007fbda052d0db in start_thread (arg=0x7fbd43bf0700) at pthread_create.c:309 #4 0x00007fbda0b2b90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fbd41f2e700 (LWP 6092)): #0 __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:98 #1 0x00007fbda0b1e9a9 in read () at ../sysdeps/unix/syscall-template.S:81 #2 0x00007fbd9723d5c0 in read (__nbytes=16, __buf=0x7fbd41f2db60, __fd=<optimized out>) at /usr/include/bits/unistd.h:44 #3 g_wakeup_acknowledge (wakeup=0x7fbd3c001fb0) at gwakeup.c:212 #4 0x00007fbd971fe12c in g_main_context_check (context=context@entry=0x7fbd380009e0, max_priority=2147483647, fds=fds@entry=0x7fbd380027f0, n_fds=n_fds@entry=1) at gmain.c:3514 #5 0x00007fbd971fe59b in g_main_context_iterate (context=context@entry=0x7fbd380009e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3710 #6 0x00007fbd971fe70c in g_main_context_iteration (context=0x7fbd380009e0, may_block=1) at gmain.c:3774 #7 0x00007fbda14bfd76 in QEventDispatcherGlib::processEvents (this=0x7fbd38000900, flags=...) at kernel/qeventdispatcher_glib.cpp:427 #8 0x00007fbda1491d0f in QEventLoop::processEvents (this=this@entry=0x7fbd41f2dd60, flags=...) at kernel/qeventloop.cpp:149 #9 0x00007fbda1492005 in QEventLoop::exec (this=this@entry=0x7fbd41f2dd60, flags=...) at kernel/qeventloop.cpp:204 #10 0x00007fbda1390fef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536 #11 0x00007fbda139368f in QThreadPrivate::start (arg=0x156aee0) at thread/qthread_unix.cpp:338 #12 0x00007fbda052d0db in start_thread (arg=0x7fbd41f2e700) at pthread_create.c:309 #13 0x00007fbda0b2b90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fbda5f1d880 (LWP 6078)): [KCrash Handler] #6 QList (l=<error reading variable: Cannot access memory at address 0x10>, this=this@entry=0x7fffcbb3fa80) at /usr/include/QtCore/qlist.h:122 #7 KActionCollection::actions (this=0x0) at /usr/src/debug/kdelibs-4.11.3/kdeui/actions/kactioncollection.cpp:188 #8 0x00007fbda49c2d12 in MessageViewer::MailWebView::showAccessKeys (this=this@entry=0x1650a30) at /usr/src/debug/kdepim-4.11.3/messageviewer/viewer/mailwebview_webkit.cpp:511 #9 0x00007fbda49c4a84 in MessageViewer::MailWebView::keyReleaseEvent (this=0x1650a30, e=0x7fffcbb40180) at /usr/src/debug/kdepim-4.11.3/messageviewer/viewer/mailwebview_webkit.cpp:422 #10 0x00007fbda216f9e5 in QWidget::event (this=0x1650a30, event=0x7fffcbb40180) at kernel/qwidget.cpp:8459 #11 0x00007fbd9b245688 in QWebView::event () from /usr/lib64/libQtWebKit.so.4 #12 0x00007fbda49c3f73 in MessageViewer::MailWebView::event (this=0x1650a30, event=0x7fffcbb40180) at /usr/src/debug/kdepim-4.11.3/messageviewer/viewer/mailwebview_webkit.cpp:162 #13 0x00007fbda21208ac in QApplicationPrivate::notify_helper (this=this@entry=0x12a3510, receiver=receiver@entry=0x1650a30, e=e@entry=0x7fffcbb40180) at kernel/qapplication.cpp:4562 #14 0x00007fbda21280c1 in QApplication::notify (this=this@entry=0x7fffcbb40d30, receiver=receiver@entry=0x1650a30, e=e@entry=0x7fffcbb40180) at kernel/qapplication.cpp:4003 #15 0x00007fbda2e3718a in KApplication::notify (this=0x7fffcbb40d30, receiver=0x1650a30, event=0x7fffcbb40180) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311 #16 0x00007fbda14930ad in QCoreApplication::notifyInternal (this=0x7fffcbb40d30, receiver=receiver@entry=0x1650a30, event=event@entry=0x7fffcbb40180) at kernel/qcoreapplication.cpp:949 #17 0x00007fbda211f246 in sendSpontaneousEvent (event=event@entry=0x7fffcbb40180, receiver=receiver@entry=0x1650a30) at ../../src/corelib/kernel/qcoreapplication.h:234 #18 qt_sendSpontaneousEvent (receiver=receiver@entry=0x1650a30, event=event@entry=0x7fffcbb40180) at kernel/qapplication.cpp:5560 #19 0x00007fbda21bad79 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x1650a30, grab=grab@entry=false, type=QEvent::KeyRelease, code=16777249, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=37, nativeVirtualKey=65507, nativeModifiers=8212) at kernel/qkeymapper_x11.cpp:1866 #20 0x00007fbda21bb119 in QKeyMapperPrivate::translateKeyEvent (this=0x12f8010, keyWidget=keyWidget@entry=0x1650a30, event=event@entry=0x7fffcbb40700, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836 #21 0x00007fbda2196d3f in QApplication::x11ProcessEvent (this=0x7fffcbb40d30, event=event@entry=0x7fffcbb40700) at kernel/qapplication_x11.cpp:3544 #22 0x00007fbda21bd882 in x11EventSourceDispatch (s=s@entry=0x1298f60, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #23 0x00007fbd971fe316 in g_main_dispatch (context=0x129cfe0) at gmain.c:3066 #24 g_main_context_dispatch (context=context@entry=0x129cfe0) at gmain.c:3642 #25 0x00007fbd971fe668 in g_main_context_iterate (context=context@entry=0x129cfe0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 #26 0x00007fbd971fe70c in g_main_context_iteration (context=0x129cfe0, may_block=1) at gmain.c:3774 #27 0x00007fbda14bfd55 in QEventDispatcherGlib::processEvents (this=0x124ca70, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #28 0x00007fbda21bd936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #29 0x00007fbda1491d0f in QEventLoop::processEvents (this=this@entry=0x7fffcbb40ae0, flags=...) at kernel/qeventloop.cpp:149 #30 0x00007fbda1492005 in QEventLoop::exec (this=this@entry=0x7fffcbb40ae0, flags=...) at kernel/qeventloop.cpp:204 #31 0x00007fbda149713b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221 #32 0x00007fbda211f06c in QApplication::exec () at kernel/qapplication.cpp:3823 #33 0x000000000041adca in main (argc=1, argv=<optimized out>) at /usr/src/debug/kdepim-4.11.3/akonadiconsole/main.cpp:62 Expected Results: 1. Select another message in an IMAP folder. I have no idea why akonadiconsole reports unsupported version 0.99.
Will fix it tomorrow. Thanks for the report.
Git commit b24a0821e05d854d5046d4298ece6ae370d43226 by Montel Laurent. Committed on 13/12/2013 at 06:15. Pushed by mlaurent into branch 'KDE/4.12'. Fix Bug 328736 - akonadiconsole crashed in MessageViewer::MailWebView::showAccessKeys FIXED-IN: 4.12 M +10 -8 messageviewer/viewer/mailwebview_webkit.cpp http://commits.kde.org/kdepim/b24a0821e05d854d5046d4298ece6ae370d43226
I hope it will in 4.12 or it will be in 4.12.1 (depends about time tag) Regards