[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: kicker crash not really fixed ?
by Aaron J. Seigo on Tuesday 31/Jan/2006, @22:10
there are several completely different crashes there. if you are suffering from the xim related crash, there is nothing i can do about it. get rid of libqxim from your system or move to a version of it that doesn't crash.

if it's a different crash, i'd love to hear about it.
  Related Links
 ·   Articles on KDE Official News
 ·   Also by Aaron J. Seigo
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Smart Pointers ?
by KubuntuUser(exMandrake) on Wednesday 01/Feb/2006, @04:44
Thanks a lot Aaron

I'll check and report in bugzilla if I find anything interesting

BTW, does Qt provide smart pointers ? It would be great to have
a solid smart pointer implementation in the kdelibs, right ? I do
lots of c++ programming for work, and if you ask me what's the
single most important missing feature in the STL, I would say
polymorphic smart pointers. Maybe a wrap around the boost reference
counting smart pointers would do. Maybe boost's work should become
part of the STL. But in any case, it would be greate to be able
to forget about deleteing NEW allocated memory, we'd gain a lot in terms
of robutness !

Cheers!
[ Reply To This | View ]
  • Re: Smart Pointers ?
    by cl on Wednesday 01/Feb/2006, @06:23
    In kdelibs there is KSharedPtr:
    http://websvn.kde.org/trunk/KDE/kdelibs/kdecore/ksharedptr.h?rev=501697&view=auto
    [ Reply To This | View ]
    • Re: Smart Pointers ?
      by KubuntuUser(exMandrake) on Wednesday 01/Feb/2006, @06:43
      That's exactly it ! Thanks a lot for the pointer ;-)

      Is it being used extensible ? It would make sense to _only_ use KSharedPtr's as a policy. The only drawback is you need to inherit from QSharedData in most of your classes, but the advantages are gigantic !
      [ Reply To This | View ]
      • Re: Smart Pointers ?
        by Aaron J. Seigo on Wednesday 01/Feb/2006, @10:21
        i'm using KSharedPtr quite a lot in kicker, though that's not the issue with the crashes people were seeing in 3.5.0 at all.
        [ Reply To This | View ]
        • Re: Smart Pointers ?
          by KubuntuUser(exMandrake) on Wednesday 01/Feb/2006, @13:33
          Oh, I see, I took a quick look at the patch you posted for the bug, and I got the impression that using a smart ptrs would have avoided the crash, but it was just a quick impression and obviously wrong. Cheers , and thanks for the great work !
          :-)
          [ Reply To This | View ]
Re: kicker crash not really fixed ?
by KubuntuUserExMandrake on Thursday 02/Feb/2006, @19:09
Just for the record, yeah, I am having the XIM crash :-(
Thank you Aaron !
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "KDE is much too well-structured for this world..." -- Rob Buis
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]