The following code leaves with KErrOverflow in some telephones!
iMsvSession->GetChildIdsL(KMsvSentEntryId, *entryFilter, *iSentEntrySelection);
The code run well on a phone that has only a few short messages, but leaves with KErrOverflow(-9) on a phone that has many short messages.
I can't say that this can prove it leaves when there are too many short messages. But is it possible that CMsvEntrySelection can leave with KErrOverflow? If not, why it leaves with KErrOverflow?