By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 631

Summary: CalDAV option KOrganizer causes KOrganizer to crash
Product: TDE Reporter: Kris <krisgamrat>
Component: tdepimAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: blocker CC: bda, bugwatch, darrella, krisgamrat, slavek.banko, trinity
Priority: P5    
Version: 3.5.13 [Trinity]   
Hardware: All   
OS: Debian Squeeze   
Compiler Version: TDE Version String:
Application Version: Application Name: KOrganizer/Kontact
Attachments: KCrash backtrash

Description Kris 2011-11-16 15:40:56 CST
In KOrganizer, when I click the plus sign in the Calendar pane and get the list of supported calendar, I'll choose the "CalDAV (e.g. Google Calendar)" option. At that point, KOrganizer will crash. It will also crash Kontact when choosing CalDAV from there.
Comment 1 Kris 2011-11-16 15:44:22 CST
For Google Calendar users, a workaround is to log in from your web browser, go to your Calendar settings, and copy the XML Private Link. In KOrganizer,instead of CalDAV, choose "Calendar in Remote File" and paste in your link there.
Comment 2 Timothy Pearson 2011-11-16 16:08:36 CST
Can you post a backtrace for the crash?
Comment 3 Kris 2011-11-16 16:14:50 CST
What's a backtrace, and where do I find it?
Comment 4 Timothy Pearson 2011-11-16 16:22:41 CST
I should have explained this more clearly, sorry about that.

A backtrace is essentially a snapshot of the code paths that caused the crash to occur.  It is extremely helpful to developers when they attempt to fix the cause of a crash, as it lets them know why the code ended up in a spot where it could crash.

You need to have the debugging packages installed, in your case kdepim-trinity-dbg, for the backtrace to be of any use to use.

To grab it, simply wait for the DrKonqui crash dialog to pop up, then click on the Backtrace tab.  Save the backtrace using the button provided, and attach it to this bug report.
Comment 5 Kris 2011-11-16 16:46:39 CST
Created attachment 130 [details]
KCrash backtrash

Here is the backtrace
Comment 6 Timothy Pearson 2011-11-16 16:54:03 CST
Thanks!  I will take a look at this bug once GIT reopens for business.
Comment 7 Timothy Pearson 2012-02-23 10:39:55 CST
This is very unusual; the caldav resource appears to be crashing on startup while attempting to initialize the logfile.  The actual crash is due to an assert in tdelibs as far as I can tell.

Is there any way that you can install the nightly builds on a testing box and try to reproduce the bug there?  I will see what I can do on this end as well.
Comment 8 Timothy Pearson 2012-02-23 10:48:26 CST
I should mention that I can reproduce the bug here from GIT as well.
Comment 9 Timothy Pearson 2012-02-23 11:51:47 CST
Fixed in GIT hashes 9a38884 and 9e6ec3a.

Thanks for reporting!
Comment 10 Kris 2012-02-23 12:12:22 CST
(In reply to comment #7)
<snip>
> Is there any way that you can install the nightly builds on a testing box and
> try to reproduce the bug there?  I will see what I can do on this end as well.

I cannot install nightlies on any box. I only have one that is working, and it currently (still) lacks a hard disk, so requires a very small flash drive to boot. As such, I will only run stable until I have funds to do some repairs.
Comment 11 Slávek Banko 2012-02-27 08:21:59 CST
(Odpověď na komentář #10)
> (In reply to comment #7)
> <snip>
> > Is there any way that you can install the nightly builds on a testing box and
> > try to reproduce the bug there?  I will see what I can do on this end as well.
> 
> I cannot install nightlies on any box. I only have one that is working, and it
> currently (still) lacks a hard disk, so requires a very small flash drive to
> boot. As such, I will only run stable until I have funds to do some repairs.

I applied the patches and packages included into prepared updates. So you can try out packages with stable 3.5.13.
Comment 12 Kris 2012-02-29 21:57:52 CST
(In reply to comment #11)
> (Odpověď na komentář #10)
> > (In reply to comment #7)
> > <snip>
> > > Is there any way that you can install the nightly builds on a testing box and
> > > try to reproduce the bug there?  I will see what I can do on this end as well.
> > 
> > I cannot install nightlies on any box. I only have one that is working, and it
> > currently (still) lacks a hard disk, so requires a very small flash drive to
> > boot. As such, I will only run stable until I have funds to do some repairs.
> 
> I applied the patches and packages included into prepared updates. So you can
> try out packages with stable 3.5.13.

Thanks. Will the updates be available with a normal dist-upgrade in Debian, or are your updates available in another repo? They haven't shown up yet, though I don't know how long it takes to rebuild and redistribute to the mirrors. (no rush, not really that important for me personally, it would just be nice to update my calendar without opening my browser :-) )
Comment 13 Slávek Banko 2012-02-29 22:27:46 CST
(Odpověď na komentář #12)
> Thanks. Will the updates be available with a normal dist-upgrade in Debian, or
> are your updates available in another repo? They haven't shown up yet, though I
> don't know how long it takes to rebuild and redistribute to the mirrors. (no
> rush, not really that important for me personally, it would just be nice to
> update my calendar without opening my browser :-) )

See http://trinity-users.pearsoncomputing.net/?0::2776

There already contain a few other patches. And some more still to follow - such as an update to the patch for bug #690.
Comment 14 Jason Flatt 2012-11-01 11:42:56 CDT
Was this fix included in the latest stable release, because I'm seeing the errant behavior there?

Here are the versions I have installed:
TDE: 3.5.13.1
Kontact: 1.2.9 (enterprise35 ...)
Korganizer: 3.5.9
Kaddressbook: 3.5.11
Comment 15 Slávek Banko 2012-11-01 12:17:46 CDT
(Odpověď na komentář #14)
> Was this fix included in the latest stable release, because I'm seeing the
> errant behavior there?
> 
> Here are the versions I have installed:
> TDE: 3.5.13.1
> Kontact: 1.2.9 (enterprise35 ...)
> Korganizer: 3.5.9
> Kaddressbook: 3.5.11

Yes, both here mentioned patches are applied in the current stable release (3.5.13.1).
Comment 16 Kris 2012-11-06 08:16:41 CST
(In reply to comment #15)
> (Odpověď na komentář #14)
> > Was this fix included in the latest stable release, because I'm seeing the
> > errant behavior there?
> > 
> > Here are the versions I have installed:
> > TDE: 3.5.13.1
> > Kontact: 1.2.9 (enterprise35 ...)
> > Korganizer: 3.5.9
> > Kaddressbook: 3.5.11
> 
> Yes, both here mentioned patches are applied in the current stable release
> (3.5.13.1).

When I was on the 3.5.13.1 repo (before it was pushed as an official release), Caldav no longer crashed Kontact/Korganizer, though I was unable to get Google's Caldav to work (with neither of the instructions they provided, I think one was iCal and one was something else).