Bug 222683 - korganizer crashes while closing - apply filter + new todos
Summary: korganizer crashes while closing - apply filter + new todos
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.4 rc1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-14 11:50 UTC by Mark
Modified: 2010-02-10 14:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2010-01-14 11:50:09 UTC
Application: korganizer (4.4 rc1)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.32-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
I added some todos, created and applied filter to hide completed todos older than 1 day. when i try to close korganizer, it crashes. 

The crash can be reproduced every time.

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[KCrash Handler]
#6  0xb72dff11 in KCal::CalFilter::~CalFilter() () from /usr/lib/libkcal.so.4
#7  0xb728d6e8 in KCal::Calendar::~Calendar() () from /usr/lib/libkcal.so.4
#8  0xb72fa33f in KCal::CalendarResources::~CalendarResources() () from /usr/lib/libkcal.so.4
#9  0xb6e4b093 in KOrg::StdCalendar::~StdCalendar() () from /usr/lib/libkorganizer_calendar.so.4
#10 0xb6e4ccbf in K3StaticDeleter<KOrg::StdCalendar>::destructObject() () from /usr/lib/libkorganizer_calendar.so.4
#11 0xb54b21c4 in K3StaticDeleterPrivate::deleteStaticDeleters() () from /usr/lib/libkde3support.so.4
#12 0xb6067160 in qt_call_post_routines() () from /usr/lib/libQtCore.so.4
#13 0xb62bd988 in QApplication::~QApplication() () from /usr/lib/libQtGui.so.4
#14 0xb7549b2a in KApplication::~KApplication() () from /usr/lib/libkdeui.so.5
#15 0xb7550df8 in KUniqueApplication::~KUniqueApplication() () from /usr/lib/libkdeui.so.5
#16 0xb7221418 in KontactInterface::PimUniqueApplication::~PimUniqueApplication() () from /usr/lib/libkontactinterface.so.4
#17 0x0804eb1e in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-15 01:22:18 UTC
This looks related to bug 222083, but I can't be sure. Regards
Comment 2 Sergio Martins 2010-02-10 14:43:52 UTC
SVN commit 1088299 by smartins:

When deleting all filters, don't delete the one currently set in KCal::Calendar because, as said in kcal/calendar.h, the calendar 
takes ownership of it and will free it in the destructor.

BUG: 226095
BUG: 222683

MERGE: trunk probably, didn't try to reproduce the crash yet.


 M  +15 -3     calendarview.cpp  
 M  +3 -0      calendarview.h  


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