[Releasing] Alpha package ready for testing

marius.storm-olsen at nokia.com marius.storm-olsen at nokia.com
Fri Mar 30 23:24:26 CEST 2012


The problem code is in this snippet from void QQuickCustomParticle::setSource(const QVariant &var, int index):

    QObject *obj = qVariantValue<QObject *>(var);
    source.item = qobject_cast<QQuickItem *>(obj);
    if (!source.item || !source.item->isTextureProvider()) {
        qWarning("ShaderEffect: source uniform [%s] is not assigned a valid texture provider: %s [%s]",
                 source.name.constData(), qPrintable(obj->objectName()), obj->metaObject()->className());
        return;
    }

where obj happens to be 0. This means source.item == 0, and inside the if-clause we are dereferencing obj, which is still 0.
Commenting out the qWarning, rebuild, and the flickr demo exists without any issues, and reports
    Number of leaked textures: 2
    Number of leaked materials: 1
    Number of leaked nodes: 0
    Number of leaked pixmaps: 1
    Number of leaked items: 0

-- 
.marius


> -----Original Message-----
> From: releasing-bounces+marius.storm-olsen=nokia.com at qt-project.org
> [mailto:releasing-bounces+marius.storm-olsen=nokia.com at qt-project.org]
> On Behalf Of Storm-Olsen Marius (Nokia-MP/Austin)
> Sent: Friday, March 30, 2012 4:05 PM
> To: shane.kearns at accenture.com
> Cc: releasing at qt-project.org
> Subject: Re: [Releasing] Alpha package ready for testing
> 
> Yup, I can verify the same crash on exit. Other than that the demo works
> quite well.
> 
> --
> .marius
> 
> On 30/03/2012 13:03, ext shane.kearns at accenture.com wrote:
> > Win64 msvc2010 build succeeded.
> > QtDeclarative flickr demo has a reproducible crash on exit (but it did
> successfully complete the network requests which I was using it to smoke
> test)
> >   - https://bugreports.qt-project.org/browse/QTBUG-25056
> >> -----Original Message-----
> >> From: releasing-bounces+shane.kearns=accenture.com at qt-project.org
> >> [mailto:releasing-bounces+shane.kearns=accenture.com at qt-
> project.org] On
> >> Behalf Of marius.storm-olsen at nokia.com
> >> Sent: 30 March 2012 13:25
> >> To: releasing at qt-project.org
> >> Subject: [Releasing] Alpha package ready for testing
> >>
> >> Hi,
> >>
> >> Another package is ready for testing at
> >>      http://releases.qt-project.org/alpha/20120330/qt-everywhere-
> >> opensource-src-5.0.0-alpha.tar.gz
> >> or
> >>      http://releases.qt-project.org/alpha/20120330/qt-everywhere-
> >> opensource-src-5.0.0-alpha.zip
> >>
> >> This package contains an additional fix for building WebKit on OSX, so
> >> lets hope this is final.
> >>
> >> Please test.
> >>
> >> --
> >> .marius
> >>
> >> _______________________________________________
> >> Releasing mailing list
> >> Releasing at qt-project.org
> >> http://lists.qt-project.org/mailman/listinfo/releasing
> >
> >
> > ________________________________
> > Subject to local law, communications with Accenture and its affiliates
> including telephone calls and emails (including content), may be monitored
> by our systems for the purposes of security and the assessment of internal
> compliance with Accenture policy.
> >
> __________________________________________________________
> ____________________________
> >
> > www.accenture.com
> _______________________________________________
> Releasing mailing list
> Releasing at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/releasing



More information about the Releasing mailing list