[Bug 283291] New: Kontact/Kmail crashes when jumping to next unread message during mail update and filtering

Andreas Karrenbauer andreas.karrenbauer at uni-konstanz.de
Tue Oct 4 02:20:21 BST 2011


https://bugs.kde.org/show_bug.cgi?id=283291

           Summary: Kontact/Kmail crashes when jumping to next unread
                    message during mail update and filtering
           Product: kontact
           Version: 4.7.1
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: andreas.karrenbauer at uni-konstanz.de


Application: kontact (4.7.1)
KDE Platform Version: 4.7.1 (4.7.1) "release 8"
Qt Version: 4.7.4
Operating System: Linux 3.0.4-43-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I have about 5000 mails in a local mail folder (from a POP3 account) that are
automatically filtered and organized in several subfolders. If I press the
update button, I can see the new mails comming in the base folder and then they
are distributed to the corresponding subfolders. I can watch this process
because all this does happen very slowly, so that I can even select  an unread
message in the base folder before it gets moved away by the filter. I assume
that my interaction during the mail update and filtering caused an undefined 
state that lead to the crash.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f0eedb48760 (LWP 741))]

Thread 3 (Thread 0x7f0ed708c700 (LWP 743)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0eea5691d4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib64/libQtWebKit.so.4
#2  0x00007f0ee5edfa3f in start_thread (arg=0x7f0ed708c700) at
pthread_create.c:297
#3  0x00007f0eeb10b67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0ed678b700 (LWP 744)):
#0  0xffffffffff600137 in ?? ()
#1  0x00007fff92fff7e7 in ?? ()
#2  0x00007f0ee4e1f2b3 in clock_gettime (clock_id=1, tp=0x7f0ed678ab80) at
../sysdeps/unix/clock_gettime.c:100
#3  0x00007f0eec421cf2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f0eec4e4ffd in QTimerInfoList::updateCurrentTime
(this=0x7f0ed0002060) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f0eec4e5375 in QTimerInfoList::timerWait (this=0x7f0ed0002060,
tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f0eec4e3e3c in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0x7f0ed678ac8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f0ee4b6e087 in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#9  0x00007f0ee4b6efa9 in ?? () from /lib64/libglib-2.0.so.0
#10 0x00007f0ee4b6f650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#11 0x00007f0eec4e4636 in QEventDispatcherGlib::processEvents
(this=0x7f0ed00008b0, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f0eec4b8c22 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f0eec4b8e35 in QEventLoop::exec (this=0x7f0ed678ae20, flags=...) at
kernel/qeventloop.cpp:201
#14 0x00007f0eec3cdbe4 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:498
#15 0x00007f0eec3d04d5 in QThreadPrivate::start (arg=0x790340) at
thread/qthread_unix.cpp:331
#16 0x00007f0ee5edfa3f in start_thread (arg=0x7f0ed678b700) at
pthread_create.c:297
#17 0x00007f0eeb10b67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0eedb48760 (LWP 741)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0xec8230,
proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:368
#7  0x00007f0eebe0bc2d in QSortFilterProxyModel::mapToSource (this=<value
optimized out>, proxyIndex=<value optimized out>) at
itemviews/qsortfilterproxymodel.cpp:2500
#8  0x00007f0eebe0ac6c in QSortFilterProxyModel::flags (this=<value optimized
out>, index=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:1983
#9  0x00007f0eebd83d99 in isIndexEnabled (this=0xebbaa0, index=...) at
../../src/gui/itemviews/qabstractitemview_p.h:277
#10 QAbstractItemView::setCurrentIndex (this=0xebbaa0, index=...) at
itemviews/qabstractitemview.cpp:1014
#11 0x00007f0ecd62e94b in
MailCommon::FolderTreeView::trySelectNextUnreadFolder(QModelIndex const&,
MailCommon::Util::SearchDirection, bool) () from /usr/lib64/libmailcommon.so.4
#12 0x00007f0ecd62eae9 in
MailCommon::FolderTreeView::selectNextUnreadFolder(bool) () from
/usr/lib64/libmailcommon.so.4
#13 0x00007f0ecd9d5dd0 in KMMainWidget::slotSelectNextUnreadMessage() () from
/usr/lib64/libkmailprivate.so.4
#14 0x00007f0ecd9effad in KMMainWidget::qt_metacall(QMetaObject::Call, int,
void**) () from /usr/lib64/libkmailprivate.so.4
#15 0x00007f0eec4cde8f in QMetaObject::activate (sender=0xfc5810, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff92f53350)
at kernel/qobject.cpp:3287
#16 0x00007f0eeb875ed2 in QAction::triggered (this=<value optimized out>,
_t1=false) at .moc/release-shared/moc_qaction.cpp:263
#17 0x00007f0eeb8760ca in QAction::activate (this=0xfc5810, event=<value
optimized out>) at kernel/qaction.cpp:1257
#18 0x00007f0eeb876247 in QAction::event (this=<value optimized out>, e=<value
optimized out>) at kernel/qaction.cpp:1183
#19 0x00007f0eece1ee8d in KAction::event(QEvent*) () from
/usr/lib64/libkdeui.so.5
#20 0x00007f0eeb87c264 in QApplicationPrivate::notify_helper (this=0x63a820,
receiver=0xfc5810, e=0x7fff92f539e0) at kernel/qapplication.cpp:4481
#21 0x00007f0eeb88481a in QApplication::notify (this=<value optimized out>,
receiver=0xfc5810, e=0x7fff92f539e0) at kernel/qapplication.cpp:4360
#22 0x00007f0eecf01b76 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#23 0x00007f0eec4b97cc in QCoreApplication::notifyInternal
(this=0x7fff92f54f80, receiver=0xfc5810, event=0x7fff92f539e0) at
kernel/qcoreapplication.cpp:787
#24 0x00007f0eeb8aeb90 in sendEvent (this=<value optimized out>,
e=0x7fff92f53fd0) at ../../src/corelib/kernel/qcoreapplication.h:215
#25 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff92f53fd0)
at kernel/qshortcutmap.cpp:879
#26 0x00007f0eeb8b0088 in QShortcutMap::tryShortcutEvent (this=0x63a948,
o=<value optimized out>, e=0x7fff92f53fd0) at kernel/qshortcutmap.cpp:364
#27 0x00007f0eeb8863dc in QApplication::notify (this=0x7fff92f54f80,
receiver=0xef2740, e=0x7fff92f53fd0) at kernel/qapplication.cpp:3923
#28 0x00007f0eecf01b76 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libkdeui.so.5
#29 0x00007f0eec4b97cc in QCoreApplication::notifyInternal
(this=0x7fff92f54f80, receiver=0xef2740, event=0x7fff92f53fd0) at
kernel/qcoreapplication.cpp:787
#30 0x00007f0eeb91e078 in QKeyMapper::sendKeyEvent (keyWidget=0xef2740,
grab=<value optimized out>, type=QEvent::KeyPress, code=61, modifiers=<value
optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=21,
nativeVirtualKey=61, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#31 0x00007f0eeb91e4ff in QKeyMapperPrivate::translateKeyEvent (this=<value
optimized out>, keyWidget=0xef2740, event=<value optimized out>, grab=false) at
kernel/qkeymapper_x11.cpp:1836
#32 0x00007f0eeb8fa1ac in QApplication::x11ProcessEvent (this=0x7fff92f54f80,
event=0x7fff92f54bb0) at kernel/qapplication_x11.cpp:3480
#33 0x00007f0eeb922512 in x11EventSourceDispatch (s=0x6438b0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f0ee4b6ebd3 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#35 0x00007f0ee4b6f3b0 in ?? () from /lib64/libglib-2.0.so.0
#36 0x00007f0ee4b6f650 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#37 0x00007f0eec4e45df in QEventDispatcherGlib::processEvents (this=0x612790,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007f0eeb9221ae in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f0eec4b8c22 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f0eec4b8e35 in QEventLoop::exec (this=0x7fff92f54ed0, flags=...) at
kernel/qeventloop.cpp:201
#41 0x00007f0eec4bd27b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#42 0x000000000040416f in main ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list