KOrganizer crashes (ASSERT: "dt.isValid()") when exporting a vCalendar (vcs) file

Bug #254137 reported by Brian Rogers
4
Affects Status Importance Assigned to Milestone
KDE PIM
Fix Released
High
kdepim (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kdepim

If I create a To Do item in KOrganizer that has a due date set, but no time, then export it to vcs format (File -> Export -> vCalendar), KOrganizer crashes on Q_ASSERT( dt.isValid() ) in VCalFormat::kDateTimeToISO. The "type" of the KDateTime variable, dt, is SpecType::Invalid.

To-Do items with no due date, or with a complete due date including the time of day, are exported without a problem.

Revision history for this message
Brian Rogers (brian-rogers) wrote :
Revision history for this message
Harald Sitter (apachelogger) wrote :

Still valid for 4.1.1?

If so please get an up-to-date backtrace and post a report at http://bugs.kde.org so we can tarck this issue in KDE and Kubuntu.
Thank you :)

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

I can reproduce this on an up to date Intrepid system as described in the original report.

version info
sudo apt-cache policy kdepim
kdepim:
  Installed: 4:4.1.1a-0ubuntu3
  Candidate: 4:4.1.1a-0ubuntu3
  Version table:
 *** 4:4.1.1a-0ubuntu3 0
        500 http://archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

The terminal output from the crash is:
kontact
kontact(15641)/kmail KMailPart::KMailPart: InstanceName: "kontact"
kontact(15641)/kmail KMailPart::KMailPart: InstanceName: "kontact"
kontact(15641)/kmail KMail::lockOrDie: oldPid= 15482
kontact(15641)/kmail KMKernel::KMKernel:
kontact(15641)/kmail KMKernel::init: foldersPath (from config): "/home/ubuntu/.kde/share/apps/kmail/mail"
kontact(15641)/kmail KMKernel::identityManager:
kontact(15641)/kmail KMFilterMgr::KMFilterMgr: pPopFilter set
kontact(15641)/kmail KMailPart::guiActivateEvent:
kontact(15641)/kmail KMailPart::guiActivateEvent:
kontact(15641)/kmail KMailPart::guiActivateEvent:
kontact(15641)/kmail KMailPart::guiActivateEvent:
ubuntu@ubuntu:~$ kontact(15641)/kmail KMail::Vacation::Vacation: Vacation: found url " "" "
kontact(15641) KFileDialog::getSaveFileName: KFileDialog::getSaveFileName called with non-local start dir KUrl("vcalout.vcs")
kontact(15641) KFileItem::isDir: can't say -> false
ASSERT: "dt.isValid()" in file /build/buildd/kdepimlibs-4.1.1/kcal/vcalformat.cpp, line 1380
*** KMail got signal 6 (Crashing)
KCrash: Application 'kontact' crashing...

Changed in kdepim:
importance: Undecided → Low
status: Incomplete → Confirmed
Changed in kdepim:
importance: Undecided → Unknown
status: New → Unknown
Changed in kdepim:
status: Unknown → Confirmed
Changed in kdepim:
status: Confirmed → Triaged
Changed in kdepim:
status: Confirmed → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed for KDE 4.2 beta2.

Changed in kdepim:
milestone: none → jaunty-alpha-2
status: Triaged → Fix Committed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The fix has since been released.

Changed in kdepim:
status: Fix Committed → 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

Bug attachments

Remote bug watches

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