Summary: | korganizer reminder daemon leaks memory | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | Pierre Habouzit <madcoder> |
Component: | general | Assignee: | Reinhold Kainhofer <reinhold> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arne.schmitz |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
valgrind trace
valgrind log showing memory leaks possible leak plug Valgrind logfile |
Description
Pierre Habouzit
2006-05-17 13:21:52 UTC
Created attachment 16138 [details]
valgrind trace
I see this, too. And I have a calendar on webdav, too! This is KDE-3.5.4. Created attachment 17954 [details]
valgrind log showing memory leaks
Created attachment 17957 [details]
possible leak plug
Rolf, Any chance you can apply the patch for kdepim/libkcal/icalformat.cpp that I just attached to this bug report. and test again with valgrind? SVN commit 590304 by winterz: greatly reduce memory leaking, according to valgrind. BUGS: 127506 M +4 -2 icalformat.cpp --- branches/KDE/3.5/kdepim/libkcal/icalformat.cpp #590303:590304 @@ -169,8 +169,10 @@ setException(new ErrorFormat(ErrorFormat::ParseErrorKcal)); } success = false; - } else + } else { mLoadedProductId = mImpl->loadedProductId(); + } + icalcomponent_free( comp ); } } else if (icalcomponent_isa(calendar) != ICAL_VCALENDAR_COMPONENT) { kdDebug(5800) << "ICalFormat::load(): No VCALENDAR component found" << endl; @@ -489,7 +491,7 @@ } kdDebug(5800) << "ICalFormat::parseScheduleMessage() restriction..." << endl; - + if (!icalrestriction_check(message)) { kdWarning(5800) << k_funcinfo << endl << "libkcal reported a problem while parsing:" << endl; kdWarning(5800) << Scheduler::translatedMethodName(method) + ": " + mImpl->extractErrorProperty(c)<< endl; I still experience this problem, although maybe to a lesser extent? Not sure about that. I am using KDE 3.5.7. I have had korgac running for about 24h and it grew from 19 MB RSS to 88 MB RSS. This seems pretty bad. Maybe some more valgrinding is in order? :-) Running KDE 3.5.8 on Debian testing, and korgac still leaks memory. My uptime is now 5h, and korgac VmRSS size has doubled from 31 MByte to 63 MByte, when I checked. Created attachment 22577 [details]
Valgrind logfile
Ok, I have run valgrind for maybe an hour or so on korgac. You find the log
attached. It shows that korgac still loses significant amounts of memory. In
this case, 10MB.
|