[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] KOrg crash when adding/modifying Events
From:       Bram Schoenmakers <bramschoenmakers () kde ! nl>
Date:       2005-03-18 12:19:43
Message-ID: 200503181319.45684.bramschoenmakers () kde ! nl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Allen Winter, you wrote something like this:
> Howdy,
>
> This may be related to Duncan's message the other day about KOrg crashing
> when adding new To-dos.
>
> Today, after building kdepim HEAD against the new KDE 3.4 I found that KOrg
> was crashing every time I added/modified an Event using the event editor. 
> Then I realized the crash was really occurring after the event editor
> popped-down.  Events were being added/modified ok.

Things crashed too all of a sudden, but I didn't relate it to my own changes. 
And since I cannot create backtraces anymore (aarrgh) I couldn't find if the 
crashes were caused by me or something else (resources).

>
> Time for valgrind.. which showed a problem in the KDatePicker destructor.
> So I reverted back one version in libkdepim/kdatepicker.[cpp,h] , rebuilt,
> and now things work again.

I assume kdateedit.[cpp,h]

> Bram: since you made the most recent changes to KDatePicker this one
> probably belongs to you, as best I can tell.  Let me know if you need more
> info or help.

OK, the class KDateEdit is fine. The fun is in the d'tor of KDatePickerPopup. 
I removed the d'tor and things worked again. Don't worry, the KDatePicker 
used in the menu will still be deleted, so no introduction of memleaks. I 
will commit my fix in a minute.

However, I still don't exactly know what caused the crash. Maybe I should ask 
the Gentoo folks about my backtrace problem.

Thanks for pointing out,

-- 
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

[Attachment #5 (application/pgp-signature)]

_______________________________________________
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