[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-12-10 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

Christian Mollekopf  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kdep
   ||imlibs/d0cd431fbc433f9bdcd4
   ||64340027140a737647ca
  Latest Commit|http://commits.kde.org/kdep |http://commits.kde.org/kdep
   |imlibs/d0cd431fbc433f9bdcd4 |imlibs/05738951d9b1a78b9832
   |64340027140a737647ca|be5eda3c1b0fe99f12bd

--- Comment #9 from Christian Mollekopf  ---
Git commit d0cd431fbc433f9bdcd464340027140a737647ca by Christian Mollekopf.
Committed on 10/12/2013 at 09:09.
Pushed by cmollekopf into branch 'master'.

Made the socketTimer a bit simpler and more robust.

There is no need for the code to not be a little more forgiving, and we can
easily get into a situation
with the timer already running on startNext. e.g. due to socketActivity of due
to unhandled data (BYE).

This will hopefully fix the ASSERT people were running into.

M  +6-14   kimap/session.cpp

http://commits.kde.org/kdepimlibs/d0cd431fbc433f9bdcd464340027140a737647ca

--- Comment #10 from Christian Mollekopf  ---
Git commit 05738951d9b1a78b9832be5eda3c1b0fe99f12bd by Christian Mollekopf.
Committed on 10/12/2013 at 10:22.
Pushed by cmollekopf into branch 'master'.

Handle BYE.

M  +12   -0kimap/session.cpp

http://commits.kde.org/kdepimlibs/05738951d9b1a78b9832be5eda3c1b0fe99f12bd

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-12-10 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

Christian Mollekopf  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kdep
   ||imlibs/d0cd431fbc433f9bdcd4
   ||64340027140a737647ca
  Latest Commit|http://commits.kde.org/kdep |http://commits.kde.org/kdep
   |imlibs/d0cd431fbc433f9bdcd4 |imlibs/05738951d9b1a78b9832
   |64340027140a737647ca|be5eda3c1b0fe99f12bd

--- Comment #9 from Christian Mollekopf  ---
Git commit d0cd431fbc433f9bdcd464340027140a737647ca by Christian Mollekopf.
Committed on 10/12/2013 at 09:09.
Pushed by cmollekopf into branch 'master'.

Made the socketTimer a bit simpler and more robust.

There is no need for the code to not be a little more forgiving, and we can
easily get into a situation
with the timer already running on startNext. e.g. due to socketActivity of due
to unhandled data (BYE).

This will hopefully fix the ASSERT people were running into.

M  +6-14   kimap/session.cpp

http://commits.kde.org/kdepimlibs/d0cd431fbc433f9bdcd464340027140a737647ca

--- Comment #10 from Christian Mollekopf  ---
Git commit 05738951d9b1a78b9832be5eda3c1b0fe99f12bd by Christian Mollekopf.
Committed on 10/12/2013 at 10:22.
Pushed by cmollekopf into branch 'master'.

Handle BYE.

M  +12   -0kimap/session.cpp

http://commits.kde.org/kdepimlibs/05738951d9b1a78b9832be5eda3c1b0fe99f12bd

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-12-09 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

Christian Mollekopf  changed:

   What|Removed |Added

 CC||wh...@herr-der-mails.de

--- Comment #8 from Christian Mollekopf  ---
*** Bug 324432 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-11-28 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

Christian Mollekopf  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-11-15 Thread Kevin Ottens
https://bugs.kde.org/show_bug.cgi?id=310887

Kevin Ottens  changed:

   What|Removed |Added

   Assignee|er...@kde.org   |chrig...@fastmail.fm

--- Comment #7 from Kevin Ottens  ---
The IMAP resource has a new maintainer, reassigning to him.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-07-11 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

Christian Mollekopf  changed:

   What|Removed |Added

 CC||mollek...@kolabsys.com

--- Comment #6 from Christian Mollekopf  ---
(In reply to comment #5)

Missed parts of the output, here are the remaining lines.

> From the console:
A message was received from the server with no job to handle it: "* BYE idle
for too long " "(2a204259452069646c6520666f7220746f6f206c6f6e6720)" 
A message was received from the server with no job to handle it: "* BYE idle
for too long " "(2a204259452069646c6520666f7220746f6f206c6f6e6720)" 
A message was received from the server with no job to handle it: "* BYE idle
for too long " "(2a204259452069646c6520666f7220746f6f206c6f6e6720)" 
> akonadi_imap_resource_7(20686)/kdepimlibs (kimap)
> ImapIdleManager::onIdleStopped: IDLE dropped maybe we should reconnect?
> akonadi_imap_resource_7(20686) ImapIdleManager::reconnect: attempting to
> reconnect IDLE session
> ASSERT: "!socketTimer.isActive()" in file
> /home/chrigi/devel/kde/kdepimlibs/kimap/session.cpp, line 463
> KCrash: Application 'akonadi_imap_resource' crashing...
> KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
> sock_file=/home/devel/.kde4src/socket-localhost.localdomain/kdeinit4__0
> Lost connection to resource
> "org.freedesktop.Akonadi.Resource.akonadi_imap_resource_7" , discarding
> cached interface 
> kwalletd(5507)/kdeui (Wallet) KWalletD::slotServiceOwnerChanged:
> slotServiceOwnerChanged  ":1.257" ,  ":1.257" ,  ""
> void Akonadi::NotificationSource::serviceUnregistered(const QString&)
> Notification source "akonadi_imap_resource_7" now serving: () 
> void Akonadi::NotificationSource::unsubscribe() "akonadi_imap_resource_7" 
> akonadi_imap_resource_9(20929)/kdepimlibs (kimap)
> ImapIdleManager::onIdleStopped: IDLE dropped maybe we should reconnect?
> akonadi_imap_resource_9(20929) ImapIdleManager::reconnect: attempting to
> reconnect IDLE session
> ASSERT: "!socketTimer.isActive()" in file
> /home/chrigi/devel/kde/kdepimlibs/kimap/session.cpp, line 463
> KCrash: Application 'akonadi_imap_resource' crashing...
> KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
> sock_file=/home/devel/.kde4src/socket-localhost.localdomain/kdeinit4__0
> Lost connection to resource
> "org.freedesktop.Akonadi.Resource.akonadi_imap_resource_9" , discarding
> cached interface

Looks indeed like BYE is not handled appropriately.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-07-11 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

--- Comment #5 from Christian Mollekopf  ---
Created attachment 81054
  --> https://bugs.kde.org/attachment.cgi?id=81054&action=edit
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.4 using Qt 4.8.4

- What I was doing when the application crashed:
resumed from sleep.

Current 4.10 branch compiled from sources (4.10.5
bd7f89d403d77a5cbd14c5ba7e6021c380212ccb)

>From the console:
akonadi_imap_resource_7(20686)/kdepimlibs (kimap)
ImapIdleManager::onIdleStopped: IDLE dropped maybe we should reconnect?
akonadi_imap_resource_7(20686) ImapIdleManager::reconnect: attempting to
reconnect IDLE session
ASSERT: "!socketTimer.isActive()" in file
/home/chrigi/devel/kde/kdepimlibs/kimap/session.cpp, line 463
KCrash: Application 'akonadi_imap_resource' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/devel/.kde4src/socket-localhost.localdomain/kdeinit4__0
Lost connection to resource
"org.freedesktop.Akonadi.Resource.akonadi_imap_resource_7" , discarding cached
interface 
kwalletd(5507)/kdeui (Wallet) KWalletD::slotServiceOwnerChanged:
slotServiceOwnerChanged  ":1.257" ,  ":1.257" ,  ""
void Akonadi::NotificationSource::serviceUnregistered(const QString&)
Notification source "akonadi_imap_resource_7" now serving: () 
void Akonadi::NotificationSource::unsubscribe() "akonadi_imap_resource_7" 
akonadi_imap_resource_9(20929)/kdepimlibs (kimap)
ImapIdleManager::onIdleStopped: IDLE dropped maybe we should reconnect?
akonadi_imap_resource_9(20929) ImapIdleManager::reconnect: attempting to
reconnect IDLE session
ASSERT: "!socketTimer.isActive()" in file
/home/chrigi/devel/kde/kdepimlibs/kimap/session.cpp, line 463
KCrash: Application 'akonadi_imap_resource' crashing...
KCrash: Attempting to start /usr/libexec/kde4/drkonqi from kdeinit
sock_file=/home/devel/.kde4src/socket-localhost.localdomain/kdeinit4__0
Lost connection to resource
"org.freedesktop.Akonadi.Resource.akonadi_imap_resource_9" , discarding cached
interface

-- Backtrace (Reduced):
#6  0x003a51e35ba5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:63
#7  0x003a51e37358 in __GI_abort () at abort.c:90
[...]
#11 0x7ff6be75cca9 in KIMAP::SessionPrivate::startSocketTimer
(this=0xfc7e10) at /home/chrigi/devel/kde/kdepimlibs/kimap/session.cpp:463
#12 0x7ff6be75b60f in KIMAP::SessionPrivate::doStartNext (this=0xfc7e10) at
/home/chrigi/devel/kde/kdepimlibs/kimap/session.cpp:166
#13 0x7ff6be75cfdd in KIMAP::Session::qt_static_metacall (_o=0xfc6240,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xfcea40) at
/home/chrigi/devel/kde/build/kolab410/kdepimlibs/kimap/moc_session.cpp:87

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-07-11 Thread Christian Mollekopf
https://bugs.kde.org/show_bug.cgi?id=310887

Christian Mollekopf  changed:

   What|Removed |Added

 CC||chrig...@fastmail.fm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 310887] Imap resource crashes randomly.

2013-02-27 Thread Dan Vrátil
https://bugs.kde.org/show_bug.cgi?id=310887

Dan Vrátil  changed:

   What|Removed |Added

 CC||dvra...@redhat.com
Version|4.9 |git

--- Comment #4 from Dan Vrátil  ---
I'm able to reproduce this with our corporate Zimbra server and I guess I found
the problem :-)

KIMAP session does not handle "BYE" command when the server disconnects us,
because this appears in console:

A message was received from the server with no job to handle it: "* BYE
X.Y.Z.redhat.com Zimbra IMAP4rev1 server closing connection "
"(2a20425945207a6d61696c31342e636f6c6c61622e70726f642e696e742e706878322e7265646861742e636f6d205a696d62726120494d415034726576312073657276657220636c6f73696e6720636f6e6e656374696f6e20)"
 

When email check is triggered after this, the  Q_ASSERT(
!socketTimer.isActive() ) occurs

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs