[Bug 280432] New: akonadi_mixedmaildir_resource crashes after deleting a number of e-mails

Thomas Zell t.zell at gmx.de
Fri Aug 19 18:58:55 BST 2011


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

           Summary: akonadi_mixedmaildir_resource crashes after deleting a
                    number of e-mails
           Product: Akonadi
           Version: 4.7
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Mixed Maildir resource
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: t.zell at gmx.de
                CC: kevin.krammer at gmx.at


Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

Application: akonadi_mixedmaildir_resource (4.7)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 2.6.34.10-0.2-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced some of the time.

-- Backtrace:
Application: Akonadi Resource (akonadi_mixedmaildir_resource), signal: Bus
error
[KCrash Handler]
#6  0x00007f1626ad9ea4 in _wordcopy_fwd_dest_aligned () from /lib64/libc.so.6
#7  0x00007f1626ad7d6e in memmove () from /lib64/libc.so.6
#8  0x00007f16296cdd66 in KMBox::MBox::purge (this=0x845708,
deletedEntries=..., movedEntries=0x7fff8e52be10) at
/usr/include/bits/string3.h:59
#9  0x000000000043d38a in MBoxContext::purge(QList<QPair<KMBox::MBoxEntry,
KMBox::MBoxEntry> >&) ()
#10 0x0000000000438b97 in MixedMaildirStore::Private::visit (this=0x7a2330,
job=0x5ee14e0) at
/usr/src/debug/kdepim-runtime-4.7.0/resources/mixedmaildir/mixedmaildirstore.cpp:2112
#11 0x0000000000423a59 in MixedMaildirStore::processJob (this=<value optimized
out>, job=0x5ee14e0) at
/usr/src/debug/kdepim-runtime-4.7.0/resources/mixedmaildir/mixedmaildirstore.cpp:2202
#12 0x00007f162a6638ef in
Akonadi::FileStore::AbstractLocalStore::Private::processJobs (this=0x7a1d00,
jobs=<value optimized out>)
    at
/usr/src/debug/kdepim-runtime-4.7.0/resources/shared/filestore/abstractlocalstore.cpp:295
#13 0x00007f162a66394e in Akonadi::FileStore::AbstractLocalStore::qt_metacall
(this=0x86ff20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fff8e52c010)
    at
/usr/src/debug/kdepim-runtime-4.7.0/build/resources/shared/filestore/abstractlocalstore.moc:75
#14 0x00007f16274548af in QMetaObject::activate (sender=0x7a1ee0, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8e52c010)
at kernel/qobject.cpp:3278
#15 0x00007f162a668292 in Akonadi::FileStore::AbstractJobSession::jobsReady
(this=<value optimized out>, _t1=<value optimized out>)
    at
/usr/src/debug/kdepim-runtime-4.7.0/build/resources/shared/filestore/session_p.moc:85
#16 0x00007f162a6686c2 in runNextJob (this=<value optimized out>, _c=<value
optimized out>, _id=0, _a=<value optimized out>)
    at
/usr/src/debug/kdepim-runtime-4.7.0/resources/shared/filestore/sessionimpls.cpp:142
#17 Akonadi::FileStore::FiFoQueueJobSession::qt_metacall (this=<value optimized
out>, _c=<value optimized out>, _id=0, _a=<value optimized out>)
    at
/usr/src/debug/kdepim-runtime-4.7.0/build/resources/shared/filestore/sessionimpls_p.moc:73
#18 0x00007f16274548af in QMetaObject::activate (sender=0x7a1b30, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3278
#19 0x00007f1627453259 in QObject::event (this=0x7a1b30, e=<value optimized
out>) at kernel/qobject.cpp:1181
#20 0x00007f1627e19114 in QApplicationPrivate::notify_helper (this=0x67b210,
receiver=0x7a1b30, e=0x7fff8e52c880) at kernel/qapplication.cpp:4462
#21 0x00007f1627e216aa in QApplication::notify (this=<value optimized out>,
receiver=0x7a1b30, e=0x7fff8e52c880) at kernel/qapplication.cpp:4341
#22 0x00007f1628b36666 in KApplication::notify (this=0x7fff8e52cc20,
receiver=0x7a1b30, event=0x7fff8e52c880) at
/usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#23 0x00007f162743f65c in QCoreApplication::notifyInternal
(this=0x7fff8e52cc20, receiver=0x7a1b30, event=0x7fff8e52c880) at
kernel/qcoreapplication.cpp:731
#24 0x00007f162746cf28 in sendEvent (this=0x67f2f0) at
kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x67f2f0) at
kernel/qeventdispatcher_unix.cpp:619
#26 0x00007f1627469c74 in timerSourceDispatch (source=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:184
#27 0x00007f1622cf2a93 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#28 0x00007f1622cf3270 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f1622cf3510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#30 0x00007f162746a34f in QEventDispatcherGlib::processEvents (this=0x67b160,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f1627ebec5e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f162743ea92 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007f162743eca5 in QEventLoop::exec (this=0x7fff8e52cb90, flags=...) at
kernel/qeventloop.cpp:201
#34 0x00007f162744310b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#35 0x00007f162a2cbd27 in Akonadi::ResourceBase::init (r=0x80db60) at
/usr/src/debug/kdepimlibs-4.7.0/akonadi/resourcebase.cpp:393
#36 0x000000000041a098 in init<MixedMaildirResource> (argc=<value optimized
out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:188
#37 main (argc=<value optimized out>, argv=<value optimized out>) at
/usr/src/debug/kdepim-runtime-4.7.0/resources/mixedmaildir/mixedmaildirresource.cpp:842


Reproducible: Sometimes

Steps to Reproduce:
Start deleting messages from the inbox folder


Actual Results:  
- works for a small number of e-mails
- at some point the message "cannot move message from folder inbox" appears for
each deleted e-mail. The message that is selected after each deletion is not
the next message in the folder anymore. Instead the same message is selected
every time
- after some more deletions akonadi_mixedmaildir_resource crashes with the
above backtrace

Expected Results:  
The message is moved to the trash folder. The next message in the folder is
selected.

-- 
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