Bug 190191 - Crash selecting month view
Summary: Crash selecting month view
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.2.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 18:32 UTC by Jose
Modified: 2009-04-21 21:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash backtrace (8.83 KB, application/octet-stream)
2009-04-20 18:33 UTC, Jose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose 2009-04-20 18:32:54 UTC
Version:           4.2.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-server

Kontact crashes always when selecting month view:

- The month has some events in two different resources.
- In some days, there are events overlapping.
- All of them are full day events.
Comment 1 Jose 2009-04-20 18:33:35 UTC
Created attachment 32962 [details]
Crash backtrace
Comment 2 Sergio Martins 2009-04-20 20:53:34 UTC
Which theme are you using (oxygen, bespin, etc) ?

Which calendar resource are you using? (akonadi, *.ics file resource, remote resource, groupware, etc) ?
Comment 3 Kilian Lackhove 2009-04-21 08:50:07 UTC
i am having exactly he same bug on a fresh kubuntu jaunty install, using bespin, an .ics file resource and the birthday resource
Comment 4 Jose 2009-04-21 10:03:56 UTC
I'm using Bespin and it does not happen with oxygen. I suppose you can close this bug as it is related to Bespin theme.
Comment 5 Thomas Lübking 2009-04-21 17:14:30 UTC
Confirmed,
happens on animated tab transitions (so switching them off will help you)

Nevertheles, i'd rate this a bug in korganizer.
(all i do is to call the widget to please render itself)

The problem is that MonthGraphicsView::drawBackground(.) relies on MonthView::reloadIncidences() has been called (and the map is built)
as mScene->mMonthCellMap[int] is checked for being NULL in other places, it should catch a NULL cell here as well?!

I'll work around that by blacklisting the widget, but errr..
i refuse this bug from my side :P

(it may take some time though, as sth. related to korganizer seems to keep the style lib in RAM, so i guess i need to restart kde to actually make it load the new style lib)
Comment 6 Sergio Martins 2009-04-21 21:22:31 UTC
SVN commit 957305 by smartins:

Don't crash with bespin theme.

BUG: 190191


 M  +7 -0      monthscene.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=957305
Comment 7 Sergio Martins 2009-04-21 21:37:05 UTC
SVN commit 957313 by smartins:

Backport r957305 by smartins from trunk to the 4.2 branch:

Don't crash with bespin theme.

Didn't notice Thomas Lubking debugged the issue as well, thanks.

CCBUG: 190191



 M  +7 -0      monthscene.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=957313