[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-29 Thread Matt Z . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #14 from Matt Z. <ma...@hotmail.com> ---
Thank you Grégory,

I'm still trying to figure out how to tell when I get this update so I could
report back with results or confirmation of fix...
but because I don't know (as yet) if I have the update, I figured I'd wait a
bit... while the crashes continued.

Meanwhile, as of Feb 28th, since I was still having crashes, I did a bit more
digging... 

I found a file -- .kde/share/config/akonadi_ical_resource_2rc -- which
referenced an old/original calendar which was set up when claendar app was
first loaded and subsequently deleted when I went with a single calendar using
davgroupware (so the item/file referenced in this file did not exist)... as an
experiment, I deleted the file and have had no crashes since then (no system
updates have been installed since file was deleted). Normally I would have had
10-20 crashes by now, so it seems like deleting the file resolved the issue.
System has been rebooted, both calendar & addressbook updates to phone work,
and I do not seem to be experiencing any problems with either app or related
data.

HTH,
Matt


From: Grégory Oestreicher via KDE Bugzilla  <bugzilla_nore...@kde.org>
Sent: Wednesday, February 10, 2016 3:26 PM
To: ma...@hotmail.com
Subject: [Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

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

Grégory Oestreicher <g...@kamago.net> changed:

   What|Removed |Added

   Version Fixed In||15.12.2
 Status|UNCONFIRMED |RESOLVED
  Latest Commit||http://commits.kde.org/kdep
   ||im-runtime/c94e23a452d410d2
   ||c2e4033fb76261d969f19b92
 Resolution|--- |FIXED

--- Comment #11 from Grégory Oestreicher <g...@kamago.net> ---
Git commit c94e23a452d410d2c2e4033fb76261d969f19b92 by Grégory Oestreicher.
Committed on 10/02/2016 at 20:25.
Pushed by goestreicher into branch 'Applications/15.12'.

Check that we've been given a valid collection in retrieveItems()
FIXED-IN: 15.12.2

M  +5-0resources/dav/resource/davgroupwareresource.cpp

http://commits.kde.org/kdepim-runtime/c94e23a452d410d2c2e4033fb76261d969f19b92

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

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-23 Thread Sven Eden via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #13 from Sven Eden  ---
Created attachment 97378
  --> https://bugs.kde.org/attachment.cgi?id=97378=edit
Check mEtagCaches[collection.remoteId()] result before using it

The patch fixed the crash for me. However, I *do* think that it is a different
issue, but at least you now know about it. ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.


[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-23 Thread Sven Eden via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

Sven Eden  changed:

   What|Removed |Added

 CC||sven.e...@gmx.de

--- Comment #12 from Sven Eden  ---
Hmm... I've updated to 15.12.2 but all mails regarding exchange calendar
invitations still crash the resource.

Maybe I hit a different bug?

I got: "akonadi_davgroupware_resource" Signal: Segmentation fault (11)

The most interesting lines from the backtrace are:


#5  
#6  QMap::detach (this=0x10) at
/usr/include/qt5/QtCore/qmap.h:364
#7  QMap::operator[] (akey=..., this=0x10) at
/usr/include/qt5/QtCore/qmap.h:629
#8  EtagCache::setEtag (this=0x0, remoteId=..., etag=...)
at
/home/portage/kde-apps/kdepim-runtime-15.12.2/work/kdepim-runtime-15.12.2/resources/dav/common/etagcache.cpp:38
#9  0x004719ed in DavGroupwareResource::onItemFetched (this=0x1239990,
job=, updateType=DavGroupwareResource::ItemUpdateAdd)
at
/home/portage/kde-apps/kdepim-runtime-15.12.2/work/kdepim-runtime-15.12.2/resources/dav/resource/davgroupwareresource.cpp:958


See frame #8 where 'this' is 0x0?

Frame #8 source is:


(gdb) frame 8
#8  EtagCache::setEtag (this=0x0, remoteId=..., etag=...)
at
/home/portage/kde-apps/kdepim-runtime-15.12.2/work/kdepim-runtime-15.12.2/resources/dav/common/etagcache.cpp:38
38  mCache[ remoteId ] = etag;


Frame #9 source is:


(gdb) frame 9
#9  0x004719ed in DavGroupwareResource::onItemFetched (this=0x1239990,
job=, updateType=DavGroupwareResource::ItemUpdateAdd)
at
/home/portage/kde-apps/kdepim-runtime-15.12.2/work/kdepim-runtime-15.12.2/resources/dav/resource/davgroupwareresource.cpp:958
958 mEtagCaches[collection.remoteId()]->setEtag(item.remoteId(),
davItem.etag());


So I *guess* collection.remoteId() should be checked first...

-- 
You are receiving this mail because:
You are watching all bug changes.


[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-10 Thread Grégory Oestreicher via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

Grégory Oestreicher  changed:

   What|Removed |Added

   Version Fixed In||15.12.2
 Status|UNCONFIRMED |RESOLVED
  Latest Commit||http://commits.kde.org/kdep
   ||im-runtime/c94e23a452d410d2
   ||c2e4033fb76261d969f19b92
 Resolution|--- |FIXED

--- Comment #11 from Grégory Oestreicher  ---
Git commit c94e23a452d410d2c2e4033fb76261d969f19b92 by Grégory Oestreicher.
Committed on 10/02/2016 at 20:25.
Pushed by goestreicher into branch 'Applications/15.12'.

Check that we've been given a valid collection in retrieveItems()
FIXED-IN: 15.12.2

M  +5-0resources/dav/resource/davgroupwareresource.cpp

http://commits.kde.org/kdepim-runtime/c94e23a452d410d2c2e4033fb76261d969f19b92

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-09 Thread Grégory Oestreicher via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #9 from Grégory Oestreicher  ---
I'm a bit stumped here :| There are a lot of "Unhandled response" message and
this looks like there's a race condition somewhere.

Do you have two resources querying the same server or one resource with one
CalDAV URL and one CardDAV URL?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-08 Thread David Yentzen via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #4 from David Yentzen  ---
OK, thanks. I'm going to take a closer look at this. Not new to Linux but am
new to trying to learn and contribute more. Interesting thing about this bug
appeared only after I configured my contacts using LDAP. I just now went back
into Kontacts and had to manually "activate¨ contacts and restart the LDAP. So
far, no crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-08 Thread Matt Z . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #6 from Matt Z. <ma...@hotmail.com> ---
OK, I hope I got the instructions right... I rebooted & had to set
kdebugsettings again... here is the current .xsession-errors (no app crash).
HTH.
Matt


From: Grégory Oestreicher via KDE Bugzilla  <bugzilla_nore...@kde.org>
Sent: Monday, February 8, 2016 2:12 PM
To: ma...@hotmail.com
Subject: [Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

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

Grégory Oestreicher <g...@kamago.net> changed:

   What|Removed |Added

 CC||g...@kamago.net

--- Comment #5 from Grégory Oestreicher <g...@kamago.net> ---
(In reply to Matt Z. from comment #3)

> "Cannot connect to agent instance with identifier
> 'akonadi_davgroupware_resource_8', error message: 'Could not get owner of
> name 'org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_8': no
> such name'"

This is because the resource crashed.

> ./.config/akonadi/agent_config_akonadi_davgroupware_resource_8_changes.dat
> ./.config/akonadi/agent_config_akonadi_davgroupware_resource_8
> ./.config/akonadi_davgroupware_resource_8rc

So this resource has pending changes waiting, and one of them may trigger the
crash. Don't delete these files just now :)

Can you start "kdebugsettings", search for the dav resource (type "dav" in the
search bar), restart it, and then paste here what's show in your
~/.xsession-errors (or ~/.xsessions-errors-:0 maybe)?

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

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-08 Thread Grégory Oestreicher via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #7 from Grégory Oestreicher  ---
(In reply to Matt Z. from comment #6)

> OK, I hope I got the instructions right...

Definitely :) There are logs only available when in debug mode, thanks!

> here is the current .xsession-errors (no app crash).

Once the resource has crashed could you send this file again? This one is not
containing anything that may point me in the right direction unfortunately.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-08 Thread Grégory Oestreicher via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

Grégory Oestreicher  changed:

   What|Removed |Added

 CC||g...@kamago.net

--- Comment #5 from Grégory Oestreicher  ---
(In reply to Matt Z. from comment #3)

> "Cannot connect to agent instance with identifier
> 'akonadi_davgroupware_resource_8', error message: 'Could not get owner of
> name 'org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_8': no
> such name'" 

This is because the resource crashed.

> ./.config/akonadi/agent_config_akonadi_davgroupware_resource_8_changes.dat
> ./.config/akonadi/agent_config_akonadi_davgroupware_resource_8
> ./.config/akonadi_davgroupware_resource_8rc

So this resource has pending changes waiting, and one of them may trigger the
crash. Don't delete these files just now :)

Can you start "kdebugsettings", search for the dav resource (type "dav" in the
search bar), restart it, and then paste here what's show in your
~/.xsession-errors (or ~/.xsessions-errors-:0 maybe)?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-08 Thread Matt Z . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #8 from Matt Z. <ma...@hotmail.com> ---
OK... rebooted again and this time the change in kdebugsettings "stuck", all
other items unchecked (my untrained eye does't see much difference in the
log)... had one crash, file attached. 

a note: neither file was changed during this time... I just let the computer
sit idle.

I noticed that at line 1078, there is an error (under Matt_Addr.vcf)... whereas
at line 1100 there is no error (under Matt_Cal.ics). Kind of similar error
around line 2899... still no changes in either file's data. I only had one
crash (that I'm aware of) and at 3288 there is a crash message. Then at 3451 is
the "Cannot connect to agent..." message.

HTH,
Matt


From: Grégory Oestreicher via KDE Bugzilla  <bugzilla_nore...@kde.org>
Sent: Monday, February 8, 2016 4:26 PM
To: ma...@hotmail.com
Subject: [Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

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

--- Comment #7 from Grégory Oestreicher <g...@kamago.net> ---
(In reply to Matt Z. from comment #6)

> OK, I hope I got the instructions right...

Definitely :) There are logs only available when in debug mode, thanks!

> here is the current .xsession-errors (no app crash).

Once the resource has crashed could you send this file again? This one is not
containing anything that may point me in the right direction unfortunately.

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

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-07 Thread Grégory Oestreicher via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

Grégory Oestreicher  changed:

   What|Removed |Added

 CC||dbyent...@gmail.com

--- Comment #2 from Grégory Oestreicher  ---
*** Bug 358510 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2016-02-07 Thread Matt Z . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

--- Comment #3 from Matt Z.  ---
Am new to linux, kubuntu, and still learning but perhaps the following will
help...
Just guessing, but it seems to me possibly some kind of mismatch between server
resource database and what is actually out there? I did at one point delete
both 'resources' adn started over... idk, hth
_
from "Current Akonadi server error log" -- repeated many times over...
"Cannot connect to agent instance with identifier
'akonadi_davgroupware_resource_8', error message: 'Could not get owner of name
'org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_8': no such
name'" 
"Cannot connect to agent instance with identifier
'akonadi_davgroupware_resource_8', error message: 'Could not get owner of name
'org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_8': no such
name'" 
"Cannot connect to agent instance with identifier
'akonadi_davgroupware_resource_8', error message: 'Could not get owner of name
'org.freedesktop.Akonadi.Resource.akonadi_davgroupware_resource_8': no such
name'" 
_
Listing command: ~$ find -name "*groupware*"
./.kde/share/config/akonadi_davgroupware_resource_3rc
./.kde/share/config/akonadi_davgroupware_resource_6rc
./.kde/share/apps/akonadi-davgroupware
./.kde/share/apps/akonadi-davgroupware/akonadi_davgroupware_resource_6_c2u.dat
./.kde/share/apps/akonadi-davgroupware/akonadi_davgroupware_resource_2_c2u.dat
./Temp/davgroupware_002.jpg
./Temp/davgroupware_001.jpg
./.config/akonadi_davgroupware_resource_3rc
./.config/akonadi/agent_config_akonadi_davgroupware_resource_3_changes.dat
./.config/akonadi/agent_config_akonadi_davgroupware_resource_3
./.config/akonadi/agent_config_akonadi_davgroupware_resource_8_changes.dat
./.config/akonadi/agent_config_akonadi_davgroupware_resource_8
./.config/akonadi_davgroupware_resource_8rc
_
-end-

-- 
You are receiving this mail because:
You are watching all bug changes.


[Akonadi] [Bug 354994] Crash of Akonadi CardCalDav

2015-12-12 Thread Matt Z . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=354994

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

akonadi_davgroupware_resource (4.89.0) using Qt 5.4.2

- What I was doing when the application crashed:
- nothing... happens periodically, seemingly random...
- also happens at times when I am reading emails (hotmail on firefox)
- I cannot see any pattern in this, timing or activity, but it happens several
times during a day and has become quite annoying.
Thank you,
Matt Z.

-- Backtrace (Reduced):
#6  QString::QString (other=..., this=this@entry=0x7ffd61a82370) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:811
#7  Akonadi::Entity::remoteId (this=this@entry=0x7ff580639518
) at ../../../../akonadi/src/core/entity.cpp:82
#8  0x00468b7e in DavGroupwareResource::retrieveItems
(this=this@entry=0x137ca80, collection=...) at
../../../../resources/dav/resource/davgroupwareresource.cpp:257
#9  0x7ff583c9a32d in
Akonadi::ResourceBasePrivate::slotItemRetrievalCollectionFetchDone
(this=, job=0x13b33a0) at
../../../../akonadi/src/agentbase/resourcebase.cpp:954
#10 0x7ff583c9c200 in Akonadi::ResourceBase::qt_static_metacall
(_o=, _c=, _id=, _a=) at ./moc_resourcebase.cpp:294

-- 
You are receiving this mail because:
You are watching all bug changes.