ICore::self()->activeSession() never NULL?

Kevin Funk kfunk at kde.org
Fri Feb 17 07:41:39 UTC 2017


On Thursday, 16 February 2017 23:56:34 CET René J.V. Bertin wrote:
> Hi,
> 
> I just had a crash-on-exit in ~GrepDialog(), evaluating
> 
> KConfigGroup cg = ICore::self()->activeSession()->config()->group(
> "GrepDialog" );
> 
> Impossible to say exactly what happened but the most likely explanation
> would seem that activeSession() returned NULL. Or is this guaranteed never
> to be the case?

Fixed in kdevplatform 5.1 branch:

commit b7c15acecda39681f1c9ae5c7da01989e9471d74
Author: Kevin Funk <kfunk at kde.org>
Date:   Fri Feb 17 08:34:08 2017 +0100

    grepview: Fix crash on exit with grep dialog open
    
    Thanks to René for the report!
    
    BUG: 348784
    FIXED-IN: 5.1.0

Thanks for the report again. Next time with backtrace & link to existing bug 
please ;)

Cheers,
Kevin

> R.


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170217/523e3251/attachment.sig>


More information about the KDevelop-devel mailing list