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

List:       pykde
Subject:    Re: [PyQt] PyKDE segfaults when calling group() on KSharedConfig
From:       Simon Edwards <simon () simonzone ! com>
Date:       2009-02-27 16:08:16
Message-ID: 49A80FF0.2010609 () simonzone ! com
[Download RAW message or body]

Benno Dielmann wrote:
> config = KSharedConfig.openConfig()
> group = config.group('General')
> 
> The second line results in a segfault. Interestingly, it doesn't if the config 
> object is returned by KGlobal.config(). Documentation tells us KGlobal.config() 
> returns a KSharedConfig object as does KSharedConfig.openConfig(). Strange.

I've committed a fix for KSharedConfig.openConfig() in KDE 4.2.1 (out 
next week). It keeps things working but appears to leak memory. I'll 
probably have another look at the problem and make something better for 
4.2.2.

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon@simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic