Bug 269236 - akonadi_imap_resource segfaults at kdepimlibs-4.6.1/kimap/job.cpp:56
Summary: akonadi_imap_resource segfaults at kdepimlibs-4.6.1/kimap/job.cpp:56
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 1.5.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 288254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-23 16:34 UTC by Rex Dieter
Modified: 2011-12-12 14:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rex Dieter 2011-03-23 16:34:47 UTC
Version:           1.5.0 (using KDE 4.6.1) 
OS:                Linux

Using akonadi-1.5.1 + kdepim-4.4.10 + kde-4.6.1 platform on fedora 15, user experiencing frequent (once every few minutes) akonadi crashes every few minutes.

May or may not be relevant, kerberos authentication is being used.

Reproducible: Always




Backtrace,

Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f03e6786860 (LWP 15649))]

Thread 4 (Thread 0x7f03e0449700 (LWP 15650)):
#0  0x0000003cea4d7123 in __poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00000036ae0430a4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00000036ae04398d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00000036b18b46a4 in ?? () from /lib64/libgio-2.0.so.0
#4  0x00000036ae0686d4 in ?? () from /lib64/libglib-2.0.so.0
#5  0x0000003ceac07d0b in start_thread (arg=0x7f03e0449700) at pthread_create.c:301
#6  0x0000003cea4df9ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f03d426b700 (LWP 15736)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f03d426aa10 in ?? ()
#2  0x00007fff7c9b56e2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f03d3a6a700 (LWP 15737)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x0000003f074744de in wait (time=30000, this=0x7f03cc014650) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f03cc015900, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003f07468f1f in QThreadPoolThread::run (this=0x7f03cc015560) at concurrent/qthreadpool.cpp:140
#4  0x0000003f074740d5 in QThreadPrivate::start (arg=0x7f03cc015560) at thread/qthread_unix.cpp:320
#5  0x0000003ceac07d0b in start_thread (arg=0x7f03d3a6a700) at pthread_create.c:301
#6  0x0000003cea4df9ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f03e6786860 (LWP 15649)):
[KCrash Handler]
#6  KIMAP::Job::start (this=0x26e3010) at /usr/src/debug/kdepimlibs-4.6.1/kimap/job.cpp:56
#7  0x000000000042d142 in ImapResource::onHeadersFetchDone (this=0x262d9d0, job=<optimized out>) at /usr/src/debug/kdepim-runtime-4.4.10/resources/imap/imapresource.cpp:896
#8  0x000000000042d3e9 in ImapResource::qt_metacall (this=0x262d9d0, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff7c861430) at /usr/src/debug/kdepim-runtime-4.4.10/x86_64-redhat-linux-gnu/resources/imap/imapresource.moc:178
#9  0x0000003f0756daca in QMetaObject::activate (sender=0x275c490, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff7c861430) at kernel/qobject.cpp:3278
#10 0x0000003f09339512 in KJob::result (this=<optimized out>, _t1=0x275c490) at /usr/src/debug/kdelibs-4.6.1/x86_64-redhat-linux-gnu/kdecore/kjob.moc:194
#11 0x0000003f09339550 in KJob::emitResult (this=0x275c490) at /usr/src/debug/kdelibs-4.6.1/kdecore/jobs/kjob.cpp:312
#12 0x0000003f1a42260c in KIMAP::Job::handleErrorReplies (this=0x275c490, response=...) at /usr/src/debug/kdepimlibs-4.6.1/kimap/job.cpp:86
#13 0x0000003f1a427294 in KIMAP::FetchJob::handleResponse (this=0x275c490, response=...) at /usr/src/debug/kdepimlibs-4.6.1/kimap/fetchjob.cpp:226
#14 0x0000003f1a438627 in KIMAP::SessionPrivate::responseReceived (this=0x26e3f10, response=...) at /usr/src/debug/kdepimlibs-4.6.1/kimap/session.cpp:263
#15 0x0000003f1a439702 in KIMAP::Session::qt_metacall (this=0x26bc640, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7f03cc1eb2a0) at /usr/src/debug/kdepimlibs-4.6.1/x86_64-redhat-linux-gnu/kimap/session.moc:106
#16 0x0000003f0757165a in QObject::event (this=0x26bc640, e=<optimized out>) at kernel/qobject.cpp:1217
#17 0x0000003f09db76c4 in notify_helper (e=0x7f03cc1b3c30, receiver=0x26bc640, this=0x2445520) at kernel/qapplication.cpp:4462
#18 QApplicationPrivate::notify_helper (this=0x2445520, receiver=0x26bc640, e=0x7f03cc1b3c30) at kernel/qapplication.cpp:4434
#19 0x0000003f09dbc551 in QApplication::notify (this=0x7fff7c862390, receiver=0x26bc640, e=0x7f03cc1b3c30) at kernel/qapplication.cpp:4341
#20 0x0000003f0b840e66 in KApplication::notify (this=0x7fff7c862390, receiver=0x26bc640, event=0x7f03cc1b3c30) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#21 0x0000003f0755ad2c in QCoreApplication::notifyInternal (this=0x7fff7c862390, receiver=0x26bc640, event=0x7f03cc1b3c30) at kernel/qcoreapplication.cpp:731
#22 0x0000003f0755e094 in sendEvent (event=0x7f03cc1b3c30, receiver=0x26bc640) at kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x241c5b0) at kernel/qcoreapplication.cpp:1372
#24 0x0000003f07585663 in sendPostedEvents () at kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00000036ae042b6d in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#27 0x00000036ae043348 in ?? () from /lib64/libglib-2.0.so.0
#28 0x00000036ae0435dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x0000003f07585abf in QEventDispatcherGlib::processEvents (this=0x241dca0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x0000003f09e5a2ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#31 0x0000003f07559f32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x0000003f0755a12f in QEventLoop::exec (this=0x7fff7c862320, flags=...) at kernel/qeventloop.cpp:201
#33 0x0000003f0755e327 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#34 0x0000003f12d500b2 in Akonadi::ResourceBase::init (r=0x262d9d0) at /usr/src/debug/kdepimlibs-4.6.1/akonadi/resourcebase.cpp:302
#35 0x000000000042fa66 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#36 0x0000003cea42131d in __libc_start_main (main=0x411090 <main(int, char**)>, argc=3, ubp_av=0x7fff7c8624a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7c862498) at libc-start.c:226
#37 0x0000000000411125 in _start ()
Comment 1 Dennis Gilmore 2011-03-23 17:07:40 UTC
it shouldn't matter but i'm running kmail in a xfce session
Comment 2 Kevin Ottens 2011-09-17 17:04:00 UTC
Since 4.4 the code of the resource basically got an overall, none of the backtrace still applies. Although this kind of case is likely fixed by the refactoring which happened.
Comment 3 Myriam Schweingruber 2011-12-12 08:05:52 UTC
*** Bug 288254 has been marked as a duplicate of this bug. ***
Comment 4 Dennis Gilmore 2011-12-12 14:13:08 UTC
the refactoring and changes in 4.4 have caused kmail to be completely unusable  i have over 12gb of imap email. as a result ive had to switch clients.