[Bug 290527] New: KMail IMAP resources crash during unstable internet connections

Kai Krakow kai at kaishome.de
Tue Jan 3 20:29:33 GMT 2012


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

           Summary: KMail IMAP resources crash during unstable internet
                    connections
           Product: Akonadi
           Version: 4.7
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: IMAP resource
        AssignedTo: ervin at kde.org
        ReportedBy: kai at kaishome.de
                CC: vkrause at kde.org, kdepim-bugs at kde.org


Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-rc7 x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
- Unusual behavior I noticed:

My internet connection was unstable and I had frequent disconnects. KMail's
IMAP resource often crashes during such situations.

The crash can be reproduced some of the time.

-- Backtrace:
Application: IMAP postmaster at kaishome.de of type IMAP E-Mail Server
(akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f121c530780 (LWP 9659))]

Thread 3 (Thread 0x7f1202c27700 (LWP 11443)):
#0  0x00007f121c384230 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#1  0x00007f121c37f916 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#2  0x00007f121c38473a in _dl_open () from /lib64/ld-linux-x86-64.so.2
#3  0x00007f1217f6a710 in do_dlopen () from /lib64/libc.so.6
#4  0x00007f121c37f916 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5  0x00007f1217f6a7ca in __libc_dlopen_mode () from /lib64/libc.so.6
#6  0x00007f1217f42585 in init () from /lib64/libc.so.6
#7  0x00007f12177d72b3 in pthread_once () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:104
#8  0x00007f1217f4267c in backtrace () from /lib64/libc.so.6
#9  0x00007f1217eb78a7 in __libc_message () from /lib64/libc.so.6
#10 0x00007f1217ebd176 in malloc_printerr () from /lib64/libc.so.6
#11 0x00007f1217ec192b in _int_realloc () from /lib64/libc.so.6
#12 0x00007f1217ec30b9 in realloc () from /lib64/libc.so.6
#13 0x00007f121c382e85 in _dl_update_slotinfo () from
/lib64/ld-linux-x86-64.so.2
#14 0x00007f121c3830bd in __tls_get_addr () from /lib64/ld-linux-x86-64.so.2
#15 0x00007f12184bd60c in __cxxabiv1::__cxa_get_globals () at
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_globals.cc:63
#16 0x00007f12184bd4d9 in std::uncaught_exception () at
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_catch.cc:136
#17 0x00007f121b894b00 in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=QtWarningMsg, msg=0x7f121ba44750
"QSocketNotifier: Invalid socket %d and type '%s', disabling...",
ap=0x7f1202c26b50) at global/qglobal.cpp:2320
#18 0x00007f121b8953c9 in qWarning (msg=<optimized out>) at
global/qglobal.cpp:2419
#19 0x00007f121b9b147b in socketNotifierSourceCheck (source=0x7f12041ee980) at
kernel/qeventdispatcher_glib.cpp:90
#20 0x00007f1216c5bf3f in g_main_context_check (context=0x7f120422d560,
max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at
gmain.c:2959
#21 0x00007f1216c5c7d2 in g_main_context_iterate (context=0x7f120422d560,
block=1, dispatch=1, self=<optimized out>) at gmain.c:3086
#22 0x00007f1216c5cc81 in g_main_context_iteration (context=0x7f120422d560,
may_block=1) at gmain.c:3152
#23 0x00007f121b9b1a1f in QEventDispatcherGlib::processEvents
(this=0x7f1204233100, flags=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:422
#24 0x00007f121b985d52 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f121b985f9c in QEventLoop::exec (this=0x7f1202c26de0, flags=...) at
kernel/qeventloop.cpp:201
#26 0x00007f121b89b794 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#27 0x00007f121a5f9463 in KIMAP::SessionThread::run (this=0x27f49b0) at
/var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/kimap/sessionthread.cpp:169
#28 0x00007f121b89dff5 in QThreadPrivate::start (arg=0x27f49b0) at
thread/qthread_unix.cpp:331
#29 0x00007f12177d0d2c in start_thread () from /lib64/libpthread.so.0
#30 0x00007f1217f2c77d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f1209700700 (LWP 14034)):
#0  0x00007f1217f22093 in poll () from /lib64/libc.so.6
#1  0x00007f1216c5c7b3 in g_main_context_poll (n_fds=1, fds=0x7f11fc002300,
timeout=-1, context=0x27dcd80, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x27dcd80, block=1, dispatch=1,
self=<optimized out>) at gmain.c:3084
#3  0x00007f1216c5cc81 in g_main_context_iteration (context=0x27dcd80,
may_block=1) at gmain.c:3152
#4  0x00007f121b9b1a76 in QEventDispatcherGlib::processEvents (this=0x27de090,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f121b985d52 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f121b985f9c in QEventLoop::exec (this=0x7f12096ffde0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f121b89b794 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#8  0x00007f121a5f9463 in KIMAP::SessionThread::run (this=0x27e8890) at
/var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/kimap/sessionthread.cpp:169
#9  0x00007f121b89dff5 in QThreadPrivate::start (arg=0x27e8890) at
thread/qthread_unix.cpp:331
#10 0x00007f12177d0d2c in start_thread () from /lib64/libpthread.so.0
#11 0x00007f1217f2c77d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f121c530780 (LWP 9659)):
[KCrash Handler]
#6  __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2826
#7  0x00007f121b8bc16d in QListData::remove (this=0x27b6b48, i=<optimized out>)
at /usr/include/bits/string3.h:58
#8  0x00007f121b8bc43b in QListData::erase (this=0x27b6b48, xi=<optimized out>)
at tools/qlist.cpp:412
#9  0x0000000000454d11 in erase (it=<optimized out>, this=<optimized out>) at
/usr/include/qt4/QtCore/qlist.h:453
#10 removeFirst (this=0x27b6b48) at /usr/include/qt4/QtCore/qlist.h:273
#11 takeFirst (this=0x27b6b48) at /usr/include/qt4/QtCore/qlist.h:477
#12 SessionPool::declareSessionReady (this=0x27b6b00, session=0x279a9b0) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3/resources/imap/sessionpool.cpp:207
#13 0x0000000000456763 in SessionPool::onLoginDone (this=0x27b6b00,
job=0x27aead0) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3/resources/imap/sessionpool.cpp:348
#14 0x0000000000456a5f in SessionPool::qt_metacall (this=0x27b6b00,
_c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff7bbe3ae0) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3_build/resources/imap/sessionpool.moc:118
#15 0x00007f121b99b21f in QMetaObject::activate (sender=0x27aead0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff7bbe3ae0) at
kernel/qobject.cpp:3278
#16 0x00007f121884d402 in KJob::result (this=<optimized out>, _t1=0x27aead0) at
/var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3_build/kdecore/kjob.moc:194
#17 0x00007f121884d440 in KJob::emitResult (this=0x27aead0) at
/var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdecore/jobs/kjob.cpp:312
#18 0x00007f121a5f8345 in KIMAP::SessionPrivate::clearJobQueue (this=0x27b57e0)
at
/var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/kimap/session.cpp:393
#19 0x00007f121a5f858d in KIMAP::Session::qt_metacall (this=0x279a9b0,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7f11fc003cf0) at
/var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3_build/kimap/session.moc:116
#20 0x00007f121b99ad2a in QObject::event (this=0x279a9b0, e=<optimized out>) at
kernel/qobject.cpp:1217
#21 0x00007f121ad30eb4 in QApplicationPrivate::notify_helper (this=0x25c3230,
receiver=0x279a9b0, e=0x7f11fc0040f0) at kernel/qapplication.cpp:4481
#22 0x00007f121ad35a68 in QApplication::notify (this=<optimized out>,
receiver=0x279a9b0, e=0x7f11fc0040f0) at kernel/qapplication.cpp:4360
#23 0x00007f1218e4aa86 in KApplication::notify (this=0x7fff7bbe45f0,
receiver=0x279a9b0, event=0x7f11fc0040f0) at
/var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#24 0x00007f121b9869bc in QCoreApplication::notifyInternal
(this=0x7fff7bbe45f0, receiver=0x279a9b0, event=0x7f11fc0040f0) at
kernel/qcoreapplication.cpp:787
#25 0x00007f121b98a17d in sendEvent (event=0x7f11fc0040f0, receiver=0x279a9b0)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x25a0df0) at kernel/qcoreapplication.cpp:1428
#27 0x00007f121b9b1883 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f1216c5c29f in g_main_dispatch (context=0x25c5860) at gmain.c:2441
#30 g_main_context_dispatch (context=0x25c5860) at gmain.c:3011
#31 0x00007f1216c5caa8 in g_main_context_iterate (context=0x25c5860, block=1,
dispatch=1, self=<optimized out>) at gmain.c:3089
#32 0x00007f1216c5cc81 in g_main_context_iteration (context=0x25c5860,
may_block=1) at gmain.c:3152
#33 0x00007f121b9b1a1f in QEventDispatcherGlib::processEvents (this=0x25a05d0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f121add73ae in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f121b985d52 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f121b985f9c in QEventLoop::exec (this=0x7fff7bbe4560, flags=...) at
kernel/qeventloop.cpp:201
#37 0x00007f121b98a42b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#38 0x00007f121c080f06 in Akonadi::ResourceBase::init (r=0x2786310) at
/var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/akonadi/resourcebase.cpp:393
#39 0x0000000000419c88 in init<ImapResource> (argv=<optimized out>,
argc=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#40 main (argc=<optimized out>, argv=<optimized out>) at
/var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3/resources/imap/imapresource.cpp:598

Possible duplicates by query: bug 287800, bug 287077, bug 283764, bug 282598,
bug 282076.

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