[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    D14585: avoid crash in MonitorPrivate::emitItemsNotification accessing empty list
From:       Martin Koller <noreply () phabricator ! kde ! org>
Date:       2018-08-07 13:45:36
Message-ID: 48a57bd23c14051d4073868b5b0d1e90 () localhost ! localdomain
[Download RAW message or body]

[Attachment #2 (text/plain)]

mkoller added a comment.


  This is what I get (without my patch) when hitting "check for mails" in kmail:
  
  20180807 15:13:21.422 CEST akonadiserver: New notification connection (registered \
as Akonadi::Server::NotificationSubscriber(0x7fc86c256620) )  20180807 15:13:21.425 \
CEST akonadi_airsyncdownload_resource_1: "2018-08-07T15:13:21" sent ...  20180807 \
15:13:21.450 CEST akonadiserver: Subscriber \
Akonadi::Server::NotificationSubscriber(0x7fc86c256620) identified as \
"SpecialCollectionsMonitor - 34097472"  20180807 15:13:21.462 CEST akonadiserver: \
only display  20180807 15:13:23.503 CEST akonadi_maildispatcher_agent: ASSERT: \
"!isEmpty()" in file /usr/include/qt5/QtCore/qvector.h, line 237  KCrash: Application \
'akonadi_maildispatcher_agent' crashing...  KCrash: Attempting to start \
/usr/lib64/libexec/drkonqi from kdeinit  sock_file=/run/user/1000/kdeinit5__0
  20180807 15:13:23.510 CEST akonadi_pop3_resource_3: ASSERT: "!isEmpty()" in file \
/usr/include/qt5/QtCore/qvector.h, line 237  KCrash: Application \
'akonadi_pop3_resource' crashing...  KCrash: Attempting to start \
/usr/lib64/libexec/drkonqi from kdeinit  sock_file=/run/user/1000/kdeinit5__0
  20180807 15:13:23.533 CEST akonadiserver: Subscriber "MessageListTagCacheMonitor - \
159607920" disconnected  20180807 15:13:23.533 CEST akonadiserver: Shutting down \
"kmail2-182605794-SearchSession" ...  20180807 15:13:23.534 CEST akonadiserver: \
Subscriber "FilterManagerTagMonitor - 89852432" disconnected  20180807 15:13:23.534 \
CEST akonadiserver: Subscriber "TagActionManagerMonitor - 41244992" disconnected  \
20180807 15:13:23.534 CEST akonadiserver: Subscriber "MessageViewerMonitor - \
41657344" disconnected  20180807 15:13:23.534 CEST akonadiserver: Subscriber \
"MessageListTagMonitor - 41457536" disconnected  20180807 15:13:23.534 CEST \
akonadiserver: Shutting down "MessageViewer-41656784" ...  20180807 15:13:23.534 CEST \
akonadiserver: Subscriber "SpecialCollectionsMonitor - 40987248" disconnected  \
20180807 15:13:23.535 CEST akonadiserver: Subscriber "KMail Kernel ETM - 38469360" \
disconnected  20180807 15:13:23.536 CEST akonadiserver: Shutting down "KMail Kernel \
ETM" ...  20180807 15:13:23.537 CEST akonadiserver: Shutting down "kmail2-182605794" \
...  20180807 15:13:23.544 CEST akonadiserver: New notification connection \
(registered as Akonadi::Server::NotificationSubscriber(0x7fc86c23bd10) )  20180807 \
15:13:23.545 CEST akonadiserver: Subscriber \
Akonadi::Server::NotificationSubscriber(0x7fc86c23bd10) identified as \
"SpecialCollectionsMonitor - 27662752"

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D14585

To: mkoller, dvratil
Cc: winterz, kde-pim, dvasin, rodsevich, vkrause, mlaurent, knauss, dvratil


[Attachment #3 (text/html)]

<table><tr><td style="">mkoller added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: \
right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: \
#F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: \
inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D14585">View Revision</a></tr></table><br \
/><div><div><p>This is what I get (without my patch) when hitting &quot;check for \
mails&quot; in kmail:</p>

<p>20180807 15:13:21.422 CEST akonadiserver: New notification connection (registered \
as Akonadi::Server::NotificationSubscriber(0x7fc86c256620) )<br /> 20180807 \
15:13:21.425 CEST akonadi_airsyncdownload_resource_1: &quot;2018-08-07T15:13:21&quot; \
sent ...<br /> 20180807 15:13:21.450 CEST akonadiserver: Subscriber \
Akonadi::Server::NotificationSubscriber(0x7fc86c256620) identified as \
&quot;SpecialCollectionsMonitor - 34097472&quot;<br /> 20180807 15:13:21.462 CEST \
akonadiserver: only display<br /> 20180807 15:13:23.503 CEST \
akonadi_maildispatcher_agent: ASSERT: &quot;!isEmpty()&quot; in file \
                /usr/include/qt5/QtCore/qvector.h, line 237<br />
KCrash: Application &#039;akonadi_maildispatcher_agent&#039; crashing...<br />
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit<br />
sock_file=/run/user/1000/kdeinit5<u>0<br />
20180807 15:13:23.510 CEST akonadi_pop3_resource_3: ASSERT: &quot;!isEmpty()&quot; in \
                file /usr/include/qt5/QtCore/qvector.h, line 237<br />
KCrash: Application &#039;akonadi_pop3_resource&#039; crashing...<br />
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit<br />
sock_file=/run/user/1000/kdeinit5</u>0<br />
20180807 15:13:23.533 CEST akonadiserver: Subscriber &quot;MessageListTagCacheMonitor \
- 159607920&quot; disconnected<br /> 20180807 15:13:23.533 CEST akonadiserver: \
Shutting down &quot;kmail2-182605794-SearchSession&quot; ...<br /> 20180807 \
15:13:23.534 CEST akonadiserver: Subscriber &quot;FilterManagerTagMonitor - \
89852432&quot; disconnected<br /> 20180807 15:13:23.534 CEST akonadiserver: \
Subscriber &quot;TagActionManagerMonitor - 41244992&quot; disconnected<br /> 20180807 \
15:13:23.534 CEST akonadiserver: Subscriber &quot;MessageViewerMonitor - \
41657344&quot; disconnected<br /> 20180807 15:13:23.534 CEST akonadiserver: \
Subscriber &quot;MessageListTagMonitor - 41457536&quot; disconnected<br /> 20180807 \
15:13:23.534 CEST akonadiserver: Shutting down &quot;MessageViewer-41656784&quot; \
...<br /> 20180807 15:13:23.534 CEST akonadiserver: Subscriber \
&quot;SpecialCollectionsMonitor - 40987248&quot; disconnected<br /> 20180807 \
15:13:23.535 CEST akonadiserver: Subscriber &quot;KMail Kernel ETM - 38469360&quot; \
disconnected<br /> 20180807 15:13:23.536 CEST akonadiserver: Shutting down \
&quot;KMail Kernel ETM&quot; ...<br /> 20180807 15:13:23.537 CEST akonadiserver: \
Shutting down &quot;kmail2-182605794&quot; ...<br /> 20180807 15:13:23.544 CEST \
akonadiserver: New notification connection (registered as \
Akonadi::Server::NotificationSubscriber(0x7fc86c23bd10) )<br /> 20180807 15:13:23.545 \
CEST akonadiserver: Subscriber \
Akonadi::Server::NotificationSubscriber(0x7fc86c23bd10) identified as \
&quot;SpecialCollectionsMonitor - 27662752&quot;</p></div></div><br \
/><div><strong>REPOSITORY</strong><div><div>R165 Akonadi </div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D14585">https://phabricator.kde.org/D14585</a></div></div><br \
/><div><strong>To: </strong>mkoller, dvratil<br /><strong>Cc: </strong>winterz, \
kde-pim, dvasin, rodsevich, vkrause, mlaurent, knauss, dvratil<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic