[kontact] [Bug 388726] New: kontact/kmail crashes due to repeated expansion of a distribution group

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jan 9 12:13:18 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=388726

            Bug ID: 388726
           Summary: kontact/kmail crashes due to repeated expansion of a
                    distribution group
           Product: kontact
           Version: 5.6.3
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: contacts
          Assignee: tokoe at kde.org
          Reporter: stefan.schwarzer at gmx.net
                CC: kdepim-bugs at kde.org
  Target Milestone: ---

Created attachment 109756
  --> https://bugs.kde.org/attachment.cgi?id=109756&action=edit
stack trace of main callected after crash

Application: kontact (5.6.3)

Qt Version: 5.9.2
Frameworks Version: 5.37.0
Operating System: Linux 4.14.0-3-amd64 x86_64
Distribution: Debian GNU/Linux testing (buster)

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

adding the name of a distribution group from my personal address book as
recipient of a message

- Unusual behavior I noticed:

the distribution group was expanded to the real underlying addresses, but
expansion did not stop (the group has 13 members
), it seems it was repeatedly expanded until an internal limit (300 recipients)
was hit. A message window pops up to infor
m about this fact, but expansion seems to still continue somewhere. Starting
with the info popup things become sluggish (p
robably allocation of memory somewhere). If I am fast enough, I can close the
window with the effect that it re-appears. I
f I let things evolve,
kontact crashes after 3-10 seconds, blocking the desktop before it dies. 

- Custom settings of the application:

it is necessary, but not sufficient to give a contact group as recipient.
Another group of 4 recipients (a subset of the l
arger group which causes the issue) expands ok. 

Distribution is debian sid/unstable, I recently upgraded kontact/kdepim to
4:17.08.3 from 4:16.X (testing) which entailed 
an akonadi database migration (My current configuration is not mixed, all from
unstable as of 2018-01-09 even though the d
efault install target setting is testing). I checked the group in
akonadiconsole where it shows unsuspicious references to
 the member entries in my address book. There is no self-reference (the group
has no group type members).

The crash can be reproduced every time.

the attachment is the possibly incomplete stack trace of the main thread which
shows the unterminated recursion in probably
KPIM::AddresseeLineEdit::groupExpandResult(KJob*), 

I'll add a comment with the compressed complete trace (which is slightly larger
than the size limit for attachments)

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


More information about the Kdepim-bugs mailing list