[Bug 265308] New: akonadi crashes when checking new messages from imap resource

Ruben Smits ruben.smits at mech.kuleuven.be
Thu Feb 3 16:03:06 GMT 2011


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

           Summary: akonadi crashes when checking new messages from imap
                    resource
           Product: Akonadi
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: IMAP resource
        AssignedTo: ervin at kde.org
        ReportedBy: ruben.smits at mech.kuleuven.be
                CC: vkrause at kde.org, kdepim-bugs at kde.org


Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-26-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I was checking new mail in KMAIL. It's an IMAP resource (Exchange 2009 server)

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation
fault
[Current thread is 1 (Thread 0x7fc7dc5dd760 (LWP 10115))]

Thread 4 (Thread 0x7fc7c8d7d700 (LWP 10118)):
#0  __lll_lock_wait_private () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fc7d7f4b1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fc7d7f49c78 in __libc_free (mem=0x7fc7d824ae40) at malloc.c:3736
#3  0x00007fc7d6b43c3b in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fc7dba5bd33 in QEventDispatcherGlib::~QEventDispatcherGlib
(this=0x2346cc0, __in_chrg=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:369
#5  0x00007fc7db93aac4 in QThreadPrivate::finish (arg=<value optimized out>) at
thread/qthread_unix.cpp:302
#6  0x00007fc7db93b286 in ~__pthread_cleanup_class (arg=0x2383f80) at
/usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x2383f80) at thread/qthread_unix.cpp:271
#8  0x00007fc7d7616971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9  0x00007fc7d7fb292d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc7c3df0700 (LWP 10188)):
#0  0x00007fc7d7fa6203 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc7d6b48009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc7d6b4845c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fc7dba5b1e6 in QEventDispatcherGlib::processEvents (this=0x23ef390,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007fc7dba2da02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc7dba2ddec in QEventLoop::exec (this=0x7fc7c3defdd0, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007fc7db9382fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7  0x00007fc7da67a263 in KIMAP::SessionThread::run (this=0x2626170) at
../../kimap/sessionthread.cpp:166
#8  0x00007fc7db93b27e in QThreadPrivate::start (arg=0x2626170) at
thread/qthread_unix.cpp:266
#9  0x00007fc7d7616971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#10 0x00007fc7d7fb292d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc7c957e700 (LWP 10189)):
#0  0x00007fc7dc41b83f in dl_open_worker (a=<value optimized out>) at
dl-open.c:199
#1  0x00007fc7dc416d36 in _dl_catch_error (objname=<value optimized out>,
errstring=<value optimized out>, mallocedp=<value optimized out>,
operate=<value optimized out>, args=<value optimized out>) at dl-error.c:178
#2  0x00007fc7dc41b32a in _dl_open (file=0x7fc7d801276e "libgcc_s.so.1",
mode=-2147483647, caller_dlopen=0x0, nsid=-2, argc=3, argv=0x0,
env=0x7fffd9e69268) at dl-open.c:555
#3  0x00007fc7d7ff0f60 in do_dlopen (ptr=0x7fc7c957c860) at dl-libc.c:86
#4  0x00007fc7dc416d36 in _dl_catch_error (objname=<value optimized out>,
errstring=<value optimized out>, mallocedp=<value optimized out>,
operate=<value optimized out>, args=<value optimized out>) at dl-error.c:178
#5  0x00007fc7d7ff10b7 in dlerror_run (name=<value optimized out>, mode=<value
optimized out>) at dl-libc.c:47
#6  __libc_dlopen_mode (name=<value optimized out>, mode=<value optimized out>)
at dl-libc.c:160
#7  0x00007fc7d7fcb5f5 in init () at ../sysdeps/x86_64/../ia64/backtrace.c:41
#8  0x00007fc7d761c183 in pthread_once () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:104
#9  0x00007fc7d7fcb6f4 in __backtrace (array=<value optimized out>, size=64) at
../sysdeps/x86_64/../ia64/backtrace.c:85
#10 0x00007fc7d7f3944f in __libc_message (do_abort=<value optimized out>,
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:168
#11 0x00007fc7d7f434b6 in malloc_printerr (action=3, str=0x7fc7d8013eab
"malloc(): memory corruption", ptr=<value optimized out>) at malloc.c:6283
#12 0x00007fc7d7f4755f in _int_malloc (av=0x7fc7d824ae40, bytes=100) at
malloc.c:4396
#13 0x00007fc7d7f4838e in __libc_malloc (bytes=100) at malloc.c:3660
#14 0x00007fc7d7fcae8b in __vasprintf_chk (result_ptr=0x7fc7c957d4b8,
flags=39684112, format=0x0, args=0x800) at vasprintf_chk.c:50
#15 0x00007fc7d6b8857b in g_vasprintf () from /lib/libglib-2.0.so.0
#16 0x00007fc7d6b670be in g_string_append_vprintf () from /lib/libglib-2.0.so.0
#17 0x00007fc7d6b671d8 in g_string_append_printf () from /lib/libglib-2.0.so.0
#18 0x00007fc7d6b4e96b in g_log_default_handler () from /lib/libglib-2.0.so.0
#19 0x00007fc7d6b4eb89 in g_logv () from /lib/libglib-2.0.so.0
#20 0x00007fc7d6b4efa3 in g_log () from /lib/libglib-2.0.so.0
#21 0x00007fc7d6b475e4 in g_main_context_check () from /lib/libglib-2.0.so.0
#22 0x00007fc7d6b48023 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007fc7d6b4845c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#24 0x00007fc7dba5b193 in QEventDispatcherGlib::processEvents (this=0x2442bd0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#25 0x00007fc7dba2da02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007fc7dba2ddec in QEventLoop::exec (this=0x7fc7c957ddd0, flags=) at
kernel/qeventloop.cpp:201
#27 0x00007fc7db9382fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#28 0x00007fc7da67a263 in KIMAP::SessionThread::run (this=0x237cdd0) at
../../kimap/sessionthread.cpp:166
#29 0x00007fc7db93b27e in QThreadPrivate::start (arg=0x237cdd0) at
thread/qthread_unix.cpp:266
#30 0x00007fc7d7616971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#31 0x00007fc7d7fb292d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#32 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc7dc5dd760 (LWP 10115)):
[KCrash Handler]
#6  _wordcopy_fwd_aligned (dstp=<value optimized out>, srcp=<value optimized
out>, len=2305843009213581552) at wordcopy.c:109
#7  0x00007fc7d7f51652 in memmove (dest=0x25b2760, src=<value optimized out>,
len=18446744073709551608) at memmove.c:73
#8  0x00007fc7db9599dd in QListData::remove (this=0x234e058, i=<value optimized
out>) at /usr/include/bits/string3.h:59
#9  0x00007fc7db959a1b in QListData::erase (this=0x268dfd0, xi=<value optimized
out>) at tools/qlist.cpp:412
#10 0x000000000045ef7f in erase (this=0x234e010, session=0x23fae50) at
/usr/include/qt4/QtCore/qlist.h:452
#11 removeFirst (this=0x234e010, session=0x23fae50) at
/usr/include/qt4/QtCore/qlist.h:273
#12 takeFirst (this=0x234e010, session=0x23fae50) at
/usr/include/qt4/QtCore/qlist.h:476
#13 SessionPool::declareSessionReady (this=0x234e010, session=0x23fae50) at
../../../resources/imap/sessionpool.cpp:207
#14 0x000000000045f828 in SessionPool::onNamespacesTestDone (this=0x234e010,
job=<value optimized out>) at ../../../resources/imap/sessionpool.cpp:435
#15 0x000000000046159f in SessionPool::qt_metacall (this=0x234e010,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd9e68310)
at ./sessionpool.moc:120
#16 0x00007fc7dba46b27 in QMetaObject::activate (sender=0x2628400, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3280
#17 0x00007fc7d88a5a82 in KJob::result (this=0x268dfd0, _t1=0x2628400) at
./kjob.moc:194
#18 0x00007fc7d88a5d20 in KJob::emitResult (this=0x2628400) at
../../kdecore/jobs/kjob.cpp:312
#19 0x00007fc7da662c40 in KIMAP::Job::handleErrorReplies (this=0x2628400,
response=<value optimized out>) at ../../kimap/job.cpp:86
#20 0x00007fc7da671b7c in KIMAP::NamespaceJob::handleResponse (this=0x268dfd0,
response=...) at ../../kimap/namespacejob.cpp:128
#21 0x00007fc7da678255 in KIMAP::SessionPrivate::responseReceived
(this=0x255b980, response=...) at ../../kimap/session.cpp:263
#22 0x00007fc7da678fe2 in KIMAP::Session::qt_metacall (this=0x23fae50,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x25dfb30) at
./session.moc:106
#23 0x00007fc7dba40bde in QObject::event (this=0x23fae50, e=0x268dfd0) at
kernel/qobject.cpp:1219
#24 0x00007fc7dad95fdc in QApplicationPrivate::notify_helper (this=0x2265270,
receiver=0x23fae50, e=0x2558da0) at kernel/qapplication.cpp:4396
#25 0x00007fc7dad9baed in QApplication::notify (this=0x7fffd9e69110,
receiver=0x23fae50, e=0x2558da0) at kernel/qapplication.cpp:4277
#26 0x00007fc7d8ec1a36 in KApplication::notify (this=0x7fffd9e69110,
receiver=0x23fae50, event=0x2558da0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fc7dba2ecdc in QCoreApplication::notifyInternal
(this=0x7fffd9e69110, receiver=0x23fae50, event=0x2558da0) at
kernel/qcoreapplication.cpp:732
#28 0x00007fc7dba31c22 in sendEvent (receiver=0x0, event_type=<value optimized
out>, data=0x224a350) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value
optimized out>, data=0x224a350) at kernel/qcoreapplication.cpp:1373
#30 0x00007fc7dba5b653 in sendPostedEvents (s=0x2268e40) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#31 postEventSourceDispatch (s=0x2268e40) at
kernel/qeventdispatcher_glib.cpp:277
#32 0x00007fc7d6b44342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007fc7d6b482a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007fc7d6b4845c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#35 0x00007fc7dba5b193 in QEventDispatcherGlib::processEvents (this=0x2249e60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007fc7dae48a4e in QGuiEventDispatcherGlib::processEvents
(this=0x268dfd0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fc7dba2da02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007fc7dba2ddec in QEventLoop::exec (this=0x7fffd9e690a0, flags=) at
kernel/qeventloop.cpp:201
#39 0x00007fc7dba31ebb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1009
#40 0x00007fc7dc1287b2 in Akonadi::ResourceBase::init (r=0x2394a10) at
../../akonadi/resourcebase.cpp:302
#41 0x0000000000420f78 in init<ImapResource> (argc=<value optimized out>,
argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:188
#42 main (argc=<value optimized out>, argv=<value optimized out>) at
../../../resources/imap/imapresource.cpp:597

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

Possible duplicates by query: bug 265173, bug 250163.

Reported using DrKonqi

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



More information about the Kdepim-bugs mailing list