[Kde-pim] kde 3.5.10 svn kpilotDaemon always crashing when trying to sync
Jason 'vanRijn' Kasper
vr at movingparts.net
Sun Mar 29 08:32:40 BST 2009
Hi Karolina. What version of KDE are you hitting this on?
On Sun, Mar 1, 2009 at 9:30 AM, Karolina <karolina.lindqvist at 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 at 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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list