[Korganizer-devel] [Bug 171787] korganizer crashed on scrolling the weekview

Kevin Kofler kevin.kofler at chello.at
Thu Oct 2 10:10:43 CEST 2008


http://bugs.kde.org/show_bug.cgi?id=171787


Kevin Kofler kevin kofler chello at changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevin.kofler at chello.at




--- Comment #1 from Kevin Kofler <kevin kofler chello at>  2008-10-02 10:10:42 ---
Same faulty line, different triggering conditions:
https://bugs.kde.org/show_bug.cgi?id=171651

Possibly the same bug (well, same as bug 171651) in kdepim 3.5.10:
https://bugzilla.redhat.com/show_bug.cgi?id=465211

The offending line:
> if ( mIncidence->type() == "Todo"
> && !KOPrefs::instance()->todosUseCategoryColors() ) {

There's a check earlier in that function:
  if ( !mIncidence ) {
    return;
  }
and the KDE 3 version had this comment for it:
  //HACK
  // to reproduce a crash:
  // 1. start Kontact with the Calendar as the initial module
  // 2. immediately select the summary (which must include appt and to-do)
  // causes a crash for me every time in this method unless we make
  // the following check
  if ( !mIncidence )return;
but apparently mIncidence can't just be NULL, it can also be an invalid
pointer. :-(


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list