[Akonadi] [Bug 344970] Crash because uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp, line 101

2017-01-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=344970

Daniel Vrátil  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Daniel Vrátil  ---
The code has changed substantially in KF5 and this should no longer happen.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Akonadi] [Bug 344970] Crash because uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp, line 101

2016-05-27 Thread RJVB via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344970

--- Comment #4 from RJVB  ---
Looking at the code it seems that most of those Q_ASSERT statements can be
replaced with a handler similar to the `if (!ok)` on line 120.

-- 
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 344970] Crash because uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp, line 101

2016-05-27 Thread Daniel Vrátil via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344970

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #3 from Daniel Vrátil  ---
I fail to see how the "Called item() while state holds multiple items!" warning
could possible be produced through RetrieveItemTask. I am not aware of any
explicit patch for this issue, I can of course only recommend to try a more
recent (supported) version.

-- 
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 344970] Crash because uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp, line 101

2016-05-27 Thread RJVB via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344970

--- Comment #2 from RJVB  ---
Is there a patch for this in later versions that I could backport?

-- 
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 344970] Crash because uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp, line 101

2016-05-27 Thread RJVB via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344970

--- Comment #1 from RJVB  ---
Created attachment 99213
  --> https://bugs.kde.org/attachment.cgi?id=99213=edit
New crash information added by DrKonqi

akonadi_imap_resource (4.13) on KDE Platform 4.14.19 using Qt 4.8.7

- What I was doing when the application crashed:
I opened the Spam folder of a GMail account and selected a message. I think the
crash occurred before selecting the message or as an immediate result of that
action.

The last output from akonadi and kmail:

akonadi_imap_resource_14(5671) ResourceState::item: Called item() while state
holds multiple items! 
 list is empty 
 list is empty 
 There is not valid message 
akonadi_imap_resource_14(5671) ResourceState::item: Called item() while state
holds multiple items! 
akonadi_imap_resource_14(5671) ResourceState::item: Called item() while state
holds multiple items! 
akonadi_imap_resource_14(5671) ResourceState::item: Called item() while state
holds multiple items! 
akonadi_imap_resource_14(5671) ResourceState::item: Called item() while state
holds multiple items! 
ASSERT: "uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp,
line 101
KCrash: Application 'akonadi_imap_resource' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
KCrash: Connect sock_file=/home/bertin/.kde/socket-Patux/kdeinit4__0

-- Backtrace (Reduced):
#6  0x7f08f8016c49 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x7f08f801a058 in __GI_abort () at abort.c:89
[...]
#11 0x004610d1 in RetrieveItemTask::onMessagesReceived (this=0x204f0b0,
mailBox=..., uids=..., messages=...) at
../../../resources/imap/retrieveitemtask.cpp:101
[...]
#13 0x7f08fa76da28 in messagesReceived (this=0x1627, _t1=..., _t2=...,
_t3=...) at ./moc_fetchjob.cpp:121
#14 KIMAP::FetchJobPrivate::emitPendings (this=0x2206ee0) at
../../kimap/fetchjob.cpp:60

-- 
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 344970] Crash because uids.size()==1" in file ../../../resources/imap/retrieveitemtask.cpp, line 101

2016-05-27 Thread RJVB via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=344970

RJVB  changed:

   What|Removed |Added

 CC||rjvber...@gmail.com

-- 
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