[Akonadi] [Bug 331698] New: IMAP resource crashes after configuring imap folders

2014-03-03 Thread Thiago Moreira
https://bugs.kde.org/show_bug.cgi?id=331698

Bug ID: 331698
   Summary: IMAP resource crashes after configuring imap folders
Classification: Unclassified
   Product: Akonadi
   Version: unspecified
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: IMAP resource
  Assignee: chrig...@fastmail.fm
  Reporter: thiagomore...@gmail.com
CC: kdepim-bugs@kde.org, vkra...@kde.org

Application: akonadi_imap_resource (4.11)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-17-generic i686
Distribution: Ubuntu 13.10

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

I restart the system after noticing IMAP wasn't working while I was configuring
imap folders (subscriptions, aggregation types, deleting some messages). I also
included gmail contacts before this problem arouse.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Yandex of type IMAP E-Mail Server (akonadi_imap_resource), signal:
Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb49ca740 (LWP 10062))]

Thread 2 (Thread 0xb2079b40 (LWP 10143)):
#0  0xb76e4424 in __kernel_vsyscall ()
#1  0xb5713a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb5450a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5441b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5441ca8 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb72a98df in QEventDispatcherGlib::processEvents (this=0xb1700468,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb72789f3 in QEventLoop::processEvents (this=this@entry=0xb2079258,
flags=...) at kernel/qeventloop.cpp:149
#7  0xb7278d19 in QEventLoop::exec (this=this@entry=0xb2079258, flags=...) at
kernel/qeventloop.cpp:204
#8  0xb7167e3d in QThread::exec (this=this@entry=0x84e12b8) at
thread/qthread.cpp:542
#9  0xb7167f8b in QThread::run (this=0x84e12b8) at thread/qthread.cpp:609
#10 0xb716a72f in QThreadPrivate::start (arg=0x84e12b8) at
thread/qthread_unix.cpp:338
#11 0xb5570d78 in start_thread (arg=0xb2079b40) at pthread_create.c:311
#12 0xb572301e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb49ca740 (LWP 10062)):
[KCrash Handler]
#7  0x080891ee in MoveItemsTask::recordNewUid (this=this@entry=0x849e8d8) at
../../../resources/imap/moveitemstask.cpp:289
#8  0x08089810 in MoveItemsTask::onSearchDone (this=0x849e8d8, job=0x84dec70)
at ../../../resources/imap/moveitemstask.cpp:241
#9  0xb728efc7 in QMetaObject::activate (sender=sender@entry=0x84dec70,
m=m@entry=0xb5b974cc ,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfde28b8) at
kernel/qobject.cpp:3539
#10 0xb59f20f5 in KJob::result (this=this@entry=0x84dec70,
_t1=_t1@entry=0x84dec70) at ./kjob.moc:208
#11 0xb59f2142 in KJob::emitResult (this=0x84dec70) at
../../kdecore/jobs/kjob.cpp:318
#12 0xb64b5e4e in KIMAP::Job::handleErrorReplies (this=this@entry=0x84dec70,
response=...) at ../../kimap/job.cpp:84
#13 0xb64db489 in KIMAP::SearchJob::handleResponse (this=0x84dec70,
response=...) at ../../kimap/searchjob.cpp:161
#14 0xb64ced46 in KIMAP::SessionPrivate::responseReceived (this=0x84e10d0,
response=...) at ../../kimap/session.cpp:285
#15 0xb64d17bb in KIMAP::SessionPrivate::qt_static_metacall (_o=0x19, _id=0,
_a=0xb170ae38, _c=) at ./moc_session_p.cpp:77
#16 0xb728b77a in QMetaCallEvent::placeMetaCall (this=0xb1709578,
object=0x84e10d0) at kernel/qobject.cpp:524
#17 0xb729358b in QObject::event (this=0x84e10d0, e=0xb1709578) at
kernel/qobject.cpp:1194
#18 0xb678b744 in QApplicationPrivate::notify_helper (this=0x835b6c8,
receiver=0x84e10d0, e=0xb1709578) at kernel/qapplication.cpp:4567
#19 0xb6792223 in QApplication::notify (this=0xbfde3104,
receiver=receiver@entry=0x84e10d0, e=e@entry=0xb1709578) at
kernel/qapplication.cpp:4353
#20 0xb5d73ff4 in KApplication::notify (this=0xbfde3104, receiver=0x84e10d0,
event=0xb1709578) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb7279eda in QCoreApplication::notifyInternal (this=0xbfde3104,
receiver=receiver@entry=0x84e10d0, event=event@entry=0xb1709578) at
kernel/qcoreapplication.cpp:946
#22 0xb727d6ad in sendEvent (event=0xb1709578, receiver=0x84e10d0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x8332f48) at
kernel/qcoreapplication.cpp:1570
#24 0xb727dbbc in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1463
#25 0xb72a9f6e in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=0x834ea08) at
ker

[kontact] [Bug 330850] New: Kontact crashes when updating Kolab contacts

2014-02-06 Thread Thiago Moreira
https://bugs.kde.org/show_bug.cgi?id=330850

Bug ID: 330850
   Summary: Kontact crashes when updating Kolab contacts
Classification: Unclassified
   Product: kontact
   Version: 4.11.5
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: thiagomore...@gmail.com

Application: kontact (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Kontact was updating IMAP with a list of contacts I imported locally to the
address book. 

- Custom settings of the application:
Kolab extension installed

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb166c740 (LWP 23039))]

Thread 7 (Thread 0xaef24b40 (LWP 23040)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb31a984b in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb606e9bc in __pthread_cond_wait (cond=0xb57fbd90, mutex=0xb57fbd78) at
forward.c:149
#3  0xb4f81a7c in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4f81acf in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb31a5d78 in start_thread (arg=0xaef24b40) at pthread_create.c:311
#6  0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 6 (Thread 0xae5fbb40 (LWP 23041)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb31a984b in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb606e9bc in __pthread_cond_wait (cond=0xae6697dc, mutex=0xae6697c4) at
forward.c:149
#3  0xb4fb0ae3 in WTF::ThreadCondition::wait(WTF::Mutex&) () from
/usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb4c8c744 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb4f97866 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb4fb0459 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb31a5d78 in start_thread (arg=0xae5fbb40) at pthread_create.c:311
#8  0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 5 (Thread 0xaba48b40 (LWP 23045)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb6051a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb30d6a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30c7b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30c7ca8 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb63b28df in QEventDispatcherGlib::processEvents (this=0xab100468,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb63819f3 in QEventLoop::processEvents (this=this@entry=0xaba48228,
flags=...) at kernel/qeventloop.cpp:149
#7  0xb6381d19 in QEventLoop::exec (this=this@entry=0xaba48228, flags=...) at
kernel/qeventloop.cpp:204
#8  0xb6270e3d in QThread::exec (this=this@entry=0x965e460) at
thread/qthread.cpp:542
#9  0xb6361e14 in QInotifyFileSystemWatcherEngine::run (this=0x965e460) at
io/qfilesystemwatcher_inotify.cpp:265
#10 0xb627372f in QThreadPrivate::start (arg=0x965e460) at
thread/qthread_unix.cpp:338
#11 0xb31a5d78 in start_thread (arg=0xaba48b40) at pthread_create.c:311
#12 0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xab05cb40 (LWP 23047)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb6051a0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb30d6a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb30c7b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb30c7ca8 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb63b28df in QEventDispatcherGlib::processEvents (this=0xaa700468,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb63819f3 in QEventLoop::processEvents (this=this@entry=0xab05c258,
flags=...) at kernel/qeventloop.cpp:149
#7  0xb6381d19 in QEventLoop::exec (this=this@entry=0xab05c258, flags=...) at
kernel/qeventloop.cpp:204
#8  0xb6270e3d in QThread::exec (this=this@entry=0x94f0338) at
thread/qthread.cpp:542
#9  0xb6270f8b in QThread::run (this=0x94f0338) at thread/qthread.cpp:609
#10 0xb627372f in QThreadPrivate::start (arg=0x94f0338) at
thread/qthread_unix.cpp:338
#11 0xb31a5d78 in start_thread (arg=0xab05cb40) at pthread_create.c:311
#12 0xb606101e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xa86b2b40 (LWP 23064)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb31a984b in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb606e9bc in __pthread_cond_wait (cond=0xac07

[Akonadi] [Bug 328043] New: imap update problem

2013-11-24 Thread Thiago Moreira
https://bugs.kde.org/show_bug.cgi?id=328043

Bug ID: 328043
   Summary: imap update problem
Classification: Unclassified
   Product: Akonadi
   Version: 4.11
  Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: IMAP resource
  Assignee: chrig...@fastmail.fm
  Reporter: thiagomore...@gmail.com
CC: kdepim-bugs@kde.org, vkra...@kde.org

Application: akonadi_imap_resource (4.11)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-13-generic i686
Distribution: Ubuntu 13.10

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

I was using normally the desktop. Since I restart last time, it keeps bring
this error message about imap update error. Kontact was open. But even after I
close Kontact, it keeps showing this error. 

- Unusual behavior I noticed:

Nothing different about my imap conf or service availability. webmail just
working as usual.

The crash can be reproduced every time.

-- Backtrace:
Application: Yandex Mail do tipo Servidor de e-mails IMAP
(akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb49f0740 (LWP 4620))]

Thread 2 (Thread 0xb20c3b40 (LWP 4625)):
#0  0xb7703424 in __kernel_vsyscall ()
#1  0xb57594d2 in clock_gettime (clock_id=1, tp=0xb20c2ff8) at
../sysdeps/unix/clock_gettime.c:115
#2  0xb71e63ec in do_gettime (frac=0xb20c2ff0, sec=0xb20c2fe8) at
tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb72cbfd2 in updateCurrentTime (this=0xb1702074) at
kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xb1702074, tm=...) at
kernel/qeventdispatcher_unix.cpp:461
#6  0xb72ca67b in timerSourcePrepareHelper (src=,
timeout=0xb20c30ec) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb72ca70d in timerSourcePrepare (source=0xb1702040, timeout=0xb20c30ec) at
kernel/qeventdispatcher_glib.cpp:169
#8  0xb5466143 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5466a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5466ca8 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb72ca8df in QEventDispatcherGlib::processEvents (this=0xb1700468,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb72999f3 in QEventLoop::processEvents (this=this@entry=0xb20c3258,
flags=...) at kernel/qeventloop.cpp:149
#13 0xb7299d19 in QEventLoop::exec (this=this@entry=0xb20c3258, flags=...) at
kernel/qeventloop.cpp:204
#14 0xb7188e3d in QThread::exec (this=this@entry=0x8e80790) at
thread/qthread.cpp:542
#15 0xb7188f8b in QThread::run (this=0x8e80790) at thread/qthread.cpp:609
#16 0xb718b72f in QThreadPrivate::start (arg=0x8e80790) at
thread/qthread_unix.cpp:338
#17 0xb5595d78 in start_thread (arg=0xb20c3b40) at pthread_create.c:311
#18 0xb574601e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb49f0740 (LWP 4620)):
[KCrash Handler]
#7  0x08088eae in MoveItemsTask::recordNewUid (this=this@entry=0x8f0dff0) at
../../../resources/imap/moveitemstask.cpp:289
#8  0x080894d0 in MoveItemsTask::onSearchDone (this=0x8f0dff0, job=0x8cd6a90)
at ../../../resources/imap/moveitemstask.cpp:241
#9  0xb72affc7 in QMetaObject::activate (sender=sender@entry=0x8cd6a90,
m=m@entry=0xb5bb94cc ,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfdc4448) at
kernel/qobject.cpp:3539
#10 0xb5a14a25 in KJob::result (this=this@entry=0x8cd6a90,
_t1=_t1@entry=0x8cd6a90) at ./kjob.moc:208
#11 0xb5a14a72 in KJob::emitResult (this=0x8cd6a90) at
../../kdecore/jobs/kjob.cpp:318
#12 0xb64d6e4e in KIMAP::Job::handleErrorReplies (this=this@entry=0x8cd6a90,
response=...) at ../../kimap/job.cpp:84
#13 0xb64fc4a9 in KIMAP::SearchJob::handleResponse (this=0x8cd6a90,
response=...) at ../../kimap/searchjob.cpp:161
#14 0xb64efd46 in KIMAP::SessionPrivate::responseReceived (this=0x8e805a8,
response=...) at ../../kimap/session.cpp:285
#15 0xb64f27bb in KIMAP::SessionPrivate::qt_static_metacall (_o=0x19, _id=0,
_a=0xb1702ce0, _c=) at ./moc_session_p.cpp:77
#16 0xb72ac77a in QMetaCallEvent::placeMetaCall (this=0xb1702c80,
object=0x8e805a8) at kernel/qobject.cpp:524
#17 0xb72b458b in QObject::event (this=0x8e805a8, e=0xb1702c80) at
kernel/qobject.cpp:1194
#18 0xb67ac744 in QApplicationPrivate::notify_helper (this=0x8cd9ef0,
receiver=0x8e805a8, e=0xb1702c80) at kernel/qapplication.cpp:4567
#19 0xb67b3223 in QApplication::notify (this=0xbfdc4c94,
receiver=receiver@entry=0x8e805a8, e=e@entry=0xb1702c80) at
kernel/qapplication.cpp:4353
#20 0xb5d95ff4 in KApplication::notify (this=0xbfdc4c94, receiver=0x8e805a8,
event=0xb1702c80) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb729aeda in QCoreApplication::notifyInternal (this=0xbfdc4c94,
receiv