Crash on deleting blank task in ktimetracker

Bug #274170 reported by Kieran Hogg
4
Affects Status Importance Assigned to Milestone
KDE PIM
Fix Released
High
kdepim (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: ktimetracker

Bit of a strange one this, so bare with me...

Steps:
1. Open Kontact -> Time Tracker
2. Enable Clock -> Track Active Applications
3. Start the clock
4. Switch to firefox with 2 open tabs
5. Change the active tab
6. Notice a blank entry in the task listing
7. Try to delete this task, this crashes for me

Kieran Hogg (xerosis)
description: updated
Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

This is indeed a strange one. I was able to reproduce this bug using the steps described in the original report. Backtrace attached.

My system is current up to date intrepid
kontact --version
Qt: 4.4.3
KDE: 4.1.2 (KDE 4.1.2)
Kontact: 1.3

Changed in kdepim:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

I have created an upstream bug for this issue. In doing so I did some more investigating. When I click firefox then go back to Ktimetracker as described above I see 2 entries, one blank and one for TimeTracker with a running clock. If I stop the clock on the TimeTracker entry I am then able to delete both entries as expected

Changed in kdepim:
status: Unknown → New
Revision history for this message
Thorsten Staerk (kde-staerk) wrote :

Hi, I am the KDE maintainer for ktimetracker. I cannot reproduce, however, what do you mean by
3. Start the clock
? At this point in time, there is no task at all.

Can you re-try with Qt 4.4.1? I remember there was a bug when deleting tasks fixed by the update from 4.4.0 to 4.4.1.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Marking incomplete pending requested information.

Changed in kdepim:
status: Confirmed → Incomplete
Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

I've already followed this up directly with upstream on bugs.kde.org

Changed in kdepim:
assignee: nobody → rbirnie
Changed in kdepim:
status: Incomplete → Confirmed
Revision history for this message
Thorsten Staerk (kde-staerk) wrote :

I can reproduce on a virtual machine that I installed especially for this bug. kubuntu 8.10 is really nice!
I can confirm the bug is solved upstream, with KDE. Can you please update the package? Which source do you take, KDE trunk or KDE 4.1 branch?

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

Thorsten,

Thanks for spending some time on this. The current state of play is that Kubuntu 8.10 uses the 4.1 branch by default. I discussed this with some of the other devs on IRC and I'm informed that there should be a 4.1.4 release in January. For this particular bug we are prepared to wait until then to catch the fix.

We make the 4.2 snapshots (and eventually final) available in a separate package archive for those who want them. I've just confirmed that the bug is fixed in our 4.2beta2 packages. So that is an option if this bug is particularly critical for anyone. If we can get sufficient testing done we may backport 4.2.0 to Kubuntu 8.10

Kubuntu Jaunty, which will become Kubuntu 9.04 in April, currently has 4.2beta2 and will migrate to 4.2.0 in due course. For our purposes that is sufficient to consider this bug closed.

Thanks again for your support,
Rich

Changed in kdepim:
status: Confirmed → Fix Released
Revision history for this message
Thorsten Staerk (kde-staerk) wrote :

Should you be interested, here is the code change:
http://websvn.kde.org/?view=rev&revision=900343

thanks to kubuntu for making me aware :)

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote : Re: [Bug 274170] Re: Crash on deleting blank task in ktimetracker

On Monday 22 December 2008 16:27:03 Thorsten Staerk wrote:
> Should you be interested, here is the code change:
> http://websvn.kde.org/?view=rev&revision=900343
>
> thanks to kubuntu for making me aware :)

Thorsten,

Many thanks for fixing this. That should come into Kubuntu 8.10 with KDE4.1.4
and if for any reason 4.1.4 gets postponed again we can easily make a patch
from your commit. Great stuff

Changed in kdepim:
status: New → Fix Released
Changed in kdepim:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.