[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] kde 3.5.10 svn kpilotDaemon always crashing when
From: "Jason 'vanRijn' Kasper" <vr () movingparts ! net>
Date: 2009-03-29 7:32:40
Message-ID: e2a9b7d0903290032o37203cear68c29172bbd16ae6 () mail ! gmail ! com
[Download RAW message or body]
Hi Karolina. What version of KDE are you hitting this on?
On Sun, Mar 1, 2009 at 9:30 AM, Karolina <karolina.lindqvist@kramnet.se>wrote:
> Since a while, kpilotDaemon always crashes when I tries to sync to my Palm.
> I have tried two different ones, Palm Vx, and Treo 180, with the same
> result.
>
> The crash occures from calendarlocal.cpp:
> (the commented out lines are my modification, see below)
>
> void CalendarLocal::deleteAllJournals()
> {
> Journal::List::ConstIterator it;
> for( it = mJournalList.begin(); it != mJournalList.end(); ++it ) {
> notifyIncidenceDeleted( *it );
> }
>
> // mJournalList.setAutoDelete( true );
> mJournalList.clearAll(); <<<<<<<<<<<<< here
> // mJournalList.setAutoDelete( false );
> }
>
> The actual crash occurs in listbase.h called from above.
>
> void clearAll()
> {
> if ( mAutoDelete ) {
> for ( QValueListIterator<T*> it = QValueList<T*>::begin();
> it != QValueList<T*>::end(); ++it ) {
> delete *it; <<<<<<<<<<<<<< here
> }
> }
> QValueList<T*>::clear();
> }
>
> A stopgap is to comment out the mJournalList.setAutoDelete, as I have done.
> The crash is "illegal instruction", on the "delete". I can't figure out how
> it
> is supposed to work, but is possibly "delete" not a legal way to deallocate
> here?
>
> Karolina
> _______________________________________________
> KDE PIM mailing list kde-pim@kde.org
> https://mail.kde.org/mailman/listinfo/kde-pim
> KDE PIM home page at http://pim.kde.org/
>
--
-[ Jason 'vanRijn' Kasper // http://movingparts.net ]-
-[ KDE PIM Developer // http://www.kde.org ]-
-[ bash fun -> :(){ :|:&};: // Numbers 6:22-26 ]-
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic